public class CustomAOLDetector extends org.orekit.propagation.events.AOLDetector implements CustomTriggeredEventDetector
| Constructor and Description |
|---|
CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerFrom,
Integer triggerStep,
Integer triggerTo)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck (600 s)
and threshold (1.0e-6 s) by default.
|
CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerFrom,
Integer triggerStep,
Integer triggerTo,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck,
threshold and action are also configurable.
|
| Modifier and Type | Method and Description |
|---|---|
CustomEventDetector |
copy()
Returns a new instance of the current type of
CustomEventDetector with the same attributes but
for the action which is set to Action#CONTINUE. |
org.orekit.propagation.events.EventDetector.Action |
eventOccurred(org.orekit.propagation.SpacecraftState s,
boolean increasing,
boolean forward) |
org.orekit.propagation.events.EventDetector.Action |
getAction()
Getter for the action to be performed in case of event detection.
|
double |
getAngle()
Getter for the target AOL.
|
fr.cnes.sirius.patrius.events.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the generic coding event detectors for a given increasing and decreasing messages.
|
org.orekit.frames.Frame |
getEquator()
Getter for the equator frame with respect to which the AOL is to be computed.
|
int |
getTriggerFrom()
Getter for the count from which the event must be triggered.
|
Integer |
getTriggerStep()
Getter for the step every which the event must be triggered.
|
Integer |
getTriggerTo()
Getter for the count until which the event must be triggered.
|
CustomEventDetectorTrigger.TriggeringType |
getTriggerType()
Getter for the trigger type, that is, the slope of the switching function that must trigger the event.
|
org.orekit.orbits.PositionAngle |
getType()
Getter for the target AOL type (true, mean, eccentric).
|
org.orekit.propagation.SpacecraftState |
resetState(org.orekit.propagation.SpacecraftState oldState) |
boolean |
shouldBeRemoved() |
String |
toString() |
g, getAOL, getAOLFrame, getAOLType, initgetMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThresholdpublic CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerFrom,
Integer triggerStep,
Integer triggerTo)
angle - the AOL angle to find.type - the type of AOL angle (true, mean or eccentric).equator - the equatorial frame with respect to which the AOL is to be computed.triggerFrom - count at/from which the single/multiple event must be triggered.triggerStep - step every which the multiple event must be triggered. If null, the event will be triggered
only once at the occurrence given by triggerFrom.triggerTo - count until which the multiple event must be triggered. If null, the event will be triggered
until the end of propagation.public CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerFrom,
Integer triggerStep,
Integer triggerTo,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
angle - the AOL angle to find.type - the type of AOL angle (true, mean or eccentric).equator - the equatorial frame with respect to which the AOL is to be computed.triggerFrom - count at/from which the single/multiple event must be triggered.triggerStep - step every which the multiple event must be triggered. If null, the event will be triggered
only once at the occurrence given by triggerFrom.triggerTo - count until which the multiple event must be triggered. If null, the event will be triggered
until the end of propagation.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.public double getAngle()
public org.orekit.orbits.PositionAngle getType()
public org.orekit.frames.Frame getEquator()
public int getTriggerFrom()
getTriggerFrom in interface CustomTriggeredEventDetectorpublic Integer getTriggerStep()
getTriggerStep in interface CustomTriggeredEventDetectorpublic Integer getTriggerTo()
getTriggerTo in interface CustomTriggeredEventDetectorpublic org.orekit.propagation.events.EventDetector.Action getAction()
getAction in interface CustomEventDetectorpublic org.orekit.propagation.events.EventDetector.Action eventOccurred(org.orekit.propagation.SpacecraftState s,
boolean increasing,
boolean forward)
eventOccurred in interface org.orekit.propagation.events.EventDetectoreventOccurred in class org.orekit.propagation.events.AOLDetectorpublic org.orekit.propagation.SpacecraftState resetState(org.orekit.propagation.SpacecraftState oldState)
resetState in interface org.orekit.propagation.events.EventDetectorresetState in class org.orekit.propagation.events.AbstractDetectorpublic boolean shouldBeRemoved()
shouldBeRemoved in interface org.orekit.propagation.events.EventDetectorshouldBeRemoved in class org.orekit.propagation.events.AOLDetectorpublic CustomEventDetector copy()
CustomEventDetector with the same attributes but
for the action which is set to Action#CONTINUE. It is intended to be used to create the
CodingEventDetector.copy in interface CustomEventDetectorAction#CONTINUEpublic fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector in interface CustomEventDetectorincEventString - message for the log when the detector is triggered with increasing g functiondecEventString - message for the log when the detector is triggered with decreasing g functionpublic CustomEventDetectorTrigger.TriggeringType getTriggerType()
CustomEventDetectorTrigger.TriggeringType.INCREASING for increasing slope,
CustomEventDetectorTrigger.TriggeringType.DECREASING for decreasing slope and CustomEventDetectorTrigger.TriggeringType.BOTH for increasing
or decreasing slope of the switching function.getTriggerType in interface CustomTriggeredEventDetectorCopyright © 2017. All rights reserved.