crossProduct method

double crossProduct(
  1. Vector2D o
)

Cross product of this vector and o.

Implementation

double crossProduct(Vector2D o) => x*o.y - y*o.x;