intersectsPoint2D method

bool intersectsPoint2D(
  1. Position point
)

Returns true if this bounding box intesects with point in 2D.

Only x ja y (or lon and lat) are compared on intersection calculation.

Implementation

bool intersectsPoint2D(Position point) =>
    Box.testIntersectsPoint2D(this, point);