intersectsCoordinate method

bool intersectsCoordinate(
  1. Coordinate p
)

Tests if the point p intersects (lies inside) the region of this Envelope.

@param p the Coordinate to be tested @return true if the point intersects this Envelope

Implementation

bool intersectsCoordinate(Coordinate p) {
  return intersects(p.x, p.y);
}