All Implemented Interfaces:
Serializable, Cloneable, Iterable<Point.LongPoint>, Collection<Point.LongPoint>, List<Point.LongPoint>, RandomAccess

public class Path extends ArrayList<Point.LongPoint>
A pure convenience class to avoid writing List everywhere.
Author:
Tobias Mahlmann
See Also:
  • Constructor Details

    • Path

      public Path()
    • Path

      public Path (Point.LongPoint[] points)
    • Path

      public Path (int cnt)
    • Path

      public Path (CollectionPoint.LongPoint> c)
  • Method Details

    • area

      public double area()
    • cleanPolygon

      public Path cleanPolygon()
    • cleanPolygon

      public Path cleanPolygon (double distance)
    • isPointInPolygon

      public int isPointInPolygon (Point.LongPoint pt)
    • orientation

      public boolean orientation()
    • reverse

      public void reverse()
    • TranslatePath

      public Path TranslatePath (Point.LongPoint delta)