Package org.orekit.utils
Interface ExtendedPVCoordinatesProvider
-
- All Superinterfaces:
ExtendedPositionProvider
,PVCoordinatesProvider
- All Known Subinterfaces:
CelestialBody
- All Known Implementing Classes:
FrameAdapter
public interface ExtendedPVCoordinatesProvider extends ExtendedPositionProvider
Interface for PV coordinates providers that also support fields.- Since:
- 9.2
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T extends CalculusFieldElement<T>>
FieldVector3D<T>getPosition(FieldAbsoluteDate<T> date, Frame frame)
Get the position of the body in the selected frame.<T extends CalculusFieldElement<T>>
TimeStampedFieldPVCoordinates<T>getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get theFieldPVCoordinates
of the body in the selected frame.-
Methods inherited from interface org.orekit.utils.ExtendedPositionProvider
getPVCoordinates, toFieldPVCoordinatesProvider
-
Methods inherited from interface org.orekit.utils.PVCoordinatesProvider
getPosition
-
-
-
-
Method Detail
-
getPosition
default <T extends CalculusFieldElement<T>> FieldVector3D<T> getPosition(FieldAbsoluteDate<T> date, Frame frame)
Get the position of the body in the selected frame.- Specified by:
getPosition
in interfaceExtendedPositionProvider
- Type Parameters:
T
- type for the field elements- Parameters:
date
- current dateframe
- the frame where to define the position- Returns:
- position of the body (m and)
- Since:
- 12.0
-
getPVCoordinates
<T extends CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
Get theFieldPVCoordinates
of the body in the selected frame.- Specified by:
getPVCoordinates
in interfaceExtendedPositionProvider
- Type Parameters:
T
- type for the field elements- Parameters:
date
- current dateframe
- the frame where to define the position- Returns:
- time-stamped position/velocity of the body (m and m/s)
-
-