containsCoordinate method

bool containsCoordinate(
  1. Coordinate p
)

Tests if the given point lies in or on the envelope.

Note that this is not the same definition as the SFS contains, which would exclude the envelope boundary.

@param p the point which this Envelope is being checked for containing @return true if the point lies in the interior or on the boundary of this Envelope.

@see #covers(Coordinate)

Implementation

bool containsCoordinate(Coordinate p) {
  return coversCoordinate(p);
}