isWithinXY method

bool isWithinXY (
  1. num x,
  2. num y,
  3. num epsilon
)

Implementation

bool isWithinXY(num x, num y, num epsilon) =>
    distanceXYSqr(x, y) < epsilon * epsilon;