angle method

double angle(
  1. Vector2D o
)

Implementation

double angle(Vector2D o) => math.atan2(x*o.y - y*o.x, x*o.x + y*o.y);