org.orekit.attitudes
Class BodyCenterPointing

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by org.orekit.attitudes.BodyCenterPointing
All Implemented Interfaces:
Serializable, AttitudeLaw, AttitudeProvider

public class BodyCenterPointing
extends AbstractAttitudeLaw

This class handles body center pointing attitude provider.

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.

Author:
Véronique Pommier-Maurussane
See Also:
GroundPointing, Serialized Form

Constructor Summary
BodyCenterPointing()
          Creates new instance.
BodyCenterPointing(Frame bodyFrame)
          Creates new instance.
 
Method Summary
 Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
          Compute the attitude corresponding to an orbital state.
 
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyCenterPointing

public BodyCenterPointing(Frame bodyFrame)
Creates new instance.

Parameters:
bodyFrame - This frame is the pivot in the transformation from an actual frame to the local orbital frame.

BodyCenterPointing

public BodyCenterPointing()
Creates new instance.

The GCRF frame is used as pivot in the transformation from an actual frame to the local orbital frame.

Method Detail

getAttitude

public Attitude getAttitude(PVCoordinatesProvider pvProv,
                            AbsoluteDate date,
                            Frame frame)
                     throws OrekitException
Compute the attitude corresponding to an orbital state.

Parameters:
pvProv - local position-velocity provider around current date
date - current date
frame - reference frame from which attitude is computed
Returns:
attitude attitude on the specified date and position-velocity state
Throws:
OrekitException - if attitude cannot be computed


Copyright © 2017 CNES. All Rights Reserved.