org.orekit.attitudes
Class IsisSunPointing
java.lang.Object
org.orekit.attitudes.AbstractAttitudeLaw
org.orekit.attitudes.IsisSunPointing
- All Implemented Interfaces:
- Serializable, AttitudeLaw, AttitudeProvider
public class IsisSunPointing
- extends AbstractAttitudeLaw
Implementation of ISIS Sun pointing attitude law.
This class implements AttitudeProvider
, so the associated
service AttitudeProvider.getAttitude(PVCoordinatesProvider, AbsoluteDate, Frame)
is available.
ISIS Sun pointing law corresponds to an ordered attitude matching with the Sun axis
(X_sun, Y_sun, Z_sun) computed in GCRF frame by specific formulae.
- Since:
- 3.3
- Version:
- $Id: IsisSunPointing.java 17582 2017-05-10 12:58:16Z bignon $
- Author:
- rodriguest
- See Also:
- Serialized Form
- Concurrency :
- not thread-safe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsisSunPointing
public IsisSunPointing(IDirection sunDir)
throws OrekitException
- Build a new instance of the class.
- Parameters:
sunDir
- the Sun direction in the inertial frame
- Throws:
OrekitException
- if the Sun cannot be built
IsisSunPointing
public IsisSunPointing(CelestialBody sunBody)
- Build a new instance of the class.
- Parameters:
sunBody
- the Sun body.
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.