org.orekit.attitudes
Class TargetGroundPointing
java.lang.Object
org.orekit.attitudes.AbstractAttitudeLaw
org.orekit.attitudes.GroundPointing
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 shapetargetGeo
- target defined as a geodetic point in body shape frame
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 coordinatesdate
- date at which target point is requestedframe
- 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.