GeoElementViewshed

constructor(geoElement: GeoElement, horizontalAngle: Double, verticalAngle: Double, headingOffset: Double, pitchOffset: Double, minDistance: Double? = null, maxDistance: Double? = null)

Creates a viewshed analysis object whose observer is defined using a GeoElement. Visible and obstructed areas are determined for an area defined by the location and orientation of a GeoElement, field of view angles, and the min/max distance range. These parameters define the frustum over which visibility is calculated from the observer element. The horizontal and vertical angles must be greater than zero and less than or equal to 120 degrees. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.

Since

200.1.0

Parameters

geoElement

A GeoElement from which the position and orientation of the observer will be determined.

horizontalAngle

The horizontal angle of the observer's view. The value must be greater than 0 and less than or equal to 120.

verticalAngle

The vertical angle of the observer's view. The value must be greater than 0 and less than or equal to 120.

headingOffset

An angle offset relative to the heading of the GeoElement to determine the direction of the observer's view.

pitchOffset

An angle added to (or removed from) the pitch of the GeoElement. The combined values define the angle of the frustum (relative to the surface) used in the analysis. The valid range of values for the frustum pitch is from 0 to 180 degrees.

minDistance

The minimum distance from the observer at which visibility will be evaluated, or null if there is no minimum distance.

maxDistance

The maximum distance from the observer at which visibility will be evaluated, or null if there is no maximum distance.