operator % method

double operator %(
  1. Point other
)

Cross product of this point and other (2D pseudo cross product).

Implementation

double operator %(Point other) => x * other.y - y * other.x;