public abstract class AbstractAttitudeEphemerisGenerator extends Object
AttitudeLegsSequence
.FixedStepAttitudeEphemerisGenerator
,
VariableStepAttitudeEphemerisGenerator
Modifier and Type | Field and Description |
---|---|
static int |
NO_TRANSITIONS
The transition points are ignored.
|
protected PVCoordinatesProvider |
provider
PV coordinate provider.
|
protected AttitudeLegsSequence |
sequence
Attitude legs sequence.
|
static int |
START_END_TRANSITIONS
The start and the end point of the laws are computed.
|
static int |
START_TRANSITIONS
The start date of the laws are computed.
|
protected int |
transitions
Flag specifying what to do with the attitude laws transition points.
|
Constructor and Description |
---|
AbstractAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence,
int transitionPoints,
PVCoordinatesProvider providerIn)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
addLastPoint(AbsoluteDateInterval ephemerisInterval)
Decide if adding the last point of the time interval to the ephemeris list.
|
protected abstract double |
computeStep(AbsoluteDate date,
AbsoluteDateInterval ephemerisInterval)
Computes the step used during attitude ephemeris generation.
|
SortedSet<Attitude> |
generateEphemeris(AbsoluteDateInterval ephemerisInterval,
Frame frame)
Computes attitude ephemeris using a fixed or variable time step and choosing the interval of validity.
|
SortedSet<Attitude> |
generateEphemeris(Frame frame)
Computes attitude ephemeris using a fixed or variable time step.
|
public static final int START_TRANSITIONS
public static final int START_END_TRANSITIONS
public static final int NO_TRANSITIONS
protected final AttitudeLegsSequence sequence
protected final int transitions
protected final PVCoordinatesProvider provider
public AbstractAttitudeEphemerisGenerator(AttitudeLegsSequence legsSequence, int transitionPoints, PVCoordinatesProvider providerIn)
legsSequence
- the sequence of attitude legs.transitionPoints
- what to do with the attitude laws transition points.providerIn
- PV coordinates providerpublic SortedSet<Attitude> generateEphemeris(Frame frame) throws PatriusException
frame
- the frame of the computed attitude ephemerisPatriusException
- an orekit exceptionpublic SortedSet<Attitude> generateEphemeris(AbsoluteDateInterval ephemerisInterval, Frame frame) throws PatriusException
ephemerisInterval
- the interval of validity of the ephemerisframe
- the frame of the computed attitude ephemerisPatriusException
- an orekit exceptionprotected abstract double computeStep(AbsoluteDate date, AbsoluteDateInterval ephemerisInterval) throws PatriusException
date
- the dateephemerisInterval
- the interval of validity of the ephemerisPatriusException
- an orekit exceptionprotected abstract boolean addLastPoint(AbsoluteDateInterval ephemerisInterval)
ephemerisInterval
- the interval of validity of the ephemeris.Copyright © 2019 CNES. All Rights Reserved.