Class Paths

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Path>, java.util.Collection<Path>, java.util.List<Path>, java.util.RandomAccess

    public class Paths
    extends java.util.ArrayList<Path>
    A pure convenience class to avoid writing List everywhere.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      Paths()  
      Paths​(int initialCapacity)  
    • Constructor Detail

      • Paths

        public Paths()
      • Paths

        public Paths​(int initialCapacity)
    • Method Detail

      • closedPathsFromPolyTree

        public static Paths closedPathsFromPolyTree​(PolyTree polytree)
      • makePolyTreeToPaths

        public static Paths makePolyTreeToPaths​(PolyTree polytree)
      • openPathsFromPolyTree

        public static Paths openPathsFromPolyTree​(PolyTree polytree)
      • cleanPolygons

        public Paths cleanPolygons()
      • cleanPolygons

        public Paths cleanPolygons​(double distance)
      • getBounds

        public LongRect getBounds()
      • reversePaths

        public void reversePaths()