public final class FixedStepAttitudeEphemerisGenerator extends AbstractAttitudeEphemerisGenerator
AttitudeLegsSequence
,
using a fixed time step.NO_TRANSITIONS, provider, sequence, START_END_TRANSITIONS, START_TRANSITIONS, transitions
Constructor and Description |
---|
FixedStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double fixedStep,
int transitions,
PVCoordinatesProvider providerIn)
Builds an attitude ephemeris generator using a fixed time step and choosing the treatment to apply to the
transition points of the sequence.
|
FixedStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double fixedStep,
PVCoordinatesProvider providerIn)
Builds an attitude ephemeris generator using a fixed time step and ignoring the attitude law transition points of
the sequence.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
addLastPoint(AbsoluteDateInterval ephemerisInterval)
Decide if adding the last point of the time interval to the ephemeris list.
|
protected double |
computeStep(AbsoluteDate date,
AbsoluteDateInterval ephemerisInterval)
Computes the step used during attitude ephemeris generation.
|
generateEphemeris, generateEphemeris
public FixedStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence, double fixedStep, PVCoordinatesProvider providerIn)
legsSequence
- the sequence of attitude legs.fixedStep
- the fixed time step.providerIn
- PV coordinates providerpublic FixedStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence, double fixedStep, int transitions, PVCoordinatesProvider providerIn)
legsSequence
- the sequence of attitude legs.fixedStep
- the fixed time steptransitions
- what to do with the attitude laws transition points:
AbstractAttitudeEphemerisGenerator.NO_TRANSITIONS
to ignore the transition points of the
sequenceAbstractAttitudeEphemerisGenerator.START_TRANSITIONS
to compute the initial dates of the attitude
lawsAbstractAttitudeEphemerisGenerator.START_END_TRANSITIONS
to compute the initial and final dates of
the attitude laws.providerIn
- PV coordinates providerprotected double computeStep(AbsoluteDate date, AbsoluteDateInterval ephemerisInterval) throws PatriusException
computeStep
in class AbstractAttitudeEphemerisGenerator
date
- the dateephemerisInterval
- the interval of validity of the ephemerisPatriusException
- an orekit exceptionprotected boolean addLastPoint(AbsoluteDateInterval ephemerisInterval)
addLastPoint
in class AbstractAttitudeEphemerisGenerator
ephemerisInterval
- the interval of validity of the ephemeris.Copyright © 2021 CNES. All rights reserved.