public abstract class AbstractBodyShape extends Object implements BodyShape
BodyShape,
Serialized FormBodyShape.MarginType| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_EPSILON_SIGNAL_PROPAGATION
Default epsilon (s) for signal propagation computation.
|
protected double |
distanceEpsilon
Altitude epsilon below which the altitude coordinate is neglected: below this value,the method
BodyShape.getIntersectionPoint(Line, Vector3D, Frame, AbsoluteDate) will be automatically used instead of
BodyShape.getIntersectionPoint(Line, Vector3D, Frame, AbsoluteDate, double). |
protected LLHCoordinatesSystem |
lLHCoordinatesSystem
LLH coordinates system.
|
DEFAULT_DISTANCE_EPSILON, DIRECTION_FACTOR| Constructor and Description |
|---|
AbstractBodyShape(String name,
CelestialBodyFrame bodyFrame)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CelestialBodyFrame |
getBodyFrame()
Getter for the body frame related to body shape.
|
double |
getDistanceEpsilon()
Return the distance epsilon below which the height coordinate is neglected.
|
double |
getEpsilonSignalPropagation()
Getter for the epsilon for signal propagation used in
#getApparentRadius(PVCoordinatesProvider, AbsoluteDate, PVCoordinatesProvider, PropagationDelayType)
method. |
LLHCoordinatesSystem |
getLLHCoordinatesSystem()
Getter for the LLH coordinates system used by the computed
BodyPoint. |
String |
getName()
Getter for the name of the shape.
|
Frame |
getNativeFrame(AbsoluteDate date)
Get the native frame, i.e. the raw frame in which PVCoordinates are expressed before transformation to user
output frame.
|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
void |
setDistanceEpsilon(double epsilon)
Setter for the distance epsilon below which the height coordinate is neglected.
|
void |
setEpsilonSignalPropagation(double epsilon)
Setter for the epsilon for signal propagation used in
#getApparentRadius(PVCoordinatesProvider, AbsoluteDate, PVCoordinatesProvider, PropagationDelayType)
method. |
void |
setLLHCoordinatesSystem(LLHCoordinatesSystem coordSystem)
Setter for the LLH coordinates system to be used by the computed
BodyPoint. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildPoint, buildPoint, buildPoint, buildRadialPointOnShapeSurface, closestPointTo, closestPointTo, closestPointTo, closestPointTo, closestPointTo, distanceTo, getApparentRadius, getEncompassingSphereRadius, getIntersectionPoint, getIntersectionPoint, getIntersectionPoint, getIntersectionPoints, isDefaultLLHCoordinatesSystem, resizepublic static final double DEFAULT_EPSILON_SIGNAL_PROPAGATION
protected LLHCoordinatesSystem lLHCoordinatesSystem
protected double distanceEpsilon
BodyShape.getIntersectionPoint(Line, Vector3D, Frame, AbsoluteDate) will be automatically used instead of
BodyShape.getIntersectionPoint(Line, Vector3D, Frame, AbsoluteDate, double). This epsilon altitude is also used to
assess if a body point is on the shape surface or not (method BodyPoint.isOnShapeSurface().public AbstractBodyShape(String name, CelestialBodyFrame bodyFrame)
name - body namebodyFrame - frame in which celestial body coordinates are definedpublic final String getName()
public final CelestialBodyFrame getBodyFrame()
getBodyFrame in interface BodyShapepublic PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
PVCoordinates of the body in the selected frame.getPVCoordinates in interface PVCoordinatesProviderdate - current dateframe - the frame where to define the positionPatriusException - if position cannot be computed in given framepublic Frame getNativeFrame(AbsoluteDate date)
getNativeFrame in interface PVCoordinatesProviderdate - a datepublic final LLHCoordinatesSystem getLLHCoordinatesSystem()
BodyPoint.getLLHCoordinatesSystem in interface BodyShapepublic final void setLLHCoordinatesSystem(LLHCoordinatesSystem coordSystem)
BodyPoint.setLLHCoordinatesSystem in interface BodyShapecoordSystem - LLH coordinates system to be setpublic double getDistanceEpsilon()
BodyShape.getIntersectionPoint(Line, Vector3D, Frame, AbsoluteDate)
will be automatically used instead of BodyShape.getIntersectionPoint(Line, Vector3D, Frame, AbsoluteDate, double),
BodyPoint.isOnShapeSurface() will return true if the absolute value of its normal height
is lower than this distance epsilon.getDistanceEpsilon in interface BodyShapepublic void setDistanceEpsilon(double epsilon)
setDistanceEpsilon in interface BodyShapeepsilon - distance epsilon to be setpublic double getEpsilonSignalPropagation()
#getApparentRadius(PVCoordinatesProvider, AbsoluteDate, PVCoordinatesProvider, PropagationDelayType)
method. This epsilon (in s) directly reflect the accuracy of signal propagation (1s of accuracy = 3E8m of
accuracy on distance between emitter and receiver).getEpsilonSignalPropagation in interface BodyShapepublic void setEpsilonSignalPropagation(double epsilon)
#getApparentRadius(PVCoordinatesProvider, AbsoluteDate, PVCoordinatesProvider, PropagationDelayType)
method. This epsilon (in s) directly reflect the accuracy of signal propagation (1s of accuracy = 3E8m of
accuracy on distance between emitter and receiver).setEpsilonSignalPropagation in interface BodyShapeepsilon - epsilon for signal propagationCopyright © 2024 CNES. All rights reserved.