expandToIncludeCoordinate method

void expandToIncludeCoordinate(
  1. Coordinate p
)

Enlarges this Envelope so that it contains the given {@link Coordinate}. Has no effect if the point is already on or within the envelope.

@param p the Coordinate to expand to include

Implementation

void expandToIncludeCoordinate(Coordinate p) {
  expandToInclude(p.x, p.y);
}