expandEnvelope method
Expands the given {@link Envelope} to include the coordinates in the sequence. Allows implementing classes to optimize access to coordinate values.
@param env the envelope to expand @return a ref to the expanded envelope
Implementation
Envelope expandEnvelope(Envelope env) {
for (int i = 0; i < coordinates!.length; i++) {
env.expandToIncludeCoordinate(coordinates![i]);
}
return env;
}