Package org.orekit.utils
Class GeodeticExtendedPositionProvider
- java.lang.Object
-
- org.orekit.utils.GeodeticExtendedPositionProvider
-
- All Implemented Interfaces:
ExtendedPositionProvider,PVCoordinatesProvider
public class GeodeticExtendedPositionProvider extends Object implements ExtendedPositionProvider
Position provider from a given fixed point w.r.t. to a body.- Since:
- 14.0
- Author:
- Romain Serra
- See Also:
PVCoordinatesProvider
-
-
Constructor Summary
Constructors Constructor Description GeodeticExtendedPositionProvider(BodyShape bodyShape, Vector3D point)Simple constructor.GeodeticExtendedPositionProvider(BodyShape bodyShape, GeodeticPoint point)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BodyShapegetBodyShape()Get the body shape on which the local point is defined.Vector3DgetCartesianPoint()Get the surface point.GeodeticPointgetGeodeticPoint()Get the surface point.Vector3DgetPosition(AbsoluteDate date, Frame frame)Get the position of the body in the selected frame.<T extends CalculusFieldElement<T>>
FieldVector3D<T>getPosition(FieldAbsoluteDate<T> date, Frame frame)Get the position in the selected frame.TimeStampedPVCoordinatesgetPVCoordinates(AbsoluteDate date, Frame frame)Get thePVCoordinatesof the body in the selected frame.<T extends CalculusFieldElement<T>>
TimeStampedFieldPVCoordinates<T>getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)Get the position-velocity-acceleration in the selected frame.Vector3DgetVelocity(AbsoluteDate date, Frame frame)Get the velocity of the body in the selected frame.<T extends CalculusFieldElement<T>>
FieldVector3D<T>getVelocity(FieldAbsoluteDate<T> date, Frame frame)Get the velocity vector in the selected frame.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.utils.ExtendedPositionProvider
toFieldPVCoordinatesProvider
-
-
-
-
Constructor Detail
-
GeodeticExtendedPositionProvider
public GeodeticExtendedPositionProvider(BodyShape bodyShape, GeodeticPoint point)
Simple constructor.- Parameters:
bodyShape- body shape on which the local point is definedpoint- local surface point
-
-
Method Detail
-
getBodyShape
public BodyShape getBodyShape()
Get the body shape on which the local point is defined.- Returns:
- body shape on which the local point is defined
-
getGeodeticPoint
public GeodeticPoint getGeodeticPoint()
Get the surface point.- Returns:
- surface point
-
getCartesianPoint
public Vector3D getCartesianPoint()
Get the surface point.- Returns:
- surface point in body frame
-
getPosition
public Vector3D getPosition(AbsoluteDate date, Frame frame)
Get the position of the body in the selected frame.- Specified by:
getPositionin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position of the body (m and)
-
getPosition
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getPosition(FieldAbsoluteDate<T> date, Frame frame)
Get the position in the selected frame.- Specified by:
getPositionin interfaceExtendedPositionProvider- Type Parameters:
T- field type- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position
-
getVelocity
public Vector3D getVelocity(AbsoluteDate date, Frame frame)
Get the velocity of the body in the selected frame.- Specified by:
getVelocityin interfaceExtendedPositionProvider- Specified by:
getVelocityin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the velocity- Returns:
- velocity of the body (m/s)
-
getVelocity
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getVelocity(FieldAbsoluteDate<T> date, Frame frame)
Get the velocity vector in the selected frame.- Specified by:
getVelocityin interfaceExtendedPositionProvider- Type Parameters:
T- field type- Parameters:
date- current dateframe- the frame where to define the velocity- Returns:
- velocity
-
getPVCoordinates
public TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
Get thePVCoordinatesof the body in the selected frame.- Specified by:
getPVCoordinatesin interfaceExtendedPositionProvider- Specified by:
getPVCoordinatesin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- time-stamped position/velocity of the body (m and m/s)
-
getPVCoordinates
public <T extends CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get the position-velocity-acceleration in the selected frame.- Specified by:
getPVCoordinatesin interfaceExtendedPositionProvider- Type Parameters:
T- field type- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position-velocity-acceleration vector
-
-