LocationViewshed QML Type

  • Esri.ArcGISRuntime
  • LocationViewshed
  • An analysis object that renders a viewshed for a specified point location. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.2
    Inherits:

    Viewshed

    Properties

    Signals

    Methods

    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.

    TypeDefault Property
    Pointlocation
    CamerainitCamera

    See also Analysis.

    Property Documentation

    heading : double

    The observer's heading.

    The heading represents the azimuth of the observer's direction of view. The value provided will be normalized to a value between 0 and 360 degrees.


    [default] initCamera : Camera

    The InitialCamera state of the frustum of the viewshed using the properties of the supplied Camera.

    The Camera is used to set the initial position, pitch, and heading of the viewshed frustum. Note the InitialCamera can only be set once.


    [default] location : Point

    The observer location.


    pitch : double

    The pitch of the observer's field of vision.

    Pitch is the angle of the observer's field of vision relative to the surface. Valid values are from 0 (looking straight down) to 180 (straight up).


    Signal Documentation

    headingChanged()

    Emitted when the heading property changes.

    Note: The corresponding handler is onHeadingChanged.


    initCameraChanged()

    Emitted when the initCamera property changes.

    Note: The corresponding handler is onInitCameraChanged.


    locationChanged()

    Emitted when the location property changes.

    Note: The corresponding handler is onLocationChanged.


    pitchChanged()

    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.

    • camera - A Camera from which the viewshed will be updated.

    The Camera is used to update the position, pitch, and heading of the viewshed frustum.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.