unscaleBy method
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);
}
Create new CustomPoint whose x and y values are divided by other
point
values
CustomPoint<double> unscaleBy(CustomPoint<T> point) {
return CustomPoint<double>(x / point.x, y / point.y);
}