public abstract class AbstractAttitudeLaw extends Object implements AttitudeLaw
AttitudeLaw
interface. Constructor and Description |
---|
AbstractAttitudeLaw() |
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(Orbit orbit)
Compute the attitude corresponding to an orbital state.
|
boolean |
getSpinDerivativesComputation()
Get the value of the flag indicating if spin derivation computation is activated.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitude
public Attitude getAttitude(Orbit orbit) throws PatriusException
getAttitude
in interface AttitudeProvider
orbit
- current orbitPatriusException
- if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
setSpinDerivativesComputation
in interface AttitudeProvider
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedpublic boolean getSpinDerivativesComputation()
Copyright © 2019 CNES. All rights reserved.