|
||||||||||
| 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.DihedralFieldOfViewDetector
public class DihedralFieldOfViewDetector
Finder for body entering/exiting dihedral fov events.
This class finds dihedral field of view events (i.e. body entry and exit in fov).
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.
Propagator.addEventDetector(EventDetector),
CircularFieldOfViewDetector,
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 | |
|---|---|
DihedralFieldOfViewDetector(double maxCheck,
PVCoordinatesProvider pvTarget,
org.apache.commons.math.geometry.Vector3D center,
org.apache.commons.math.geometry.Vector3D axis1,
double halfAperture1,
org.apache.commons.math.geometry.Vector3D axis2,
double halfAperture2)
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 |
getAxis1()
Get the direction of fov 1st dihedral axis. |
org.apache.commons.math.geometry.Vector3D |
getAxis2()
Get the direction of fov 2nd dihedral axis. |
org.apache.commons.math.geometry.Vector3D |
getCenter()
Get the direction of fov center. |
double |
getHalfAperture1()
Get the half aperture angle of fov 1st dihedra. |
double |
getHalfAperture2()
Get the half aperture angle of fov 2nd dihedra. |
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 DihedralFieldOfViewDetector(double maxCheck,
PVCoordinatesProvider pvTarget,
org.apache.commons.math.geometry.Vector3D center,
org.apache.commons.math.geometry.Vector3D axis1,
double halfAperture1,
org.apache.commons.math.geometry.Vector3D axis2,
double halfAperture2)
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 centeraxis1 - Fov dihedral axis 1halfAperture1 - Fov dihedral half aperture angle 1axis2 - Fov dihedral axis 2halfAperture2 - Fov dihedral half aperture angle 2| Method Detail |
|---|
public PVCoordinatesProvider getPVTarget()
public org.apache.commons.math.geometry.Vector3D getCenter()
public org.apache.commons.math.geometry.Vector3D getAxis1()
public double getHalfAperture1()
public double getHalfAperture2()
public org.apache.commons.math.geometry.Vector3D getAxis2()
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 | |||||||||