An analysis object that renders a viewshed for a specified point location. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.2 |
Inherits: |
Properties
- heading : double
- initCamera : Camera
- location : Point
- pitch : double
Signals
Methods
- void updateFromCamera(Camera camera)
Detailed Description
LocationViewshed determines visible and non-visible areas in a scene view for an observer defined with a map location (point).
Visible and non-visible areas are determined for an area defined by the observer location, view angles, and the minimum/maximum distance range. These parameters define the frustum over which visibility is calculated from the observer location. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.
Default properties
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
Type | Default Property |
---|---|
Point | location |
Camera | initCamera |
Property Documentation
[default] initCamera : Camera |
The initial Camera to define the frustum of the viewshed. The camera location is that of the observer.
This property can only be set while the LocationViewshed is instantiating.
To update the camera of the LocationViewshed after instantiated use updateFromCamera instead.
[default] location : Point |
The observer location.
Signal Documentation
Emitted when the heading property changes.
Note: The corresponding handler is onHeadingChanged
.
Emitted when the initCamera property changes.
Note: The corresponding handler is onInitCameraChanged
.
Emitted when the location property changes.
Note: The corresponding handler is onLocationChanged
.
Emitted when the pitch property changes.
Note: The corresponding handler is onPitchChanged
.
Method Documentation
void updateFromCamera(Camera camera) |
Updates the frustum of the viewshed using the properties of the supplied camera.
The Camera is used to update the position, pitch, and heading of the viewshed frustum.