An analysis object that renders a viewshed for a specified point location. More...
Member Function Documentation LocationViewshed::LocationViewshed(const Esri::ArcGISRuntime::Camera &camera, double minDistance, double maxDistance, QObject *parent = nullptr)Creates a viewshed analysis object whose observer is defined using a point location.
Provide a Camera and distance range to define the analysis frustum.
Visible and non-visible areas are determined for an area defined by the camera and the min/max distance range. The parameters define the frustum over which visibility is calculated from the camera/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.
LocationViewshed::LocationViewshed(const Esri::ArcGISRuntime::Point &location, double heading, double pitch, double horizontalAngle, double verticalAngle, double minDistance, double maxDistance, QObject *parent = nullptr)Creates a viewshed analysis object whose observer is defined using a point location. Provide a map location and frustum parameters for the analysis.
Provide a map location and frustum parameters for the analysis.
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 120 degrees. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.
[override virtual noexcept]
LocationViewshed::~LocationViewshed()
Destructor.
double LocationViewshed::heading() constGets the observer's heading in degrees.
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.
See also setHeading().
Esri::ArcGISRuntime::Point LocationViewshed::location() constReturns the observer location of the viewshed.
See also setLocation().
double LocationViewshed::pitch() constReturns 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).
See also setPitch().
void LocationViewshed::setHeading(double heading)Sets the heading to heading.
See also heading.
void LocationViewshed::setLocation(const Esri::ArcGISRuntime::Point &location)Sets the observer location to location.
See also location.
void LocationViewshed::setPitch(double pitch)Sets the pitch to pitch.
See also pitch.
void LocationViewshed::updateFromCamera(const Esri::ArcGISRuntime::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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4