Serializable
, Cloneable
, Iterable<Point.LongPoint>
, Collection<Point.LongPoint>
, List<Point.LongPoint>
, RandomAccess
public class Path extends ArrayList<Point.LongPoint>
Modifier and Type | Class | Description |
---|---|---|
protected static class |
Path.Maxima |
modCount
Constructor | Description |
---|---|
Path() |
|
Path(int cnt) |
|
Path(Point.LongPoint[] points) |
|
Path(Collection<? extends Point.LongPoint> c) |
Modifier and Type | Method | Description |
---|---|---|
double |
area() |
|
Path |
cleanPolygon() |
|
Path |
cleanPolygon(double distance) |
|
int |
isPointInPolygon(Point.LongPoint pt) |
|
boolean |
orientation() |
|
void |
reverse() |
|
Path |
TranslatePath(Point.LongPoint delta) |
containsAll, toString
equals, hashCode
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
parallelStream, stream
public Path()
public Path(Point.LongPoint[] points)
public Path(int cnt)
public Path(Collection<? extends Point.LongPoint> c)
public double area()
public Path cleanPolygon()
public Path cleanPolygon(double distance)
public int isPointInPolygon(Point.LongPoint pt)
public boolean orientation()
public void reverse()
public Path TranslatePath(Point.LongPoint delta)
Copyright © 2018. All rights reserved.