|
||||||||||
| 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 overriding the
eventOccurred method in a
derived class.
Propagator.addEventDetector(EventDetector),
DihedralFieldOfViewDetector,
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 | |
|---|---|
CircularFieldOfViewDetector(double maxCheck,
PVCoordinatesProvider pvTarget,
org.apache.commons.math.geometry.Vector3D center,
double halfAperture)
Build a new instance. |
|
| Method Summary | |
|---|---|
int |
eventOccurred(SpacecraftState s,
boolean increasing)
Handle an fov event and choose what to do next. |
double |
g(SpacecraftState s)
Compute the value of the switching function. |
org.apache.commons.math.geometry.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 . |
| 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 CircularFieldOfViewDetector(double maxCheck,
PVCoordinatesProvider pvTarget,
org.apache.commons.math.geometry.Vector3D center,
double halfAperture)
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.
maxCheck - maximal interval in secondspvTarget - Position/velocity provider of the considered targetcenter - Direction of the fov center, in spacecraft framehalfAperture - Fov half aperture angle| Method Detail |
|---|
public PVCoordinatesProvider getPVTarget()
public org.apache.commons.math.geometry.Vector3D getCenter()
public double getHalfAperture()
public int eventOccurred(SpacecraftState s,
boolean increasing)
throws OrekitException
The default implementation behavior is to continue propagation at entry and to
stop propagation at exit. This can
be changed by overriding the eventOccurred method in a derived class.
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)
EventDetector.STOP, EventDetector.RESET_STATE, EventDetector.RESET_DERIVATIVES
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 | |||||||||