public class EdgeNodingValidator extends Object
Edge
s 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
Edge s. |
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
Edge s
are correctly noded. |
static Collection |
toSegmentStrings(Collection edges) |
public EdgeNodingValidator(Collection edges)
Edge
s.edges
- a collection of Edges.public static void checkValid(Collection edges)
Edge
s
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 © 2022. All rights reserved.