unscaleBy method

CustomPoint<double> unscaleBy(
  1. CustomPoint<T> point
)

Create new CustomPoint whose x and y values are divided by other point values

Implementation

CustomPoint<double> unscaleBy(CustomPoint<T> point) {
  return CustomPoint<double>(x / point.x, y / point.y);
}