Package org.orekit.utils
Class ShiftingPVCoordinatesProvider
- java.lang.Object
-
- org.orekit.utils.ShiftingPVCoordinatesProvider
-
- All Implemented Interfaces:
PVCoordinatesProvider
public class ShiftingPVCoordinatesProvider extends Object implements PVCoordinatesProvider
Provider using simplePVCoordinates.shiftedBy(double)
shiftedBy} and frame transforms for evolution.- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description ShiftingPVCoordinatesProvider(TimeStampedPVCoordinates referencePV, Frame referenceFrame)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeStampedPVCoordinates
getPVCoordinates(AbsoluteDate date, Frame frame)
Get thePVCoordinates
of the body 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.PVCoordinatesProvider
getPosition
-
-
-
-
Constructor Detail
-
ShiftingPVCoordinatesProvider
public ShiftingPVCoordinatesProvider(TimeStampedPVCoordinates referencePV, Frame referenceFrame)
Simple constructor.- Parameters:
referencePV
- reference coordinatesreferenceFrame
- frame in whichreference
is defined
-
-
Method Detail
-
getPVCoordinates
public 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)
-
-