org.orekit.attitudes
Class TargetGroundPointing

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

public class TargetGroundPointing
extends GroundPointing

This class handles target pointing attitude provider; while the class TargetPointing does not guarantee the target point belongs to the body surface, this class always provides a ground point target.

The satellite z axis is pointing to a ground point target.

Since:
2.0
Version:
$Id: TargetGroundPointing.java 17602 2017-05-18 08:25:23Z bignon $
Author:
Tiziana Sabatini
See Also:
GroundPointing, TargetPointing, Serialized Form
Concurrency :
immutable

Constructor Summary
TargetGroundPointing(BodyShape shape, GeodeticPoint targetGeo)
          Creates a new instance from body shape and target expressed in geodetic coordinates.
TargetGroundPointing(BodyShape bodyShape, Vector3D target)
          Creates a new instance from body shape and target expressed in cartesian coordinates.
 
Method Summary
protected  Vector3D getTargetPoint(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
          Compute the target point in specified frame.
 
Methods inherited from class org.orekit.attitudes.GroundPointing
getAttitude, getBodyFrame, getBodyShape, getTargetPV
 
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

TargetGroundPointing

public TargetGroundPointing(BodyShape bodyShape,
                            Vector3D target)
Creates a new instance from body shape and target expressed in cartesian coordinates.

Parameters:
bodyShape - body shape.
target - target position in body frame

TargetGroundPointing

public TargetGroundPointing(BodyShape shape,
                            GeodeticPoint targetGeo)
Creates a new instance from body shape and target expressed in geodetic coordinates.

Parameters:
shape - body shape
targetGeo - target defined as a geodetic point in body shape frame
Method Detail

getTargetPoint

protected Vector3D getTargetPoint(PVCoordinatesProvider pvProv,
                                  AbsoluteDate date,
                                  Frame frame)
                           throws OrekitException
Compute the target point in specified frame.

Specified by:
getTargetPoint in class GroundPointing
Parameters:
pvProv - provider for PV coordinates
date - date at which target point is requested
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


Copyright © 2017 CNES. All Rights Reserved.