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