Package org.orekit.propagation.events
Interface EnablingPredicate<S extends EventDetector>
-
public interface EnablingPredicate<S extends EventDetector>
This interface represents an event enabling predicate function.- Since:
- 7.1
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
eventIsEnabled(SpacecraftState state, S eventDetector, double g)
Compute an event enabling function of state.
-
-
-
Method Detail
-
eventIsEnabled
boolean eventIsEnabled(SpacecraftState state, S eventDetector, double g)
Compute an event enabling function of state.- Parameters:
state
- current stateeventDetector
- underlying detectorg
- value of the underlying detector for the current state- Returns:
- true if the event is enabled (i.e. it can be triggered), false if it should be ignored
-
-