isValid method

bool isValid()

Computes the validity of the geometry, and returns true if it is valid.

@return true if the geometry is valid

Implementation

bool isValid() {
  checkValid(parentGeometry);
  return validErr == null;
}