org.orekit.attitudes
Class AbstractAttitudeLaw
java.lang.Object
org.orekit.attitudes.AbstractAttitudeLaw
- All Implemented Interfaces:
- Serializable, AttitudeLaw, AttitudeProvider
- Direct Known Subclasses:
- BodyCenterPointing, CelestialBodyPointed, ComposedAttitudeLaw, ConstantAttitudeLaw, FixedRate, GroundPointing, IsisSunPointing, LofOffset, SpinStabilized, TargetPointing, TwoDirectionsAttitude
public abstract class AbstractAttitudeLaw
- extends Object
- implements AttitudeLaw
This abstract class gather all common features to classes implementing the AttitudeLaw
interface.
- Since:
- 1.3
- Version:
- $Id: AbstractAttitudeLaw.java 15670 2016-03-29 10:45:44Z bignon $
- Author:
- chabaudp
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAttitudeLaw
public AbstractAttitudeLaw()
getAttitude
public Attitude getAttitude(Orbit orbit)
throws OrekitException
- Compute the attitude corresponding to an orbital state.
- Specified by:
getAttitude
in interface AttitudeProvider
- Parameters:
orbit
- current orbit
- Returns:
- attitude attitude on the current orbit
- Throws:
OrekitException
- if attitude cannot be computed
setSpinDerivativesComputation
public void setSpinDerivativesComputation(boolean computeSpinDerivatives)
throws OrekitException
- Method to activate spin derivative computation.
- Specified by:
setSpinDerivativesComputation
in interface AttitudeProvider
- Parameters:
computeSpinDerivatives
- true if spin derivatives should be computed
- Throws:
OrekitException
- if spin derivatives can not be computed
getSpinDerivativesComputation
public boolean getSpinDerivativesComputation()
- Get the value of the flag indicating if spin derivation computation is activated.
- Returns:
- true if the spin derivative have to be computed,
false otherwise
Copyright © 2016 CNES. All Rights Reserved.