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, waitgetName, getParametersDriverspublic DateBasedManeuverTriggers(AbsoluteDate date, double duration)
public AbsoluteDate getStartDate()
public AbsoluteDate getEndDate()
public double getDuration()
public void init(SpacecraftState initialState, AbsoluteDate target)
init in interface ManeuverTriggersinitialState - initial spacecraft state (at the start of propagation).target - date of propagation. Not equal to initialState.getDate().public Stream<EventDetector> getEventsDetectors()
getEventsDetectors in interface ManeuverTriggerspublic <T extends RealFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
getFieldEventsDetectors in interface ManeuverTriggersT - extends RealFieldElement<T>field - field to which the state belongspublic boolean isFiring(AbsoluteDate date, double[] parameters)
isFiring in interface ManeuverTriggersdate - current dateparameters - maneuver triggers parameterspublic <T extends RealFieldElement<T>> boolean isFiring(FieldAbsoluteDate<T> date, T[] parameters)
ManeuverTriggersisFiring in interface ManeuverTriggersT - extends RealFieldElement<T>date - current dateparameters - maneuver triggers parameterspublic boolean isFiring(AbsoluteDate date)
date - current dateCopyright © 2002-2020 CS GROUP. All rights reserved.