public class EdgeNodingValidator extends Object
Edges is correctly noded.
Throws an appropriate exception if an noding error is found.
Uses FastNodingValidator to perform the validation.FastNodingValidator| Constructor and Description |
|---|
EdgeNodingValidator(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(Collection edges)
Checks whether the supplied
Edges
are correctly noded. |
static Collection |
toSegmentStrings(Collection edges) |
public EdgeNodingValidator(Collection edges)
Edges.edges - a collection of Edges.public static void checkValid(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 Collection toSegmentStrings(Collection edges)
public void checkValid()
TopologyException - if the SegmentStrings are not correctly nodedCopyright © 2024. All rights reserved.