Class LocationViewshed
LocationViewshed is an analysis object that renders a viewshed for a specified point location.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.UI.GeoAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationViewshed : Viewshed, INotifyPropertyChanged
Remarks
LocationViewshed determines visible and non-visible areas in a GeoView for an observer defined with a map location.
Constructors
| Name | Description |
|---|---|
| LocationViewshed(MapPoint, Double, Double, Double, Double, Double, Double) | Initializes a new instance of the LocationViewshed class whose observer is defined using a point location. |
| LocationViewshed(Camera, Double, Double) | Initializes a new instance of the LocationViewshed class. |
Properties
| Name | Description |
|---|---|
| Heading | Gets or sets the observer's heading. |
| Location | Gets or sets the observer location of the viewshed. |
| Pitch | Gets or sets the pitch of the observer's field of vision. |
Methods
| Name | Description |
|---|---|
| UpdateFromCamera(Camera) | Updates the frustum of the viewshed using the properties of the supplied Camera. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.2.1 - 200.8 |
| Xamarin.Android | 100.2.1 - 100.15 |
| Xamarin.iOS | 100.2.1 - 100.15 |
| UWP | 100.2.1 - 200.8 |
Relevant samples
Viewshed (location): Perform a viewshed analysis from a defined vantage point.