Namespace: noding

jsts.noding

Source:

Classes

BasicSegmentString
InteriorIntersectionFinder
IntersectionAdder
MCIndexNoder
NodedSegmentString
Octant
SegmentNode
SegmentNodeList

Namespaces

snapround

Methods

(static) FastNodingValidator(segStrings)

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.

Parameters:
Name Type Description
segStrings a collection of SegmentString s.
Source:

(static) IntersectionFinderAdder(li)

Creates an intersection finder which finds all proper intersections
Parameters:
Name Type Description
li the LineIntersector to use.
Source:

(static) OrientedCoordinateArray(pts)

Allows comparing Coordinate arrays in an orientation-independent way. Creates a new OrientedCoordinateArray for the given Coordinate array.
Parameters:
Name Type Description
pts the coordinates to orient.
Source:

(static) ScaledNoder()

Port source: /jts/jts/java/src/com/vividsolutions/jts/noding/ScaledNoder.java Revision: 478
Source:

(static) SegmentPointComparator()

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.
Source: