|
||||||||||
| 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.CircularFieldOfViewDetector
public class CircularFieldOfViewDetector
Finder for target entry/exit events with respect to a satellite sensor field of view.
This class handle fields of view with a circular boundary.
The default implementation behavior is to continue propagation at fov entry and
to stop propagation at fov exit. This can be changed by using the constructor
CircularFieldOfViewDetector.
Propagator.addEventDetector(EventDetector),
DihedralFieldOfViewDetector,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.orekit.propagation.events.EventDetector |
|---|
EventDetector.Action |
| Field Summary |
|---|
| Fields inherited from class org.orekit.propagation.events.AbstractDetector |
|---|
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD |
| Fields inherited from interface org.orekit.propagation.events.EventDetector |
|---|
DECREASING, INCREASING, INCREASING_DECREASING |
| Constructor Summary | |
|---|---|
CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck)
Build a new instance. |
|
CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck,
double threshold)
Build a new instance. |
|
CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit)
Build a new instance with defined actions at fov entry and exit. |
|
CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit)
Build a new instance with defined actions at fov entry and exit. |
|
| Method Summary | |
|---|---|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle an fov event and choose what to do next. |
double |
g(SpacecraftState s)
Compute the value of the switching function. |
Vector3D |
getCenter()
Get the direction of fov center. |
double |
getHalfAperture()
Get fov half aperture angle. |
PVCoordinatesProvider |
getPVTarget()
Get the position/velocity provider of the target . |
boolean |
shouldBeRemoved()
This method is called after EventDetector.eventOccurred(org.orekit.propagation.SpacecraftState, boolean, boolean) has been triggered. |
| Methods inherited from class org.orekit.propagation.events.AbstractDetector |
|---|
getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, resetState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck)
The maximal interval between distance to fov boundary checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
The default implementation behavior is to continue propagation at fov entry and
to stop propagation at fov exit.
pvTarget - Position/velocity provider of the considered targetcenter - Direction of the fov center, in spacecraft framehalfAperture - Fov half aperture anglemaxCheck - maximal interval in seconds
public CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck,
double threshold)
The maximal interval between distance to fov boundary checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
The default implementation behavior is to continue propagation at fov entry and
to stop propagation at fov exit.
pvTarget - Position/velocity provider of the considered targetcenter - Direction of the fov center, in spacecraft framehalfAperture - Fov half aperture anglemaxCheck - maximal interval in secondsthreshold - threshold in seconds for events date computation
public CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit)
The maximal interval between distance to fov boundary checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
pvTarget - Position/velocity provider of the considered targetcenter - Direction of the fov center, in spacecraft framehalfAperture - Fov half aperture anglemaxCheck - maximal interval in secondsthreshold - threshold in seconds for events date computationentry - action performed at fov entryexit - action performed at fov exit
public CircularFieldOfViewDetector(PVCoordinatesProvider pvTarget,
Vector3D center,
double halfAperture,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit)
The maximal interval between distance to fov boundary checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
pvTarget - Position/velocity provider of the considered targetcenter - Direction of the fov center, in spacecraft framehalfAperture - Fov half aperture anglemaxCheck - maximal interval in secondsthreshold - threshold in seconds for events date computationentry - action performed at fov entryexit - action performed at fov exitremoveEntry - true if detector should be removed at fov entryremoveExit - true if detector should be removed at fov exit| Method Detail |
|---|
public PVCoordinatesProvider getPVTarget()
public Vector3D getCenter()
public double getHalfAperture()
public EventDetector.Action eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
throws OrekitException
The default implementation behavior is to continue propagation at entry and
to stop propagation at exit. This can be changed by using the constructor
CircularFieldOfViewDetector
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, i.e. target
enters the fov (note that increase is measured with respect to physical time, not with respect to
propagation which may go backward in time)forward - if true, the integration variable (time) increases during integration.
OrekitException - if some specific error occurspublic boolean shouldBeRemoved()
EventDetector.eventOccurred(org.orekit.propagation.SpacecraftState, boolean, boolean) has been triggered.
It returns true if the current detector should be removed after first event detection.
WARNING: this method can be called only once a event has been triggered. Before,
the value is not available.
shouldBeRemoved in interface EventDetectorshouldBeRemoved in class AbstractDetector
public double g(SpacecraftState s)
throws OrekitException
g in interface EventDetectorg in class AbstractDetectors - the current state information: date, kinematics, attitude for forces
and events computation, mass provider, and additional states
OrekitException - if some specific error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||