isClosed method
Tests whether this ring is closed. Empty rings are closed by definition.
@return true if this ring is closed
Implementation
bool isClosed() {
if (isEmpty()) {
// empty LinearRings are closed by definition
return true;
}
return super.isClosed();
}