Package org.orekit.utils
Interface ShiftablePVCoordinatesHolder<T extends PVCoordinatesProvider>
-
- All Superinterfaces:
PVCoordinatesProvider,TimeShiftable<ShiftablePVCoordinatesHolder<T>>,TimeStamped
- All Known Implementing Classes:
AbsolutePVCoordinates,CartesianOrbit,CircularOrbit,EquinoctialOrbit,KeplerianOrbit,Orbit
public interface ShiftablePVCoordinatesHolder<T extends PVCoordinatesProvider> extends PVCoordinatesProvider, TimeStamped, TimeShiftable<ShiftablePVCoordinatesHolder<T>>
Interface for time-shiftable PV provider holding themselves PV coordinates.- Since:
- 13.1.2
- Author:
- Romain Serra
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FramegetFrame()Getter for the intrinsic frame.default Vector3DgetPosition()Getter for the position vector.default Vector3DgetPosition(Frame outputFrame)Get the position in a specified frame.default Vector3DgetPosition(AbsoluteDate date, Frame outputFrame)Get the position of the body in the selected frame.TimeStampedPVCoordinatesgetPVCoordinates()Getter for the intrinsic position-velocity vector.default TimeStampedPVCoordinatesgetPVCoordinates(Frame outputFrame)Get the TimeStampedPVCoordinates in a specified frame.default TimeStampedPVCoordinatesgetPVCoordinates(AbsoluteDate date, Frame outputFrame)Get thePVCoordinatesof the body in the selected frame.default Vector3DgetVelocity()Getter for the velocity vector.default Vector3DgetVelocity(Frame outputFrame)Get the velocity in a specified frame.default Vector3DgetVelocity(AbsoluteDate date, Frame outputFrame)Get the velocity of the body in the selected frame.-
Methods inherited from interface org.orekit.time.TimeShiftable
shiftedBy, shiftedBy
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom, getDate
-
-
-
-
Method Detail
-
getPVCoordinates
TimeStampedPVCoordinates getPVCoordinates()
Getter for the intrinsic position-velocity vector.- Returns:
- position-velocity
-
getPosition
default Vector3D getPosition()
Getter for the position vector.- Returns:
- position
-
getVelocity
default Vector3D getVelocity()
Getter for the velocity vector.- Returns:
- velocity
-
getFrame
Frame getFrame()
Getter for the intrinsic frame.- Returns:
- frame
-
getPosition
default Vector3D getPosition(Frame outputFrame)
Get the position in a specified frame.- Parameters:
outputFrame- frame in which the position coordinates shall be computed- Returns:
- position
-
getPosition
default Vector3D getPosition(AbsoluteDate date, Frame outputFrame)
Description copied from interface:PVCoordinatesProviderGet the position of the body in the selected frame.- Specified by:
getPositionin interfacePVCoordinatesProvider- Parameters:
date- current dateoutputFrame- the frame where to define the position- Returns:
- position of the body (m and)
-
getVelocity
default Vector3D getVelocity(Frame outputFrame)
Get the velocity in a specified frame.- Parameters:
outputFrame- frame in which the velocity coordinates shall be computed- Returns:
- velocity
-
getVelocity
default Vector3D getVelocity(AbsoluteDate date, Frame outputFrame)
Description copied from interface:PVCoordinatesProviderGet the velocity of the body in the selected frame.- Specified by:
getVelocityin interfacePVCoordinatesProvider- Parameters:
date- current dateoutputFrame- the frame where to define the velocity- Returns:
- velocity of the body (m/s)
-
getPVCoordinates
default TimeStampedPVCoordinates getPVCoordinates(Frame outputFrame)
Get the TimeStampedPVCoordinates in a specified frame.- Parameters:
outputFrame- frame in which the position/velocity coordinates shall be computed- Returns:
- TimeStampedPVCoordinates
- Throws:
OrekitException- if transformation between frames cannot be computed- See Also:
getPVCoordinates()
-
getPVCoordinates
default TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame outputFrame)
Description copied from interface:PVCoordinatesProviderGet thePVCoordinatesof the body in the selected frame.- Specified by:
getPVCoordinatesin interfacePVCoordinatesProvider- Parameters:
date- current dateoutputFrame- the frame where to define the position- Returns:
- time-stamped position/velocity of the body (m and m/s)
-
-