org.orekit.attitudes
Class IsisSunPointing

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by 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

Constructor Summary
IsisSunPointing(CelestialBody sunBody)
          Build a new instance of the class.
IsisSunPointing(IDirection sunDir)
          Build a new instance of the class.
 
Method Summary
 Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
          Compute the attitude corresponding to an orbital state.
 
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

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.
Method Detail

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 date
date - current date
frame - 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.