Serializable, Cloneable, Iterable<Point.LongPoint>, Collection<Point.LongPoint>, List<Point.LongPoint>, RandomAccesspublic 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, toStringequals, hashCodeadd, 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, trimToSizeparallelStream, streampublic 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.