envelope static method
Computes the envelope of the coordinates.
@param coordinates the coordinates to scan @return the envelope of the coordinates
Implementation
static Envelope envelope(List<Coordinate> coordinates) {
Envelope env = Envelope.empty();
for (int i = 0; i < coordinates.length; i++) {
env.expandToIncludeCoordinate(coordinates[i]);
}
return env;
}