Package org.orekit.utils
Interface ExtendedPositionProvider
-
- All Superinterfaces:
PVCoordinatesProvider
- All Known Subinterfaces:
CelestialBody
,ExtendedPVCoordinatesProvider
- All Known Implementing Classes:
FrameAdapter
public interface ExtendedPositionProvider extends PVCoordinatesProvider
Interface for position providers (including for Field). Emulates position (and derivatives) vector as a function of time.- Since:
- 12.1
- Author:
- Romain Serra
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T extends CalculusFieldElement<T>>
FieldVector3D<T>getPosition(FieldAbsoluteDate<T> date, Frame frame)
Get the position in the selected frame.default TimeStampedPVCoordinates
getPVCoordinates(AbsoluteDate date, Frame frame)
Get thePVCoordinates
of the body in the selected frame.default <T extends CalculusFieldElement<T>>
TimeStampedFieldPVCoordinates<T>getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get the position-velocity-acceleration in the selected frame.default <T extends CalculusFieldElement<T>>
FieldPVCoordinatesProvider<T>toFieldPVCoordinatesProvider(Field<T> field)
Convert to aFieldPVCoordinatesProvider
with a specific type.-
Methods inherited from interface org.orekit.utils.PVCoordinatesProvider
getPosition
-
-
-
-
Method Detail
-
getPosition
<T extends CalculusFieldElement<T>> FieldVector3D<T> getPosition(FieldAbsoluteDate<T> date, Frame frame)
Get the position in the selected frame.- Type Parameters:
T
- field type- Parameters:
date
- current dateframe
- the frame where to define the position- Returns:
- position
-
getPVCoordinates
default TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
Get thePVCoordinates
of the body in the selected frame.- Specified by:
getPVCoordinates
in 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
default <T extends CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get the position-velocity-acceleration in the selected frame.- Type Parameters:
T
- field type- Parameters:
date
- current dateframe
- the frame where to define the position- Returns:
- position-velocity-acceleration vector
-
toFieldPVCoordinatesProvider
default <T extends CalculusFieldElement<T>> FieldPVCoordinatesProvider<T> toFieldPVCoordinatesProvider(Field<T> field)
Convert to aFieldPVCoordinatesProvider
with a specific type.- Type Parameters:
T
- the type of the field elements- Parameters:
field
- field for the argument and value- Returns:
- converted function
-
-