operator - method
Create new CustomPoint where x and y values are subtracted from
other
point x and y values
Implementation
@override
CustomPoint<T> operator -(math.Point<T> other) {
return CustomPoint<T>(x - other.x, y - other.y);
}
Create new CustomPoint where x and y values are subtracted from
other
point x and y values
@override
CustomPoint<T> operator -(math.Point<T> other) {
return CustomPoint<T>(x - other.x, y - other.y);
}