operator % method

ExpressivePoint operator %(
  1. double operand
)

Modulo (remainder) operator.

Returns a Point whose coordinates are the remainder of dividing the coordinates of the left-hand-side operand (a ExpressivePoint) by the scalar right-hand-side operand (a double).

Implementation

ExpressivePoint operator %(double operand) =>
    ExpressivePoint(x % operand, y % operand);