public class BodyCenterPointing extends AbstractAttitudeLaw
This class represents the attitude provider where the satellite z axis is pointing to the body frame center.
The object BodyCenterPointing
is guaranteed to be immutable.
GroundPointing
,
Serialized FormConstructor and Description |
---|
BodyCenterPointing()
Creates new instance.
|
BodyCenterPointing(Frame bodyFrameIn)
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, setSpinDerivativesComputation
public BodyCenterPointing(Frame bodyFrameIn)
bodyFrameIn
- This frame is the pivot in the transformation from an actual frame to the
local orbital frame.public BodyCenterPointing()
The GCRF frame is used as pivot in the transformation from an actual frame to the local orbital frame.
public 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 © 2019 CNES. All rights reserved.