java2dx by
jTEM

de.jtem.java2dx
Class Polygon2D

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<Point2DDouble>
                  extended by de.jtem.java2dx.Point2DList
                      extended by 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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Polygon2D(double[][] d, boolean closed)
           
Polygon2D(Point2DList points, boolean closed)
           
Polygon2D(Polygon2D p)
           
 
Method Summary
 void assign(double[][] d, boolean closed)
           
 void assign(Polygon2D p)
           
 boolean equals(Object o)
          Instance of this class are equal only if they are identical.
 boolean isClosed()
           
 void setClosed(boolean closed)
           
 
Methods inherited from class de.jtem.java2dx.Point2DList
assign, assign, hashCode, toDoubleArray
 
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
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

Polygon2D

public Polygon2D(double[][] d,
                 boolean closed)

Polygon2D

public Polygon2D(Point2DList points,
                 boolean closed)

Polygon2D

public Polygon2D(Polygon2D p)
Method Detail

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)

java2dx by
jTEM

jTEM