Package org.orekit.utils
Interface ExtendedPVCoordinatesProvider
-
- All Superinterfaces:
PVCoordinatesProvider
- All Known Subinterfaces:
CelestialBody
- All Known Implementing Classes:
FrameAdapter
public interface ExtendedPVCoordinatesProvider extends PVCoordinatesProvider
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.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, getPVCoordinates
-
-
-
-
Method Detail
-
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
-
getPosition
default <T extends CalculusFieldElement<T>> FieldVector3D<T> getPosition(FieldAbsoluteDate<T> date, Frame frame)
Get the position of the body in the selected frame.- 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.- 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)
-
-