Class AbstractFieldOfView

    • 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:
        getMargin in interface FieldOfView
        Returns:
        angular margin
        See Also:
        FieldOfView.offsetFromBoundary(Vector3D, double, VisibilityTrigger)