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 TypeMethodDescriptionvoid
check
(int opCode) Tests whether the result geometry is consistentvoid
checkAll()
private List
getPotentialResultAreaEdges
(DirectedEdgeStar deStar, int opCode) private boolean
isPotentialResultAreaEdge
(DirectedEdge de, int opCode) private void
testLinkResultDirectedEdges
(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
-