|
||||||||||
| 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.AltitudeDetector
public class AltitudeDetector
Finder for satellite altitude crossing events.
This class finds altitude events (i.e. satellite crossing a predefined altitude level above ground).
The default implementation behavior is to continue propagation when ascending and to
stop propagation
when descending. This can be changed by overriding the
eventOccurred method in a
derived class.
Propagator.addEventDetector(EventDetector),
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.orekit.propagation.events.AbstractDetector |
|---|
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD |
| Fields inherited from interface org.orekit.propagation.events.EventDetector |
|---|
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP |
| Constructor Summary | |
|---|---|
AltitudeDetector(double altitude,
BodyShape bodyShape)
Build a new altitude detector. |
|
AltitudeDetector(double maxCheck,
double altitude,
BodyShape bodyShape)
Build a new altitude detector. |
|
AltitudeDetector(double maxCheck,
double threshold,
double altitude,
BodyShape bodyShape)
Build a new altitude detector. |
|
| Method Summary | |
|---|---|
int |
eventOccurred(SpacecraftState s,
boolean increasing)
Handle an altitude event and choose what to do next. |
double |
g(SpacecraftState s)
Compute the value of the switching function. |
double |
getAltitude()
Get the threshold altitude value. |
BodyShape |
getBodyShape()
Get the body shape. |
| Methods inherited from class org.orekit.propagation.events.AbstractDetector |
|---|
getMaxCheckInterval, getMaxIterationCount, getThreshold, resetState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AltitudeDetector(double altitude,
BodyShape bodyShape)
This simple constructor takes default values for maximal checking
interval (AbstractDetector.DEFAULT_MAXCHECK) and convergence threshold
(AbstractDetector.DEFAULT_THRESHOLD).
altitude - threshold altitude valuebodyShape - body shape with respect to which altitude should be evaluated
public AltitudeDetector(double maxCheck,
double altitude,
BodyShape bodyShape)
This simple constructor takes default value for convergence threshold
(AbstractDetector.DEFAULT_THRESHOLD).
The maximal interval between altitude checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
maxCheck - maximal checking interval (s)altitude - threshold altitude value (m)bodyShape - body shape with respect to which altitude should be evaluated
public AltitudeDetector(double maxCheck,
double threshold,
double altitude,
BodyShape bodyShape)
The maximal interval between altitude checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
maxCheck - maximal checking interval (s)threshold - convergence threshold (s)altitude - threshold altitude value (m)bodyShape - body shape with respect to which altitude should be evaluated| Method Detail |
|---|
public double getAltitude()
public BodyShape getBodyShape()
public int eventOccurred(SpacecraftState s,
boolean increasing)
throws OrekitException
The default implementation behavior is to continue propagation when ascending and to
stop propagationwhen descending.
eventOccurred in interface EventDetectoreventOccurred in class AbstractDetectors - the current state information : date, kinematics, attitudeincreasing - if true, the value of the switching function increases
when times increases around event
EventDetector.STOP or EventDetector.CONTINUE
OrekitException - if some specific error occurs
public double g(SpacecraftState s)
throws OrekitException
g in interface EventDetectorg in class AbstractDetectors - the current state information: date, kinematics, attitude
OrekitException - if some specific error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||