centre method
Computes the coordinate of the centre of this envelope (as long as it is non-null
@return the centre coordinate of this envelope
null
if the envelope is null
Implementation
Coordinate? centre() {
if (isNull()) return null;
return Coordinate(
(getMinX() + getMaxX()) / 2.0, (getMinY() + getMaxY()) / 2.0);
}