Class ConsistentPolygonRingChecker
java.lang.Object
org.locationtech.jts.operation.overlay.ConsistentPolygonRingChecker
Tests whether the polygon rings in a
GeometryGraph
are consistent.
Used for checking if Topology errors are present after noding.- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(int opCode) Tests whether the result geometry is consistentvoidcheckAll()private ListgetPotentialResultAreaEdges(DirectedEdgeStar deStar, int opCode) private booleanisPotentialResultAreaEdge(DirectedEdge de, int opCode) private voidtestLinkResultDirectedEdges(DirectedEdgeStar deStar, int opCode)
-
Field Details
-
graph
-
SCANNING_FOR_INCOMING
private final int SCANNING_FOR_INCOMING- See Also:
-
LINKING_TO_OUTGOING
private final int LINKING_TO_OUTGOING- See Also:
-
-
Constructor Details
-
ConsistentPolygonRingChecker
-
-
Method Details
-
checkAll
public void checkAll() -
check
public void check(int opCode) Tests whether the result geometry is consistent- Throws:
TopologyException- if inconsistent topology is found
-
getPotentialResultAreaEdges
-
isPotentialResultAreaEdge
-
testLinkResultDirectedEdges
-