ArcGIS Pro 2.6 API Reference Guide
Viewshed Class Members
Fields  Properties  Methods 


ArcGIS.Desktop.Mapping Namespace : Viewshed Class

The following tables list the members exposed by Viewshed.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Protected Fields
Public Properties
 NameDescription
Public PropertySet/Get the Viewshed's horizontal angle in degrees

Defines the Observer's horizontal field of view in degrees. Any scene content outside of this angle is disregarded.

 
Public PropertyIdentifier for the exploratory analysis object within its current MapView.

The ID is only unique to the map view that it was added to. For this reason, the same instance should not be added to more than one MapView. Use the subclass's copy constructor for that.

(Inherited from ArcGIS.Desktop.Mapping.ExploratoryAnalysis)
Public Property The current MapView that this exploratory analysis object is in. (Inherited from ArcGIS.Desktop.Mapping.ExploratoryAnalysis)
Public PropertySet/Get the Viewshed's maximum distance.

Defines a far distance limit in meters. Any scene content farther than this value is disregarded.

 
Public PropertySet/Get the Viewshed's minimum distance.

Defines a near distance limit in meters. Any scene content closer than this value is disregarded.

 
Public PropertySet/Get the Viewshed's vertical angle in degrees

Defines the Observer's vertical field of view in degrees. Any scene content outside of this angle is disregarded.

 
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic) Get the color used to tint geometry in the scene that is visible to more than one viewshed. This affects all Viewshed objects in the active MapView.  
Public Methodstatic (Shared in Visual Basic) Get the color used to tint geometry in the scene that is within the view frustrum of the observer, but not visible. This affects all Viewshed objects in the active MapView.  
Public Method Get the Viewshed's Observer to query its position, heading, or pitch.  
Public Methodstatic (Shared in Visual Basic) Get the color used to tint geometry in the scene that is visible to an observer. This affects all Viewshed objects in the active MapView.  
Public Methodstatic (Shared in Visual Basic) Get the color used to paint the viewshed wireframes. This affects all Viewshed objects in the active MapView.  
Public Methodstatic (Shared in Visual Basic) Change the color used to tint geometry in the scene that is visible to more than one viewshed. This affects all Viewshed objects in the active MapView.  
Public Methodstatic (Shared in Visual Basic) Change the color used to tint geometry in the scene that is within the view frustrum of the observer, but not visible. This affects all Viewshed objects in the active MapView.  
Public MethodSet the Viewshed's Observer to update its position, heading, or pitch. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.  
Public Methodstatic (Shared in Visual Basic) Change the color used to tint geometry in the scene that is visible to an observer. This affects all Viewshed objects in the active MapView.  
Public Methodstatic (Shared in Visual Basic) Change the color used to paint the viewshed wireframes. This affects all Viewshed objects in the active MapView.  
Top
See Also

Reference

Viewshed Class
ArcGIS.Desktop.Mapping Namespace