Class ConsistentPolygonRingChecker

java.lang.Object
org.locationtech.jts.operation.overlay.ConsistentPolygonRingChecker

public class ConsistentPolygonRingChecker extends Object
Tests whether the polygon rings in a GeometryGraph are consistent. Used for checking if Topology errors are present after noding.
Version:
1.7
  • Field Details

  • Constructor Details

    • ConsistentPolygonRingChecker

      public ConsistentPolygonRingChecker(PlanarGraph graph)
  • 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

      private List getPotentialResultAreaEdges(DirectedEdgeStar deStar, int opCode)
    • isPotentialResultAreaEdge

      private boolean isPotentialResultAreaEdge(DirectedEdge de, int opCode)
    • testLinkResultDirectedEdges

      private void testLinkResultDirectedEdges(DirectedEdgeStar deStar, int opCode)