com.vividsolutions.jts.geomgraph
public class EdgeNodingValidator extends java.lang.Object
Edges is correctly noded.
Throws an appropriate exception if an noding error is found.| Constructor and Description |
|---|
EdgeNodingValidator(java.util.Collection edges)
Creates a new validator for the given collection of
Edges. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Checks whether the supplied edges
are correctly noded.
|
static void |
checkValid(java.util.Collection edges)
Checks whether the supplied
Edges
are correctly noded. |
static java.util.Collection |
toSegmentStrings(java.util.Collection edges) |
public EdgeNodingValidator(java.util.Collection edges)
Edges.edges - a collection of Edges.public static void checkValid(java.util.Collection edges)
Edges
are correctly noded.
Throws a TopologyException if they are not.edges - a collection of Edges.TopologyException - if the SegmentStrings are not correctly nodedpublic static java.util.Collection toSegmentStrings(java.util.Collection edges)
public void checkValid()
TopologyException - if the SegmentStrings are not correctly noded