lt.monarch.math.geom
Class Ellipse2D

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Ellipse2D
          extended by java.awt.geom.Ellipse2D.Double
              extended by lt.monarch.math.geom.Ellipse2D
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable, Primitive, Primitive2D

public class Ellipse2D
extends java.awt.geom.Ellipse2D.Double
implements Primitive2D

2D ellipse class. It wraps awt ellipse class for drawing in 3D engine and other graphic contexts purposes.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class java.awt.geom.Ellipse2D
java.awt.geom.Ellipse2D.Double, java.awt.geom.Ellipse2D.Float
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from class java.awt.geom.Ellipse2D.Double
height, width, x, y
 
Constructor Summary
Constructor and Description
Ellipse2D(double x, double y, double width, double height)
          Eclipse 2D constructor
 
Method Summary
Modifier and Type Method and Description
 void dispose()
          Disposes object
protected  void finalize()
           
 java.util.List<Point2D> get2DPoints()
          Get a list of 2D points
 
Methods inherited from class java.awt.geom.Ellipse2D.Double
getBounds2D, getHeight, getWidth, getX, getY, isEmpty, setFrame
 
Methods inherited from class java.awt.geom.Ellipse2D
contains, contains, equals, getPathIterator, hashCode, intersects
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lt.monarch.math.geom.Primitive
getBounds2D
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects
 

Constructor Detail

Ellipse2D

public Ellipse2D(double x,
                 double y,
                 double width,
                 double height)
Eclipse 2D constructor

Parameters:
x - x coordinate
y - y coordinate
width - ellipse width
height - ellipse height
Method Detail

dispose

public void dispose()
Description copied from interface: Primitive2D
Disposes object

Specified by:
dispose in interface Primitive
Specified by:
dispose in interface Primitive2D

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

get2DPoints

public java.util.List<Point2D> get2DPoints()
Description copied from interface: Primitive2D
Get a list of 2D points

Specified by:
get2DPoints in interface Primitive2D
Returns:
list of 2D points