Validates that a collection of SegmentStrings is correctly noded. Indexing is used to improve performance. In the most common use case, validation stops after a single non-noded intersection is detected. Does NOT check a-b-a collapse situations. Also does not check for endpoint-interior vertex intersections. This should not be a problem, since the noders should be able to compute intersections between vertices correctly.
The client may either test the #isValid condition, or request that a suitable TopologyException be thrown. Creates a new noding validator for a given set of linework.
||a collection of SegmentString s.|
Creates an intersection finder which finds all proper intersections
||the LineIntersector to use.|
Allows comparing Coordinate arrays in an orientation-independent way. Creates a new OrientedCoordinateArray for the given Coordinate array.
||the coordinates to orient.|
Port source: /jts/jts/java/src/com/vividsolutions/jts/noding/ScaledNoder.java Revision: 478
Implements a robust method of comparing the relative position of two points along the same segment. The coordinates are assumed to lie "near" the segment. This means that this algorithm will only return correct results if the input coordinates have the same precision and correspond to rounded values of exact coordinates lying on the segment.