operator / method

Point<double> operator /(
  1. num factor
)

Create a new Point where the x and y values are divided by factor.

Implementation

Point<double> operator /(num factor) {
  return Point<double>(x / factor, y / factor);
}