org.orekit.attitudes
Class BodyCenterPointing

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

public class BodyCenterPointing
extends GroundPointing

This class handles body center pointing attitude law.

This class represents the attitude law where the satellite z axis is pointing to the body frame center.

The object BodyCenterPointing is guaranteed to be immutable.

Version:
$Revision:1665 $ $Date:2008-06-11 12:12:59 +0200 (mer., 11 juin 2008) $
Author:
Véronique Pommier-Maurussane
See Also:
GroundPointing, Serialized Form

Constructor Summary
BodyCenterPointing(Frame bodyFrame)
          Creates new instance.
 
Method Summary
protected  org.apache.commons.math.geometry.Vector3D getTargetPoint(Orbit orbit, Frame frame)
          Compute the target point in specified frame.
protected  PVCoordinates getTargetPV(Orbit orbit, Frame frame)
          Compute the target point position/velocity in specified frame.
 
Methods inherited from class org.orekit.attitudes.GroundPointing
getAttitude, getBodyFrame
 
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 - Body frame
Method Detail

getTargetPoint

protected org.apache.commons.math.geometry.Vector3D getTargetPoint(Orbit orbit,
                                                                   Frame frame)
                                                            throws OrekitException
Compute the target point in specified frame.

Specified by:
getTargetPoint in class GroundPointing
Parameters:
orbit - orbit state
frame - frame in which observed ground point should be provided
Returns:
observed ground point position in specified frame
Throws:
OrekitException - if some specific error occurs, such as no target reached

getTargetPV

protected PVCoordinates getTargetPV(Orbit orbit,
                                    Frame frame)
                             throws OrekitException
Compute the target point position/velocity in specified frame.

The default implementation use a simple two points finite differences scheme, it may be replaced by more accurate models in specialized implementations.

Overrides:
getTargetPV in class GroundPointing
Parameters:
orbit - orbit state
frame - frame in which observed ground point should be provided
Returns:
observed ground point position/velocity in specified frame
Throws:
OrekitException - if some specific error occurs, such as no target reached


Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.