LocationViewshed.withCamera constructor
Creates a viewshed analysis object whose observer is defined using a point location. Provide a Camera and distance range to define the analysis frustum.
Visible and non-visible areas are determined for an area defined by the camera and the min/max distance range. The parameters define the frustum over which visibility is calculated from the camera/observer location. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.
Parameters:
camera
— A Camera to define the frustum of the viewshed. The camera location is that of the observer.minDistance
— The minimum distance from the observer at which visibility will be evaluated.maxDistance
— The maximum distance from the observer at which visibility will be evaluated.