public enum FilterType extends Enum<FilterType>
filtering events
.
This class is heavily based on the class with the same name from the Apache Commons Math library. The changes performed consist in package name and error handling.
Enum Constant and Description |
---|
TRIGGER_ONLY_DECREASING_EVENTS
Constant for triggering only decreasing events.
|
TRIGGER_ONLY_INCREASING_EVENTS
Constant for triggering only increasing events.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
getTriggeredIncreasing()
Get the increasing status of triggered events.
|
protected abstract org.orekit.propagation.events.Transformer |
selectTransformer(org.orekit.propagation.events.Transformer previous,
double g,
boolean forward)
Get next function transformer in the specified direction.
|
static FilterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterType TRIGGER_ONLY_DECREASING_EVENTS
When this filter is used, the wrapped event detector
eventOccurred
method will be called only with
its increasing
argument set to false.
public static final FilterType TRIGGER_ONLY_INCREASING_EVENTS
When this filter is used, the wrapped event detector
eventOccurred
method will be called only with
its increasing
argument set to true.
public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract boolean getTriggeredIncreasing()
protected abstract org.orekit.propagation.events.Transformer selectTransformer(org.orekit.propagation.events.Transformer previous, double g, boolean forward)
previous
- transformer active on the previous point with respect
to integration direction (may be null if no previous point is known)g
- current value of the g functionforward
- true if integration goes forwardCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.