public class VariableStepAttitudeEphemerisGenerator extends AbstractAttitudeEphemerisGenerator
AttitudeLegsSequence
, using a variable time step.NO_TRANSITIONS, provider, sequence, START_END_TRANSITIONS, START_TRANSITIONS, transitions
Constructor and Description |
---|
VariableStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double stepMin,
double stepMax,
double angDistMax,
int transitions,
PVCoordinatesProvider providerIn)
Builds an attitude ephemeris generator using a variable time step and
choosing the treatment to apply to the transition points of the sequence.
|
VariableStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
double stepMin,
double stepMax,
double angDistMax,
PVCoordinatesProvider providerIn)
Builds an attitude ephemeris generator using a variable 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 the variable step ephemeris generation.
|
generateEphemeris, generateEphemeris
public VariableStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence, double stepMin, double stepMax, double angDistMax, PVCoordinatesProvider providerIn)
legsSequence
- the sequence of attitude legs.stepMin
- the minimum time stepstepMax
- the maximum time stepangDistMax
- the maximum allowed angular distance between two consecutive
attitude ephemerisproviderIn
- PV coordinates providerpublic VariableStepAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence, double stepMin, double stepMax, double angDistMax, int transitions, PVCoordinatesProvider providerIn)
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:
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 initial dateephemerisInterval
- the interval of validity of the ephemerisPatriusException
- an orekit exceptionprotected boolean addLastPoint(AbsoluteDateInterval ephemerisInterval)
AbstractAttitudeEphemerisGenerator
addLastPoint
in class AbstractAttitudeEphemerisGenerator
ephemerisInterval
- the interval of validity of the ephemeris.Copyright © 2019 CNES. All Rights Reserved.