JTS Core 1.17.1
Packages
Classes
Search
About
Top
EdgeNodingValidator(Collection)
checkValid(Collection): void
toSegmentStrings(Collection): Collection
checkValid(): void
Bottom
Source
Classic
org.locationtech.jts.geomgraph
Class EdgeNodingValidator
Hierarchy:
Object
, EdgeNodingValidator
public class EdgeNodingValidator
Validates that a collection of
Edge
s is correctly noded. Throws an appropriate exception if an noding error is found. Uses
FastNodingValidator
to perform the validation.
See also:
FastNodingValidator
Other
version: 1.7
public
EdgeNodingValidator(
Collection
edges)
Creates a new validator for the given collection of
Edge
s.
Parameters:
edges - edges a collection of Edges.
public
static
void checkValid(
Collection
edges)
Checks whether the supplied
Edge
s are correctly noded. Throws a
TopologyException
if they are not.
Parameters:
edges - edges a collection of Edges.
Throws:
TopologyException - TopologyException if the SegmentStrings are not correctly noded
public
static
Collection
toSegmentStrings(
Collection
edges)
public
void checkValid()
Checks whether the supplied edges are correctly noded. Throws an exception if they are not.
Throws:
TopologyException - TopologyException if the SegmentStrings are not correctly noded