public class ConstantPVCoordinatesProvider extends Object implements PVCoordinatesProvider
PVCoordinatesProvider to store the position and the velocity of an object and the
frame used for computation.| Constructor and Description |
|---|
ConstantPVCoordinatesProvider(PVCoordinates coordinatesIn,
Frame frameIn)
Simple constructor.
|
ConstantPVCoordinatesProvider(Vector3D positionIn,
Frame frameIn)
Builds an instance from the position vector only.
|
| Modifier and Type | Method and Description |
|---|---|
Frame |
getNativeFrame(AbsoluteDate date)
Get the native frame, i.e. the raw frame in which PVCoordinates are expressed before transformation to user
output frame.
|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frameIn)
Get the
PVCoordinates of the body in the selected frame. |
public ConstantPVCoordinatesProvider(PVCoordinates coordinatesIn, Frame frameIn)
coordinatesIn - the pv coordinates to storeframeIn - the frame of used for computationpublic ConstantPVCoordinatesProvider(Vector3D positionIn, Frame frameIn)
positionIn - the position of the objectframeIn - the frame of computationpublic PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frameIn) throws PatriusException
PVCoordinatesProviderPVCoordinates of the body in the selected frame.getPVCoordinates in interface PVCoordinatesProviderdate - current dateframeIn - the frame where to define the positionPatriusException - if position cannot be computed in given framepublic Frame getNativeFrame(AbsoluteDate date) throws PatriusException
PVCoordinatesProvidergetNativeFrame in interface PVCoordinatesProviderdate - a datePatriusException - thrown if native frame is undefined or unknownCopyright © 2025 CNES. All rights reserved.