public class DateBasedManeuverTriggers extends Object implements ManeuverTriggers
Constructor and Description |
---|
DateBasedManeuverTriggers(AbsoluteDate date,
double duration) |
Modifier and Type | Method and Description |
---|---|
double |
getDuration()
Get the duration of the maneuver (s).
|
AbsoluteDate |
getEndDate()
Get the end date.
|
Stream<EventDetector> |
getEventsDetectors()
Get the event detectors associated with the triggers.
|
<T extends RealFieldElement<T>> |
getFieldEventsDetectors(Field<T> field)
Get the event detectors associated with the triggers.
|
AbsoluteDate |
getStartDate()
Get the start date.
|
void |
init(SpacecraftState initialState,
AbsoluteDate target)
Initialization method.
|
boolean |
isFiring(AbsoluteDate date)
Check if maneuvering is on.
|
boolean |
isFiring(AbsoluteDate date,
double[] parameters)
Find out if the maneuver is firing or not.
|
<T extends RealFieldElement<T>> |
isFiring(FieldAbsoluteDate<T> date,
T[] parameters)
Find out if the maneuver is firing or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getParametersDrivers
public DateBasedManeuverTriggers(AbsoluteDate date, double duration)
public AbsoluteDate getStartDate()
public AbsoluteDate getEndDate()
public double getDuration()
public void init(SpacecraftState initialState, AbsoluteDate target)
init
in interface ManeuverTriggers
initialState
- initial spacecraft state (at the start of propagation).target
- date of propagation. Not equal to initialState.getDate()
.public Stream<EventDetector> getEventsDetectors()
getEventsDetectors
in interface ManeuverTriggers
public <T extends RealFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
getFieldEventsDetectors
in interface ManeuverTriggers
T
- extends RealFieldElement<T>field
- field to which the state belongspublic boolean isFiring(AbsoluteDate date, double[] parameters)
isFiring
in interface ManeuverTriggers
date
- current dateparameters
- maneuver triggers parameterspublic <T extends RealFieldElement<T>> boolean isFiring(FieldAbsoluteDate<T> date, T[] parameters)
ManeuverTriggers
isFiring
in interface ManeuverTriggers
T
- extends RealFieldElement<T>date
- current dateparameters
- maneuver triggers parameterspublic boolean isFiring(AbsoluteDate date)
date
- current dateCopyright © 2002-2020 CS GROUP. All rights reserved.