org.orekit.attitudes
Class ConstantAttitudeLaw
java.lang.Object
org.orekit.attitudes.AbstractAttitudeLaw
org.orekit.attitudes.ConstantAttitudeLaw
- All Implemented Interfaces:
- Serializable, AttitudeLaw, AttitudeProvider
public class ConstantAttitudeLaw
- extends AbstractAttitudeLaw
This class handles a constant attitude law.
Instances of this class are guaranteed to be immutable.
- Since:
- 3.0
- Version:
- $Id: ConstantAttitudeLaw.java 17602 2017-05-18 08:25:23Z bignon $
- Author:
- pontisso
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantAttitudeLaw
public ConstantAttitudeLaw(Frame referenceFrame,
Rotation rotation)
- Creates new instance.
- Parameters:
referenceFrame
- the reference framerotation
- rotation from reference frame to satellite frame.
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 datedate
- current dateframe
- 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.