public abstract class AbstractFieldOfView extends Object implements FieldOfView
Modifier | Constructor and Description |
---|---|
protected |
AbstractFieldOfView(double margin)
构建一个新实例。
|
Modifier and Type | Method and Description |
---|---|
double |
getMargin()
获取要应用的角边距(弧度)。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFootprint, offsetFromBoundary, projectToBoundary
protected AbstractFieldOfView(double margin)
margin
- 要应用于区域的角边距(如果为正,则将边界外但足够接近边界的点视为可见;如果为负,则将边界内但足够接近边界的点视为不可见)
public double getMargin()
getMargin
在接口 FieldOfView
FieldOfView.offsetFromBoundary(Vector3D, double, VisibilityTrigger)
Copyright © 2002-2023 CS GROUP. All rights reserved.