Class AbstractFieldOfView

    • 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)