java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable<Point.LongPoint>
, java.util.Collection<Point.LongPoint>
, java.util.List<Point.LongPoint>
, java.util.RandomAccess
public class Path extends java.util.ArrayList<Point.LongPoint>
Modifier and Type | Class | Description |
---|---|---|
protected static class |
Path.Maxima |
Constructor | Description |
---|---|
Path() |
|
Path(int cnt) |
|
Path(Point.LongPoint[] points) |
|
Path(java.util.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) |
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
public Path()
public Path(Point.LongPoint[] points)
public Path(int cnt)
public Path(java.util.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–2018. All rights reserved.