public class Path extends ArrayList<Point.LongPoint>
Modifier and Type | Class and Description |
---|---|
protected static class |
Path.Maxima |
modCount
Constructor and Description |
---|
Path() |
Path(Collection extends Point.LongPoint> c) |
Path(int cnt) |
Path(Point.LongPoint[] points) |
Modifier and Type | Method and Description |
---|---|
double |
area() |
Path |
cleanPolygon() |
Path |
cleanPolygon(double distance) |
int |
isPointInPolygon(Point.LongPoint pt) |
boolean |
orientation() |
void |
reverse() |
Path |
TranslatePath(Point.LongPoint delta) |
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
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
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 © 1998–2019. All rights reserved.