|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.forces.maneuvers.ManeuversSequence
public class ManeuversSequence
This class handles a sequence of different maneuvers.
The maneuvers can be continue maneuvers (with constant or variable thrust), or impulse
maneuvers.
ConstantThrustManeuver
,
ImpulseManeuver
,
VariableThrustManeuver
Constructor Summary | |
---|---|
ManeuversSequence(double dTcontinue,
double dTimpulse)
Constructor of the maneuvers sequence. |
Method Summary | |
---|---|
boolean |
add(ConstantThrustManeuver maneuver)
Adds a continue maneuver (with constant thrust) to the list. Always check first if the time interval of the maneuver respects the two following conditions: no superposition with any maneuver in the list; the time between the end of the previous maneuver and the start of the maneuver to add, as well as the time between the end of the maneuver to add and the start of the next maneuver, must be bigger than the threshold value. |
boolean |
add(ImpulseManeuver maneuver)
Adds an impulse maneuver to the list. Two scenarios are possible: the maneuver to add is triggered by a detector other than DateDetector , always add the
maneuver;
the maneuver to add is triggered by a DateDetector , check if the date of the maneuver
respects the two following conditions:
no superposition with any maneuver in the list;
the time between the end of the previous maneuver and the date of the maneuver to add, as well as the time
between the end of the maneuver to add and the date of the next maneuver, must be bigger than the threshold
value.
|
boolean |
add(VariableThrustManeuver maneuver)
Adds a continue maneuver (with variable thrust) to the list. Always check first if the time interval of the maneuver respects the two following conditions: no superposition with any maneuver in the list; the time between the end of the previous maneuver and the start of the maneuver to add, as well as the time between the end of the maneuver to add and the start of the next maneuver, must be bigger than the threshold value. |
void |
applyTo(NumericalPropagator propagator)
Adds all the maneuvers (continue and impulse) to the propagator. |
int |
getSize()
|
boolean |
remove(ConstantThrustManeuver maneuver)
Remove the selected continue maneuver with constant thrust from the list. If the maneuver is not in the list, it returns false. |
boolean |
remove(ImpulseManeuver maneuver)
Remove the selected impulse maneuver from the list. If the maneuver is not in the list, it returns false. |
boolean |
remove(VariableThrustManeuver maneuver)
Remove the selected continue maneuver with variable thrust from the list. If the maneuver is not in the list, it returns false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManeuversSequence(double dTcontinue, double dTimpulse)
dTcontinue
- the minimum allowed time between a continue maneuver and the next maneuver.dTimpulse
- the minimum allowed time between an impulse maneuver and the next maneuver.Method Detail |
---|
public final boolean add(ConstantThrustManeuver maneuver)
maneuver
- the continue maneuver to add to the list
public final boolean remove(ConstantThrustManeuver maneuver)
maneuver
- the maneuver to remove from the list
public final boolean add(VariableThrustManeuver maneuver)
maneuver
- the continue maneuver to add to the list
public final boolean remove(VariableThrustManeuver maneuver)
maneuver
- the maneuver to remove from the list
public final boolean add(ImpulseManeuver maneuver)
DateDetector
, always add the
maneuver;DateDetector
, check if the date of the maneuver
respects the two following conditions:
maneuver
- the impulse maneuver to add to the list
public final boolean remove(ImpulseManeuver maneuver)
maneuver
- the maneuver to remove from the list
public final int getSize()
public final void applyTo(NumericalPropagator propagator)
propagator
- the propagator to which all the maneuvers must be applied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |