public final class Spheroid extends Ellipsoid implements Serializable
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 FormConstructor and Description |
---|
Spheroid(Vector3D myPosition,
Vector3D myRevAxis,
double equatorialRadius,
double polarRadius)
This constructor builds a spheroid from its centers position, its revolution axis and its equatorial and
polar radius.
|
Modifier and Type | Method and Description |
---|---|
double |
getEquatorialRadius()
Get equatorial radius of Spheroid.
|
double |
getPolarRadius()
Get polar radius of Spheroid.
|
String |
toString()
Get a representation for this spheroid.
|
closestPointTo, closestPointTo, distanceTo, distanceTo, getAffineLocalExpression, getAffineStandardExpression, getCartesianCoordinates, getCenter, getEllipsoidicCoordinates, getIntersectionPoints, getLocalBasisTransform, getNormal, getSemiA, getSemiB, getSemiC, getSemiPrincipalX, getSemiPrincipalY, getSemiPrincipalZ, getStandardBasisTransform, getVectorialLocalExpression, getVectorialStandardExpression, intersects, setNewtonThreshold
public Spheroid(Vector3D myPosition, Vector3D myRevAxis, double equatorialRadius, double polarRadius)
myPosition
- The position of the spheroids centermyRevAxis
- The axis of revolution of the spheroidequatorialRadius
- Equatorial radius : semi axis of the spheroid along a direction orthogonal to the axis of revolutionpolarRadius
- Polar radius : semi axis of the spheroid along the axis of revolutionIllegalArgumentException
- if semi-axis or norm of revolution axis is nullCopyright © 2019 CNES. All rights reserved.