public class ManeuversSequence extends Object
Maneuvers defined with dates cannot overlap. Maneuvers defined by generic events can overlap.
ContinuousThrustManeuver
,
ImpulseManeuver
Constructor and Description |
---|
ManeuversSequence(double dTcontinue,
double dTimpulse)
Constructor of the maneuvers sequence.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(ContinuousThrustManeuver maneuver)
Adds a continuous maneuver to the list.
|
boolean |
add(ImpulseManeuver maneuver)
Adds an impulse maneuver to the list.
|
void |
applyTo(NumericalPropagator propagator)
Adds all the maneuvers (continue and impulse) to the propagator.
|
double |
getConstraintContinuous()
Get the time constraint for continuous maneuvers.
|
double |
getConstraintImpulsive()
Get the time constraint for impulsive maneuvers.
|
Set<ContinuousThrustManeuver> |
getContinueManeuversList()
Get the continue maneuvers list.
|
Set<ImpulseManeuver> |
getImpulseManeuversList()
Get the continue maneuvers list.
|
List<Maneuver> |
getManeuversList()
Get the custom maneuvers list.
|
int |
getSize() |
boolean |
remove(ContinuousThrustManeuver maneuver)
Remove the selected continue maneuver from the list.
|
boolean |
remove(ImpulseManeuver maneuver)
Remove the selected impulse maneuver from the list.
|
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.public final boolean add(ContinuousThrustManeuver maneuver)
DateDetector
, always add the maneuver; it
means some overlapping may occur.DateDetector
, always check first if the time interval of the
maneuver respects the two following conditions:
maneuver
- the continue maneuver to add to the listpublic final boolean remove(ContinuousThrustManeuver maneuver)
maneuver
- the maneuver to remove from the listpublic final boolean add(ImpulseManeuver maneuver)
DateDetector
, always add the maneuver; it
means some overlapping may occur.DateDetector
, check if the date of the maneuver respects the
two following conditions:
maneuver
- the impulse maneuver to add to the listpublic final boolean remove(ImpulseManeuver maneuver)
maneuver
- the maneuver to remove from the listpublic final int getSize()
public final void applyTo(NumericalPropagator propagator)
propagator
- the propagator to which all the maneuvers must be appliedpublic Set<ContinuousThrustManeuver> getContinueManeuversList()
public Set<ImpulseManeuver> getImpulseManeuversList()
public List<Maneuver> getManeuversList()
public double getConstraintImpulsive()
public double getConstraintContinuous()
Copyright © 2021 CNES. All rights reserved.