operator unary- method

Point operator unary-()

Negates the point.

Implementation

Point operator -() {
  return Point(-x, -y);
}