isWithin method

bool isWithin(
  1. Vector other,
  2. num epsilon
)

Implementation

bool isWithin(Vector other, num epsilon) =>
    distanceSqr(other) < epsilon * epsilon;