Constructor LocationViewshed
LocationViewshed(Camera, Double, Double)
Initializes a new instance of the LocationViewshed class.
Declaration
public LocationViewshed(Camera camera, double minDistance, double maxDistance)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | A Camera to define the frustum of the viewshed. The camera location is that of the observer. |
System.Double | minDistance | The minimum distance from the observer at which visibility will be evaluated. |
System.Double | maxDistance | The maximum distance from the observer at which visibility will be evaluated. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |
LocationViewshed(MapPoint, Double, Double, Double, Double, Double, Double)
Initializes a new instance of the LocationViewshed class whose observer is defined using a point location.
Declaration
public LocationViewshed(MapPoint location, double heading, double pitch, double horizontalAngle, double verticalAngle, double minDistance, double maxDistance)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | location | A geographic point location for the observer. |
System.Double | heading | The heading value (azimuth) that defines the observer's view direction. |
System.Double | pitch | The pitch value (angle) of the observer's view relative to the surface. Valid values are from 0 (looking straight down) to 180 (straight up). |
System.Double | horizontalAngle | The horizontal angle of the observer's view. The value must be greater than 0 and no greater than 360. |
System.Double | verticalAngle | The vertical angle of the observer's view. The value must be greater than 0 and no greater than 360. |
System.Double | minDistance | The minimum distance from the observer at which visibility will be evaluated. |
System.Double | maxDistance | The maximum distance from the observer at which visibility will be evaluated. |
Remarks
Visible and non-visible areas are determined for an area defined by the observer location, view angles, and the min/max distance range. The parameters define the frustum over which visibility is calculated from the observer location. The horizontal and vertical angles must be greater than zero to define a valid frustum and are constrained to a maximum of 360 degrees. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |