public class ConstantAttitudeLaw extends AbstractAttitudeLaw
Instances of this class are guaranteed to be immutable.
| Constructor and Description |
|---|
ConstantAttitudeLaw(Frame referenceFrameIn,
Rotation rotationIn)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputationpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computedCopyright © 2017 CNES. All rights reserved.