|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.propagation.events.AbstractDetector
org.orekit.propagation.events.AOLDetector
fr.cnes.genopus.nonWidget.events.CustomAOLDetector
public class CustomAOLDetector
Sub-class of Orekit's AOLDetector class to be able to change the action to be performed in case of event detection.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.orekit.propagation.events.EventDetector |
|---|
org.orekit.propagation.events.EventDetector.Action |
| Field Summary |
|---|
| Fields inherited from class org.orekit.propagation.events.AbstractDetector |
|---|
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD |
| Fields inherited from interface org.orekit.propagation.events.EventDetector |
|---|
DECREASING, INCREASING, INCREASING_DECREASING |
| Constructor Summary | |
|---|---|
CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerCount,
boolean shouldBeRemovedOnOccurrence)
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 triggerCount,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action,
boolean shouldBeRemovedOnOccurrence)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck, threshold and action are also configurable. |
|
| Method Summary | |
|---|---|
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. |
org.orekit.frames.Frame |
getEquator()
Getter for the equator frame with respect to which the AOL is to be computed. |
fr.cnes.sirius.patrius.events.GenericCodingEventDetector |
getGenericCodingEventDetector(String incEventString,
String decEventString)
Get the generic coding event detector for a given increasing and decreasing messages. |
boolean |
getShouldBeRemovedAtOccurrence()
Getter for the flag to set if the event should be removed after first occurrence. |
int |
getTriggerCount()
Getter for the count from which the event must be triggered. |
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()
|
| Methods inherited from class org.orekit.propagation.events.AOLDetector |
|---|
g, getAOL, getAOLFrame, getAOLType, init |
| Methods inherited from class org.orekit.propagation.events.AbstractDetector |
|---|
getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.orekit.propagation.events.EventDetector |
|---|
g, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init |
| Constructor Detail |
|---|
public CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerCount,
boolean shouldBeRemovedOnOccurrence)
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.triggerCount - for successive event occurrences, count for which the event must be triggered.shouldBeRemovedOnOccurrence - for successive event occurrences, false if the event shouldn't be removed, true if the event
should be removed
public CustomAOLDetector(double angle,
org.orekit.orbits.PositionAngle type,
org.orekit.frames.Frame equator,
int triggerCount,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action,
boolean shouldBeRemovedOnOccurrence)
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.triggerCount - for successive event occurrences, count for which the event must be triggered.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.shouldBeRemovedOnOccurrence - for successive event occurrences, false if the event shouldn't be removed, true if the event
should be removed| Method Detail |
|---|
public double getAngle()
public org.orekit.orbits.PositionAngle getType()
public org.orekit.frames.Frame getEquator()
public int getTriggerCount()
getTriggerCount in interface CustomTriggeredEventDetectorpublic org.orekit.propagation.events.EventDetector.Action getAction()
getAction in interface CustomEventDetectorpublic boolean getShouldBeRemovedAtOccurrence()
public 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 String toString()
toString in class Objectpublic boolean shouldBeRemoved()
shouldBeRemoved in interface org.orekit.propagation.events.EventDetectorshouldBeRemoved in class org.orekit.propagation.events.AOLDetector
public fr.cnes.sirius.patrius.events.GenericCodingEventDetector getGenericCodingEventDetector(String incEventString,
String decEventString)
incEventString - 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 function
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||