|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.geometry.euclidean.threed.Ellipsoid
org.apache.commons.math3.geometry.euclidean.threed.Spheroid
public final class Spheroid
This is the Spheroid (also called Revolved Ellipsoid) class. Spheroids are ellipsoids that are revolved around an axis. Thus, this class cannot represent all ellipsoid objects.
It creates a spheroid object.
Usage: With two Vector3D for position and Rev. Axis and two doubles for the two semi axes, call
IEllipsoid,
SolidShape,
Serialized Form| Constructor Summary | |
|---|---|
Spheroid(Vector3D myPosition,
Vector3D myRevAxis,
double myA,
double myB)
This constructor builds a spheroid from its centers position, its revolution axis and its transverse and conjugate radii. |
|
| Method Summary | |
|---|---|
double |
getConjugateRadius()
Get conjugate radius of Spheroid |
double |
getTransverseRadius()
Get transverse radius of Spheroid |
String |
toString()
Get a representation for this spheroid. |
| Methods inherited from class org.apache.commons.math3.geometry.euclidean.threed.Ellipsoid |
|---|
closestPointTo, closestPointTo, distanceTo, distanceTo, getAffineLocalExpression, getAffineStandardExpression, getCartesianCoordinates, getCenter, getEllipsoidicCoordinates, getIntersectionPoints, getLocalBasisTransform, getNormal, getSemiA, getSemiB, getSemiC, getSemiPrincipalX, getSemiPrincipalY, getSemiPrincipalZ, getStandardBasisTransform, getVectorialLocalExpression, getVectorialStandardExpression, intersects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Spheroid(Vector3D myPosition,
Vector3D myRevAxis,
double myA,
double myB)
myPosition - The position of the spheroids centermyRevAxis - The axis of revolution of the spheroidmyA - Transverse radius : semi axis of the spheroid along a direction orthogonal to the axis of revolutionmyB - Conjugate radius : semi axis of the spheroid along the axis of revolution
IllegalArgumentException - if semi-axis or norm of revolution axis is null| Method Detail |
|---|
public double getTransverseRadius()
public double getConjugateRadius()
public String toString()
toString in class Ellipsoid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||