de.jtem.java2dx
Class Polygon2D
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<Point2DDouble>
de.jtem.java2dx.Point2DList
de.jtem.java2dx.Polygon2D
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Point2DDouble>, Collection<Point2DDouble>, Deque<Point2DDouble>, List<Point2DDouble>, Queue<Point2DDouble>
public class Polygon2D
- extends Point2DList
- See Also:
- Serialized Form
Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray |
Polygon2D
public Polygon2D(double[][] d,
boolean closed)
Polygon2D
public Polygon2D(Point2DList points,
boolean closed)
Polygon2D
public Polygon2D(Polygon2D p)
assign
public void assign(double[][] d,
boolean closed)
assign
public void assign(Polygon2D p)
equals
public boolean equals(Object o)
- Description copied from class:
Point2DList
- Instance of this class are equal only if they are identical.
- Specified by:
equals
in interface Collection<Point2DDouble>
- Specified by:
equals
in interface List<Point2DDouble>
- Overrides:
equals
in class Point2DList
isClosed
public boolean isClosed()
setClosed
public void setClosed(boolean closed)
jTEM