Validates that a collection of
SegmentStrings is correctly noded. Indexing is used to improve performance. By default validation stops after a single non-noded intersection is detected. Alternatively, it can be requested to detect all intersections by using
setFindAllIntersections(boolean).
The validator does not check for topology collapse situations (e.g. where two segment strings are fully co-incident).
The validator checks for the following situations which indicated incorrect noding:
Proper intersections between segments (i.e. the intersection is interior to both segments)
Intersections at an interior vertex (i.e. with an endpoint or another interior vertex)
The client may either test the isValid() condition, or request that a suitable TopologyException be thrown.