org.orekit.attitudes
Class SunPointing

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

public class SunPointing
extends TwoDirectionsAttitude

This class implements a Sun pointing attitude law. The first direction is the satellite-sun direction, the second direction is either the sun poles axis or the normal to the satellite orbit.

Since:
1.2
Version:
$Id: SunPointing.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Julie Anton
See Also:
IDirection, Serialized Form
Concurrency :
unconditionally thread safe

Constructor Summary
SunPointing(CelestialBody body, Vector3D firstAxis, Vector3D secondAxis)
          Constructor of the sun pointing attitude law.
SunPointing(CelestialBody body, Vector3D firstAxis, Vector3D secondAxis, CelestialBody sun)
          Constructor of the sun pointing attitude law.
SunPointing(Vector3D firstAxis, Vector3D secondAxis)
          Constructor of the sun pointing attitude law.
SunPointing(Vector3D firstAxis, Vector3D secondAxis, CelestialBody sun)
          Constructor of the sun pointing attitude law.
 
Method Summary
 
Methods inherited from class org.orekit.attitudes.TwoDirectionsAttitude
getAttitude
 
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

SunPointing

public SunPointing(Vector3D firstAxis,
                   Vector3D secondAxis)
            throws OrekitException
Constructor of the sun pointing attitude law. The first direction is the sun-satellite direction, the second direction is the sun poles axis.

Sun is defined by CelestialBodyFactory.getSun() (JPL ephemeris model).

Parameters:
firstAxis - : satellite axis aligned with the first direction.
secondAxis - : satellite axis aligned at best with the second direction.
Throws:
OrekitException - if the sun cannot be built

SunPointing

public SunPointing(CelestialBody body,
                   Vector3D firstAxis,
                   Vector3D secondAxis)
            throws OrekitException
Constructor of the sun pointing attitude law. The first direction is the sun-satellite direction, the second direction is the normal to the satellite orbit.

Sun is defined by CelestialBodyFactory.getSun() (JPL ephemeris model).

Parameters:
body - : celestial body associated to the satellite orbit.
firstAxis - : satellite axis aligned with the first direction.
secondAxis - : satellite axis aligned at best with the second direction.
Throws:
OrekitException - if the sun cannot be built

SunPointing

public SunPointing(Vector3D firstAxis,
                   Vector3D secondAxis,
                   CelestialBody sun)
            throws OrekitException
Constructor of the sun pointing attitude law. The first direction is the sun-satellite direction, the second direction is the sun poles axis.

Parameters:
firstAxis - satellite axis aligned with the first direction.
secondAxis - satellite axis aligned at best with the second direction.
sun - sun
Throws:
OrekitException - if the sun cannot be built

SunPointing

public SunPointing(CelestialBody body,
                   Vector3D firstAxis,
                   Vector3D secondAxis,
                   CelestialBody sun)
Constructor of the sun pointing attitude law. The first direction is the sun-satellite direction, the second direction is the normal to the satellite orbit.

Parameters:
body - celestial body associated to the satellite orbit.
firstAxis - satellite axis aligned with the first direction.
secondAxis - satellite axis aligned at best with the second direction.
sun - sun


Copyright © 2017 CNES. All Rights Reserved.