public abstract class AbstractFieldOfView extends Object implements FieldOfView
Modifier | Constructor and Description |
---|---|
protected |
AbstractFieldOfView(double margin)
Build a new instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getMargin()
Get the angular margin to apply (radians).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFootprint, offsetFromBoundary, projectToBoundary
protected AbstractFieldOfView(double margin)
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)public double getMargin()
getMargin
in interface FieldOfView
FieldOfView.offsetFromBoundary(Vector3D, double, VisibilityTrigger)
Copyright © 2002-2020 CS GROUP. All rights reserved.