Package org.orekit.geometry.fov
Class AbstractFieldOfView
- java.lang.Object
-
- org.orekit.geometry.fov.AbstractFieldOfView
-
- All Implemented Interfaces:
FieldOfView
- Direct Known Subclasses:
PolygonalFieldOfView,SmoothFieldOfView
public abstract class AbstractFieldOfView extends Object implements FieldOfView
Abstract class representing a spacecraft sensor Field Of View.- Since:
- 10.1
- Author:
- Luc Maisonobe
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanDEFAULT_EXTERNAL_FOOTPRINTThe default setting for if the footprint should be projected off the body onto a spatial point when there is no intersection point.protected static doubleDEFAULT_MAX_DISTThe default length of line segments of extended footprints that project directly into space.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFieldOfView(double margin)Build a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetMargin()Get the angular margin to apply (radians).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.geometry.fov.FieldOfView
getFootprint, getFootprint, offsetFromBoundary, projectToBoundary
-
-
-
-
Field Detail
-
DEFAULT_EXTERNAL_FOOTPRINT
protected static final boolean DEFAULT_EXTERNAL_FOOTPRINT
The default setting for if the footprint should be projected off the body onto a spatial point when there is no intersection point.- See Also:
- Constant Field Values
-
DEFAULT_MAX_DIST
protected static final double DEFAULT_MAX_DIST
The default length of line segments of extended footprints that project directly into space.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractFieldOfView
protected AbstractFieldOfView(double margin)
Build a new instance.- Parameters:
margin- angular margin to apply to the zone (if positive, points outside of the raw FoV but close enough to the boundary are considered visible; if negative, points inside of the raw FoV but close enough to the boundary are considered not visible)
-
-
Method Detail
-
getMargin
public double getMargin()
Get the angular margin to apply (radians). If angular margin is positive, points outside of the raw FoV but close enough to the boundary are considered visible. If angular margin is negative, points inside of the raw FoV but close enough to the boundary are considered not visible- Specified by:
getMarginin interfaceFieldOfView- Returns:
- angular margin
- See Also:
FieldOfView.offsetFromBoundary(Vector3D, double, VisibilityTrigger)
-
-