public class AttitudeTransformProvider extends Object implements TransformProvider
TransformProvider
for AttitudeFrame
; it provides, for a given date,
the transformation corresponding to the spacecraft reference frame orientation with respect to the parent frame.AttitudeFrame
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
AttitudeTransformProvider(AttitudeLaw law,
PVCoordinatesProvider pv,
Frame frame)
Protected constructor.
|
Modifier and Type | Method and Description |
---|---|
Transform |
getTransform(AbsoluteDate date)
Get the
Transform corresponding to specified date. |
Transform |
getTransform(AbsoluteDate date,
boolean computeSpinDerivatives)
Get the
Transform corresponding to specified date. |
Transform |
getTransform(AbsoluteDate date,
FramesConfiguration config)
Get the
Transform corresponding to specified date. |
Transform |
getTransform(AbsoluteDate date,
FramesConfiguration config,
boolean computeSpinDerivatives)
Get the
Transform corresponding to specified date. |
protected AttitudeTransformProvider(AttitudeLaw law, PVCoordinatesProvider pv, Frame frame)
law
- the attitude law from which the transformation with respect to a parent frame is computed.pv
- the PV coordinates provider.frame
- the parent frame.public Transform getTransform(AbsoluteDate date, boolean computeSpinDerivatives) throws PatriusException
Transform
corresponding to specified date.getTransform
in interface TransformProvider
date
- current datecomputeSpinDerivatives
- true if spin derivatives should be computed. If not, spin derivative is set to nullPatriusException
- if transform cannot be computed at given datepublic Transform getTransform(AbsoluteDate date) throws PatriusException
Transform
corresponding to specified date.
Warning: spin derivative is not computed.
getTransform
in interface TransformProvider
date
- current datePatriusException
- if transform cannot be computed at given datepublic Transform getTransform(AbsoluteDate date, FramesConfiguration config) throws PatriusException
Transform
corresponding to specified date.
Warning: spin derivative is not computed.
getTransform
in interface TransformProvider
date
- current dateconfig
- frames configuration to usePatriusException
- if transform cannot be computed at given datepublic Transform getTransform(AbsoluteDate date, FramesConfiguration config, boolean computeSpinDerivatives) throws PatriusException
Transform
corresponding to specified date.getTransform
in interface TransformProvider
date
- current dateconfig
- frames configuration to usecomputeSpinDerivatives
- true if spin derivatives should be computed. If not, spin derivative is set to nullPatriusException
- if transform cannot be computed at given dateCopyright © 2017 CNES. All rights reserved.