public abstract class GroundPointing extends Object implements AttitudeProvider
This class is a basic model for different kind of ground pointing attitude providers, such as : body center pointing, nadir pointing, target pointing, etc...
The object GroundPointing
is guaranteed to be immutable.
AttitudeProvider
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
GroundPointing(Frame bodyFrame)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
Frame |
getBodyFrame()
Get the body frame.
|
protected abstract TimeStampedPVCoordinates |
getTargetPV(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point position/velocity in specified frame.
|
protected GroundPointing(Frame bodyFrame)
bodyFrame
- the frame that rotates with the bodypublic Frame getBodyFrame()
protected abstract TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedOrekitException
- if some specific error occurs,
such as no target reachedpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedOrekitException
- if attitude cannot be computedCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.