public class ConsistentPolygonRingChecker
extends java.lang.Object
GeometryGraph
are consistent.
Used for checking if Topology errors are present after noding.Modifier and Type | Field and Description |
---|---|
private PlanarGraph |
graph |
private int |
LINKING_TO_OUTGOING |
private int |
SCANNING_FOR_INCOMING |
Constructor and Description |
---|
ConsistentPolygonRingChecker(PlanarGraph graph) |
Modifier and Type | Method and Description |
---|---|
void |
check(int opCode)
Tests whether the result geometry is consistent
|
void |
checkAll() |
private java.util.List |
getPotentialResultAreaEdges(DirectedEdgeStar deStar,
int opCode) |
private boolean |
isPotentialResultAreaEdge(DirectedEdge de,
int opCode) |
private void |
testLinkResultDirectedEdges(DirectedEdgeStar deStar,
int opCode) |
private PlanarGraph graph
private final int SCANNING_FOR_INCOMING
private final int LINKING_TO_OUTGOING
public ConsistentPolygonRingChecker(PlanarGraph graph)
public void checkAll()
public void check(int opCode)
TopologyException
- if inconsistent topology is foundprivate java.util.List getPotentialResultAreaEdges(DirectedEdgeStar deStar, int opCode)
private boolean isPotentialResultAreaEdge(DirectedEdge de, int opCode)
private void testLinkResultDirectedEdges(DirectedEdgeStar deStar, int opCode)