org.orekit.attitudes
Class VariableStepAttitudeEphemerisGenerator
java.lang.Object
org.orekit.attitudes.AbstractAttitudeEphemerisGenerator
org.orekit.attitudes.VariableStepAttitudeEphemerisGenerator
public class VariableStepAttitudeEphemerisGenerator
- extends AbstractAttitudeEphemerisGenerator
This class handles the generation of attitude ephemeris from an attitude laws
sequence AttitudeLegsSequence
, using a variable time step.
The ephemeris generation can be done setting the generation time interval
(the default value is the time interval of the sequence), and the treatment
to apply to the transition points of the sequence (ignore them, compute the
attitude of the initial date of the laws, compute the attitude of the initial
and final date of the laws).
- Since:
- 1.3
- Version:
- $Id: VariableStepAttitudeEphemerisGenerator.java 8434 2013-04-10
15:34:31Z SabatiniT $
- Author:
- Tiziana Sabatini
- Concurrency :
- not thread-safe
- Concurrency comment :
- The AttitudeLegsSequence attribute is mutable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableStepAttitudeEphemerisGenerator
public VariableStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double stepMin,
double stepMax,
double angDistMax)
- Builds an attitude ephemeris generator using a variable time step and
ignoring the attitude law transition points of the sequence.
- Parameters:
legsSequence
- the sequence of attitude legs.stepMin
- the minimum time stepstepMax
- the maximum time stepangDistMax
- the maximum allowed angular distance between two consecutive
attitude ephemeris
VariableStepAttitudeEphemerisGenerator
public VariableStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double stepMin,
double stepMax,
double angDistMax,
int transitions)
- Builds an attitude ephemeris generator using a variable time step and
choosing the treatment to apply to the transition points of the sequence.
- Parameters:
legsSequence
- the sequence of attitude legs.stepMin
- the minimum time stepstepMax
- the maximum time stepangDistMax
- the maximum allowed angular distance between two consecutive
attitude ephemeristransitions
- what to do with the attitude laws transition points:
computeStep
protected double computeStep(AbsoluteDate date,
AbsoluteDateInterval ephemerisInterval)
throws OrekitException
- Computes the step used during the variable step ephemeris generation.
- Specified by:
computeStep
in class AbstractAttitudeEphemerisGenerator
- Parameters:
date
- the initial dateephemerisInterval
- the interval of validity of the ephemeris
- Returns:
- the computed step
- Throws:
OrekitException
- an orekit exception
addLastPoint
protected boolean addLastPoint(AbsoluteDateInterval ephemerisInterval)
- Description copied from class:
AbstractAttitudeEphemerisGenerator
- Decide if adding the last point of the time interval to the ephemeris list.
- Specified by:
addLastPoint
in class AbstractAttitudeEphemerisGenerator
- Parameters:
ephemerisInterval
- the interval of validity of the ephemeris.
- Returns:
- true if the attitude at the last point has to be computed.
Copyright © 2016 CNES. All Rights Reserved.