getNonSimpleLocation method

Coordinate? getNonSimpleLocation()

Gets a coordinate for the location where the geometry fails to be simple. (i.e. where it has a non-boundary self-intersection). {@link #isSimple} must be called before this method is called.

@return a coordinate for the location of the non-boundary self-intersection or null if the geometry is simple

Implementation

Coordinate? getNonSimpleLocation() {
  return nonSimpleLocation;
}