|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.Ellipsoid
public class Ellipsoid
Class Ellipsoid represents tri-axial ellipsoids in three-dimensional, Euclidean space.
JNISpice Ellipsoids are centered at the origin and have semi-axes aligned with the x, y, and z coordinate axes. JNISpice Ellipsoids are required to have positive semi-axis lengths.
To find the closest point on an Ellipsoid to a given point,
see class EllipsoidPointNearPoint
.
To find the closest point on an Ellipsoid to a given line,
see class EllipsoidLineNearPoint
.
To find the intercept on an Ellipsoid of a given Ray,
see class RayEllipsoidIntercept
.
Version 1.0.0 28-NOV-2009 (NJB)
Constructor Summary | |
---|---|
Ellipsoid()
No-arguments constructor. |
|
Ellipsoid(double a,
double b,
double c)
Construct an ellipsoid from three semi-axis lengths. |
|
Ellipsoid(Ellipsoid ell)
Copy constructor. |
Method Summary | |
---|---|
Ellipse |
getLimb(Vector3 viewpt)
Find the limb of this Ellipsoid, as seen from a given viewing location. |
Vector3 |
getNormal(Vector3 point)
Find the unit outward surface normal at a specified point on this Ellipsoid's surface. |
double[] |
getRadii()
Get radii of this Ellipsoid. |
java.lang.String |
toString()
Display an Ellipsoid as a string; override Object's toString() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ellipsoid()
public Ellipsoid(Ellipsoid ell)
public Ellipsoid(double a, double b, double c) throws SpiceException
SpiceException
Method Detail |
---|
public double[] getRadii()
public Vector3 getNormal(Vector3 point) throws SpiceException
SpiceException
public Ellipse getLimb(Vector3 viewpt) throws SpiceException
SpiceException
public java.lang.String toString()
toString
in class java.lang.Object
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |