org.jscience.astronomy
Class Ellipse

java.lang.Object
  extended by org.jscience.astronomy.Ellipse

public class Ellipse
extends java.lang.Object

The Ellipse class defines ellipses in a 3d dimension environment.


Constructor Summary
Ellipse(javax.vecmath.Point3f origin, javax.vecmath.Vector3f majorAxis, javax.vecmath.Vector3f minorAxis)
          Creates a new Ellipse object.
 
Method Summary
 double getArea()
          DOCUMENT ME!
 double getAspectRatio()
          DOCUMENT ME!
 double getEccentricity()
          DOCUMENT ME!
 double getEccentricityPrime()
          DOCUMENT ME!
 double getEccentricitySecond()
          DOCUMENT ME!
 double getFlattening()
          DOCUMENT ME!
 double getFlatteningPrime()
          DOCUMENT ME!
 double getLinearEccentricity()
          DOCUMENT ME!
 javax.vecmath.Vector3f getMajorAxis()
          DOCUMENT ME!
 float getMajorAxisLength()
          DOCUMENT ME!
 javax.vecmath.Vector3f getMinorAxis()
          DOCUMENT ME!
 float getMinorAxisLength()
          DOCUMENT ME!
 javax.vecmath.Point3f[] getOrbit(int numPoints)
          DOCUMENT ME!
 javax.vecmath.Point3f getOrigin()
          DOCUMENT ME!
 void setMajorAxis(javax.vecmath.Vector3f majorAxis)
          DOCUMENT ME!
 void setMinorAxis(javax.vecmath.Vector3f minorAxis)
          DOCUMENT ME!
 void setOrigin(javax.vecmath.Point3f origin)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ellipse

public Ellipse(javax.vecmath.Point3f origin,
               javax.vecmath.Vector3f majorAxis,
               javax.vecmath.Vector3f minorAxis)
Creates a new Ellipse object.

Parameters:
origin - DOCUMENT ME!
majorAxis - DOCUMENT ME!
minorAxis - DOCUMENT ME!
Method Detail

getOrigin

public javax.vecmath.Point3f getOrigin()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setOrigin

public void setOrigin(javax.vecmath.Point3f origin)
DOCUMENT ME!

Parameters:
origin - DOCUMENT ME!

getMinorAxisLength

public float getMinorAxisLength()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMinorAxis

public javax.vecmath.Vector3f getMinorAxis()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setMinorAxis

public void setMinorAxis(javax.vecmath.Vector3f minorAxis)
DOCUMENT ME!

Parameters:
minorAxis - DOCUMENT ME!

getMajorAxisLength

public float getMajorAxisLength()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMajorAxis

public javax.vecmath.Vector3f getMajorAxis()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setMajorAxis

public void setMajorAxis(javax.vecmath.Vector3f majorAxis)
DOCUMENT ME!

Parameters:
majorAxis - DOCUMENT ME!

getArea

public double getArea()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLinearEccentricity

public double getLinearEccentricity()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAspectRatio

public double getAspectRatio()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getEccentricity

public double getEccentricity()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getEccentricityPrime

public double getEccentricityPrime()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getEccentricitySecond

public double getEccentricitySecond()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getFlattening

public double getFlattening()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getFlatteningPrime

public double getFlatteningPrime()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getOrbit

public javax.vecmath.Point3f[] getOrbit(int numPoints)
DOCUMENT ME!

Parameters:
numPoints - DOCUMENT ME!
Returns:
DOCUMENT ME!