Package org.orekit.propagation.events
Interface FieldEnablingPredicate<T extends CalculusFieldElement<T>>
-
- Type Parameters:
T
- type of the field elements
public interface FieldEnablingPredicate<T extends CalculusFieldElement<T>>
This interface represents an event enabling predicate function.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
eventIsEnabled(FieldSpacecraftState<T> state, FieldEventDetector<T> detector, T g)
Compute an event enabling function of state.
-
-
-
Method Detail
-
eventIsEnabled
boolean eventIsEnabled(FieldSpacecraftState<T> state, FieldEventDetector<T> detector, T g)
Compute an event enabling function of state.- Parameters:
state
- current statedetector
- 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
-
-