|
||||||||||
| 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.EclipseDetector
public class EclipseDetector
Finder for satellite eclipse related events.
This class finds eclipse events, i.e. satellite within umbra (total eclipse) or penumbra (partial eclipse).
The default implementation behavior is to continue propagation when entering the eclipse and to
stop propagation when exiting the eclipse.
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 | |
|---|---|
EclipseDetector(double maxCheck,
double threshold,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius)
Build a new eclipse detector. |
|
EclipseDetector(double maxCheck,
double threshold,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius,
boolean totalEclipse)
Build a new eclipse detector . |
|
EclipseDetector(double maxCheck,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius)
Build a new eclipse detector. |
|
EclipseDetector(double maxCheck,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius,
boolean totalEclipse)
Build a new eclipse detector. |
|
EclipseDetector(PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius)
Build a new eclipse detector. |
|
EclipseDetector(PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius,
boolean totalEclipse)
Build a new eclipse detector. |
|
| Method Summary | |
|---|---|
int |
eventOccurred(SpacecraftState s,
boolean increasing)
Handle an eclipse event and choose what to do next. |
double |
g(SpacecraftState s)
Compute the value of the switching function. |
PVCoordinatesProvider |
getOcculted()
Get the occulted body. |
double |
getOccultedRadius()
Get the occulted body radius (m). |
PVCoordinatesProvider |
getOcculting()
Get the occulting body. |
double |
getOccultingRadius()
Get the occulting body radius (m). |
boolean |
geTotaltEclipse()
Get the total eclipse detection flag. |
| 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 EclipseDetector(PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius,
boolean totalEclipse)
The new instance is either an umbra detector or a penumbra detector
with default values for maximal checking interval (AbstractDetector.DEFAULT_MAXCHECK)
and convergence threshold (AbstractDetector.DEFAULT_THRESHOLD).
occulted - the body to be occultedoccultedRadius - the radius of the body to be occulted (m)occulting - the occulting bodyoccultingRadius - the occulting body radius (m)totalEclipse - umbra (true) or penumbra (false) detection flag
public EclipseDetector(double maxCheck,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius,
boolean totalEclipse)
The new instance is either an umbra detector or a penumbra detector
with default value for convergence threshold (AbstractDetector.DEFAULT_THRESHOLD).
The maximal interval between eclipse 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)occulted - the body to be occultedoccultedRadius - the radius of the body to be occulted (m)occulting - the occulting bodyoccultingRadius - the occulting body radius (m)totalEclipse - umbra (true) or penumbra (false) detection flag
public EclipseDetector(double maxCheck,
double threshold,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius,
boolean totalEclipse)
The new instance is either an umbra detector or a penumbra detector.
The maximal interval between eclipse 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)occulted - the body to be occultedoccultedRadius - the radius of the body to be occulted (m)occulting - the occulting bodyoccultingRadius - the occulting body radius (m)totalEclipse - umbra (true) or penumbra (false) detection flag
public EclipseDetector(PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius)
The new instance is a total eclipse (umbra) detector with default
values for maximal checking interval (AbstractDetector.DEFAULT_MAXCHECK)
and convergence threshold (AbstractDetector.DEFAULT_THRESHOLD).
occulted - the body to be occultedoccultedRadius - the radius of the body to be occulted (m)occulting - the occulting bodyoccultingRadius - the occulting body radius (m)
public EclipseDetector(double maxCheck,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius)
The new instance is a total eclipse (umbra) detector with default
value for convergence threshold (AbstractDetector.DEFAULT_THRESHOLD).
The maximal interval between eclipse 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)occulted - the body to be occultedoccultedRadius - the radius of the body to be occulted in metersocculting - the occulting bodyoccultingRadius - the occulting body radius in meters
public EclipseDetector(double maxCheck,
double threshold,
PVCoordinatesProvider occulted,
double occultedRadius,
PVCoordinatesProvider occulting,
double occultingRadius)
The new instance is a total eclipse (umbra) detector.
The maximal interval between eclipse 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)occulted - the body to be occultedoccultedRadius - the radius of the body to be occulted in metersocculting - the occulting bodyoccultingRadius - the occulting body radius in meters| Method Detail |
|---|
public PVCoordinatesProvider getOcculting()
public double getOccultingRadius()
public PVCoordinatesProvider getOcculted()
public double getOccultedRadius()
public boolean geTotaltEclipse()
public int eventOccurred(SpacecraftState s,
boolean increasing)
throws OrekitException
The default implementation behavior is to continue propagation when entering the eclipse and to
stop propagation when exiting the eclipse.
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 | |||||||||