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)
Deprecated.
as of 7.1 replaced with
GroundPointing(Frame, Frame) |
protected |
GroundPointing(Frame inertialFrame,
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.
|
@Deprecated protected GroundPointing(Frame bodyFrame)
GroundPointing(Frame, Frame)
bodyFrame
- the frame that rotates with the bodyprotected GroundPointing(Frame inertialFrame, Frame bodyFrame) throws OrekitException
inertialFrame
- frame in which orbital velocities are computedbodyFrame
- the frame that rotates with the bodyOrekitException
- if the first frame specified is not a pseudo-inertial framepublic 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-2016 CS Systèmes d'information. All rights reserved.