public class ThreeAxisEllipsoid extends AbstractEllipsoidBodyShape
This ellipsoid is fully defined by its three axis radius (along the directions Vector3D.PLUS_I
/
Vector3D.PLUS_J
/ Vector3D.PLUS_K
) and its associated body frame.
AbstractEllipsoidBodyShape
,
Serialized FormBodyShape.MarginType
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_THREE_AXIS_ELLIPSOID_NAME
Default ellipsoid name.
|
CLOSE_APPROACH_THRESHOLD, DEFAULT_LLH_COORD_SYSTEM, ellipsoid, maxIterSignalPropagation
DEFAULT_EPSILON_SIGNAL_PROPAGATION, distanceEpsilon, lLHCoordinatesSystem
DEFAULT_DISTANCE_EPSILON, DIRECTION_FACTOR
Constructor and Description |
---|
ThreeAxisEllipsoid(double aRadius,
double bRadius,
double cRadius,
CelestialBodyFrame bodyFrame)
Constructor for the three axis ellipsoid with default name.
|
ThreeAxisEllipsoid(double aRadius,
double bRadius,
double cRadius,
CelestialBodyFrame bodyFrame,
String name)
Constructor for the three axis ellipsoid.
|
Modifier and Type | Method and Description |
---|---|
double |
getConjugateRadius()
Deprecated.
since 4.13 as this method isn't relevant to this class description. This method will be only kept in
the
OneAxisEllipsoid class. |
double |
getE2()
Deprecated.
since 4.13 as this method isn't relevant to this class description. This method will be only kept in
the
OneAxisEllipsoid class. |
double |
getEquatorialRadius()
Deprecated.
since 4.13 as this method isn't relevant to this class description. This method will be only kept in
the
OneAxisEllipsoid class. |
double |
getFlattening()
Deprecated.
since 4.13 as this method isn't relevant to this class description. This method will be only kept in
the
OneAxisEllipsoid class. |
double |
getG2()
Deprecated.
since 4.13 as this method isn't relevant to this class description. This method will be only kept in
the
OneAxisEllipsoid class. |
EllipsoidPoint |
getIntersectionPoint(Line line,
Vector3D close,
Frame frame,
AbsoluteDate date,
double altitude)
Getter for the intersection point of a line with the surface of the body for a given altitude.
|
double |
getTransverseRadius()
Deprecated.
since 4.13 as this method isn't relevant to this class description. This method will be only kept in
the
OneAxisEllipsoid class. |
ThreeAxisEllipsoid |
resize(BodyShape.MarginType marginType,
double marginValue)
Resize the geometric body shape by a margin.
|
buildPoint, buildPoint, buildPoint, closestPointTo, closestPointTo, closestPointTo, closestPointTo, closestPointTo, computePositionFromEllipsodeticCoordinates, distanceTo, getApparentRadius, getARadius, getBRadius, getCRadius, getEllipsoid, getEncompassingSphereRadius, getIntersectionPoint, getIntersectionPoint, getIntersectionPoints, getMaxIterSignalPropagation, isDefaultLLHCoordinatesSystem, isSpherical, setConvergenceThreshold, setMaxIterSignalPropagation
getBodyFrame, getDistanceEpsilon, getEpsilonSignalPropagation, getLLHCoordinatesSystem, getName, getNativeFrame, getPVCoordinates, setDistanceEpsilon, setEpsilonSignalPropagation, setLLHCoordinatesSystem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildRadialPointOnShapeSurface, getBodyFrame, getDistanceEpsilon, getEpsilonSignalPropagation, getLLHCoordinatesSystem, getName, setDistanceEpsilon, setEpsilonSignalPropagation, setLLHCoordinatesSystem
getNativeFrame, getPVCoordinates
public static final String DEFAULT_THREE_AXIS_ELLIPSOID_NAME
public ThreeAxisEllipsoid(double aRadius, double bRadius, double cRadius, CelestialBodyFrame bodyFrame)
aRadius
- Transverse radius A: semi axis of the ellipsoid along the direction Vector3D.PLUS_I
bRadius
- Transverse radius B: semi axis of the ellipsoid along the direction Vector3D.PLUS_J
cRadius
- Conjugate radius C: semi axis of the ellipsoid along the direction Vector3D.PLUS_K
bodyFrame
- Body frame related to the ellipsoidpublic ThreeAxisEllipsoid(double aRadius, double bRadius, double cRadius, CelestialBodyFrame bodyFrame, String name)
aRadius
- Transverse radius A: semi axis of the ellipsoid along the direction Vector3D.PLUS_I
bRadius
- Transverse radius B: semi axis of the ellipsoid along the direction Vector3D.PLUS_J
cRadius
- Conjugate radius C: semi axis of the ellipsoid along the direction Vector3D.PLUS_K
bodyFrame
- Body frame related to the ellipsoidname
- Name of the ellipsoid@Deprecated public double getE2()
OneAxisEllipsoid
class.UnsupportedOperationException
@Deprecated public double getG2()
OneAxisEllipsoid
class.UnsupportedOperationException
@Deprecated public double getTransverseRadius()
OneAxisEllipsoid
class.UnsupportedOperationException
@Deprecated public double getConjugateRadius()
OneAxisEllipsoid
class.UnsupportedOperationException
@Deprecated public double getEquatorialRadius()
OneAxisEllipsoid
class.UnsupportedOperationException
@Deprecated public double getFlattening()
OneAxisEllipsoid
class.UnsupportedOperationException
public EllipsoidPoint getIntersectionPoint(Line line, Vector3D close, Frame frame, AbsoluteDate date, double altitude) throws PatriusException
A line may have several intersection points with a closed surface (we consider the one point case as a degenerated two points case). The close parameter is used to select which of these points should be returned. The selected point is the one that is closest to the close point.
line
- test line (may intersect the body or not)close
- point used for intersections selection expressed in the body frameframe
- frame in which line is expresseddate
- date of the line in given framealtitude
- altitude of the intersectionPatriusException
- if line cannot be converted to body framepublic ThreeAxisEllipsoid resize(BodyShape.MarginType marginType, double marginValue)
marginType
- margin type to be usedmarginValue
- margin value to be used (in meters if the margin type is DISTANCE)Copyright © 2023 CNES. All rights reserved.