All Implemented Interfaces:
Serializable, Cloneable, Iterable<Path>, Collection<Path>, List<Path>, RandomAccess, SequencedCollection<Path>

public class Paths extends ArrayList<Path>
A pure convenience class to avoid writing List<Path> everywhere.
See Also:
  • Constructor Details

    • Paths

      public Paths()
    • Paths

      public Paths(int initialCapacity)
  • Method Details

    • closedPathsFromPolyTree

      public static Paths closedPathsFromPolyTree(PolyTree polytree)
    • makePolyTreeToPaths

      public static Paths makePolyTreeToPaths(PolyTree polytree)
    • openPathsFromPolyTree

      public static Paths openPathsFromPolyTree(PolyTree polytree)
    • addPolyNode

      public void addPolyNode(PolyNode polynode, PolyNode.NodeType nt)
    • cleanPolygons

      public Paths cleanPolygons()
    • cleanPolygons

      public Paths cleanPolygons(double distance)
    • getBounds

      public LongRect getBounds()
    • reversePaths

      public void reversePaths()