isValid method

bool isValid()

Tests whether this Geometry is topologically valid, according to the OGC SFS specification.

For validity rules see the Javadoc for the specific Geometry subclass.

@return true if this Geometry is valid

@see IsValidOp

Implementation

bool isValid() {
  return IsValidOp.isValidStatic(this);
}