Package org.locationtech.jts.geomgraph
Class EdgeNodingValidator
java.lang.Object
org.locationtech.jts.geomgraph.EdgeNodingValidator
Validates that a collection of
Edge
s is correctly noded.
Throws an appropriate exception if an noding error is found.- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEdgeNodingValidator
(Collection edges) Creates a new validator for the given collection ofEdge
s. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks whether the supplied edges are correctly noded.static void
checkValid
(Collection edges) Checks whether the suppliedEdge
s are correctly noded.static Collection
toSegmentStrings
(Collection edges)
-
Field Details
-
nv
-
-
Constructor Details
-
EdgeNodingValidator
Creates a new validator for the given collection ofEdge
s.- Parameters:
edges
- a collection of Edges.
-
-
Method Details
-
checkValid
Checks whether the suppliedEdge
s are correctly noded. Throws aTopologyException
if they are not.- Parameters:
edges
- a collection of Edges.- Throws:
TopologyException
- if the SegmentStrings are not correctly noded
-
toSegmentStrings
-
checkValid
public void checkValid()Checks whether the supplied edges are correctly noded. Throws an exception if they are not.- Throws:
TopologyException
- if the SegmentStrings are not correctly noded
-