public class EdgeNodingValidator
extends java.lang.Object
Edge
s is correctly noded.
Throws an appropriate exception if an noding error is found.
Uses FastNodingValidator
to perform the validation.FastNodingValidator
Constructor | Description |
---|---|
EdgeNodingValidator(java.util.Collection edges) |
Creates a new validator for the given collection of
Edge s. |
Modifier and Type | Method | Description |
---|---|---|
void |
checkValid() |
Checks whether the supplied edges
are correctly noded.
|
static void |
checkValid(java.util.Collection edges) |
Checks whether the supplied
Edge s
are correctly noded. |
static java.util.Collection |
toSegmentStrings(java.util.Collection edges) |
public EdgeNodingValidator(java.util.Collection edges)
Edge
s.edges
- a collection of Edges.public static void checkValid(java.util.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 java.util.Collection toSegmentStrings(java.util.Collection edges)
public void checkValid()
TopologyException
- if the SegmentStrings are not correctly nodedCopyright © 2018. All rights reserved.