Package org.orekit.propagation.events
Class AbstractTopocentricDetector<T extends AbstractDetector<T>>
java.lang.Object
org.orekit.propagation.events.AbstractDetector<T>
org.orekit.propagation.events.AbstractTopocentricDetector<T>
- Type Parameters:
T- type of the detector
- All Implemented Interfaces:
EventDetector
- Direct Known Subclasses:
ElevationDetector,ElevationExtremumDetector,GroundAtNightDetector
public abstract class AbstractTopocentricDetector<T extends AbstractDetector<T>>
extends AbstractDetector<T>
Abstract class for detectors using a topocentric frame.
- Since:
- 13.1
- Author:
- Romain Serra
- See Also:
-
Field Summary
Fields inherited from class org.orekit.propagation.events.AbstractDetector
DEFAULT_MAX_CHECK, DEFAULT_MAX_ITER, DEFAULT_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTopocentricDetector(EventFunction eventFunction, EventDetectionSettings detectionSettings, EventHandler handler, TopocentricFrame topocentricFrame) Protected constructor with full parameters. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the elevation value.Getter for the topocentric frame.Methods inherited from class org.orekit.propagation.events.AbstractDetector
checkIfForward, create, getDetectionSettings, getEventFunction, getHandler, init, isForward, withDetectionSettings, withHandler, withMaxCheck, withMaxCheck, withMaxIter, withThresholdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.EventDetector
finish, g, getMaxCheckInterval, getMaxIterationCount, getThreshold, reset
-
Constructor Details
-
AbstractTopocentricDetector
protected AbstractTopocentricDetector(EventFunction eventFunction, EventDetectionSettings detectionSettings, EventHandler handler, TopocentricFrame topocentricFrame) Protected constructor with full parameters.- Parameters:
eventFunction- event functiondetectionSettings- event detection settingshandler- event handler to call at event occurrencestopocentricFrame- topocentric frame- Since:
- 14.0
-
-
Method Details
-
getTopocentricFrame
Getter for the topocentric frame.- Returns:
- frame
-
getElevation
Get the elevation value.- Parameters:
s- the current state information: date, kinematics, attitude- Returns:
- spacecraft elevation
-