Class PolyPathBase

java.lang.Object
com.github.micycle1.clipper2.engine.PolyPathBase
All Implemented Interfaces:
Iterable<PolyPathBase>
Direct Known Subclasses:
PolyPath64, PolyPathD

public abstract class PolyPathBase extends Object implements Iterable<PolyPathBase>
  • Method Details

    • iterator

      public final NodeIterator iterator()
      Specified by:
      iterator in interface Iterable<PolyPathBase>
    • getIsHole

      public final boolean getIsHole()
      Indicates whether the Polygon property represents a hole or the outer bounds of a polygon.
    • getCount

      public final int getCount()
      Indicates the number of contained children.
    • addChild

      public abstract PolyPathBase addChild(Path64 p)
    • clear

      public final void clear()
      This method clears the Polygon and deletes any contained children.
    • toString

      public String toString()
      Overrides:
      toString in class Object