Class ConsistentPolygonRingChecker



  • public class ConsistentPolygonRingChecker
    extends java.lang.Object
    Tests whether the polygon rings in a GeometryGraph are consistent. Used for checking if Topology errors are present after noding.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void check​(int opCode)
      Tests whether the result geometry is consistent
      void checkAll​()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsistentPolygonRingChecker

        public ConsistentPolygonRingChecker​(PlanarGraph graph)
    • Method Detail

      • checkAll

        public void checkAll​()
      • check

        public void check​(int opCode)
        Tests whether the result geometry is consistent
        Throws:
        TopologyException - if inconsistent topology is found