StartViewshedVisibilityQuery

Initializes a viewshed visibility query for a specific viewshed. After this initialization, subsequent calls can be made to QueryPointVisibility to calculate the visibility of a selected position on a 3D viewshed (passed in this method’s ViewshedID parameter) from the observer viewpoint of the 3D viewshed or to QueryVisibilityDistance to get the point where the view is blocked.

 

JavaScript

 

 

 

StartViewshedVisibilityQuery(

       ViewshedID,

       Quality)

 

C#

 

 

 

void StartViewshedVisibilityQuery(

       string ViewshedID,

       ViewshedQuality Quality = ViewshedQuality.VSQ_QUALITY_HIGH)

 

C++

 

HRESULT StartViewshedVisibilityQuery(

       BSTR ViewshedID,

       ViewshedQuality Quality)

 

Parameters

ViewshedID

The ID of the required I3DViewshed80 object that defines the viewshed on which the analysis is being performed.

Quality

An enum that determines the accuracy level of the viewshed query. The following are the possible values:

·          VSQ_QUALITY_LOW = 0

·          VSQ_QUALITY_MEDIUM = 1

·          VSQ_QUALITY_HIGH = 2

Exceptions

HRESULT can return any of the values listed in the HRESULT Return Values list.