org.orekit.attitudes
Class FixedStepAttitudeEphemerisGenerator
java.lang.Object
org.orekit.attitudes.AbstractAttitudeEphemerisGenerator
org.orekit.attitudes.FixedStepAttitudeEphemerisGenerator
public final class FixedStepAttitudeEphemerisGenerator
- extends AbstractAttitudeEphemerisGenerator
This class handles the generation of attitude ephemeris from an attitude laws sequence AttitudeLegsSequence
,
using a fixed 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: FixedStepAttitudeEphemerisGenerator.java 8580 2013-04-22 08:32:59Z ClaudeD $
- 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 |
FixedStepAttitudeEphemerisGenerator
public FixedStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double fixedStep)
- Builds an attitude ephemeris generator using a fixed time step and ignoring the attitude law transition points of
the sequence.
- Parameters:
legsSequence
- the sequence of attitude legs.fixedStep
- the fixed time step.
FixedStepAttitudeEphemerisGenerator
public FixedStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double fixedStep,
int transitions)
- Builds an attitude ephemeris generator using a fixed time step and choosing the treatment to apply to the
transition points of the sequence.
- Parameters:
legsSequence
- the sequence of attitude legs.fixedStep
- the fixed time steptransitions
- what to do with the attitude laws transition points:
computeStep
protected double computeStep(AbsoluteDate date,
AbsoluteDateInterval ephemerisInterval)
throws OrekitException
- Description copied from class:
AbstractAttitudeEphemerisGenerator
- Computes the step used during attitude ephemeris generation.
- Specified by:
computeStep
in class AbstractAttitudeEphemerisGenerator
- Parameters:
date
- the 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.