An analysis object that evaluates visibility along a line defined by observer and target point objects. More...
| Header | #include <Exploratory |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Exploratory | |
| virtual | ~ |
| Esri | observer |
| void | set |
| void | set |
| Esri | target |
Detailed Description
ExploratoryLocationLineOfSight renders a line between an observer location and a target location, each defined using a Point geometry. Visible and obstructed portions of the line are displayed with unique colors (green and red by default).
Relevant samples:
- Show exploratory line of sight (Points): Perform an exploratory line of sight analysis between two points in real time.
See also Analysis.
Member Function Documentation
ExploratoryLocationLineOfSight::ExploratoryLocationLineOfSight (const Esri::ArcGISRuntime::Point &observerLocation , const Esri::ArcGISRuntime::Point &targetLocation , QObject *parent = nullptr)
Creates a LineOfSight analysis object that defines an observer and a target.
- observerLocation - A Point that defines the location of the observer.
- targetLocation - A Point that defines the location of the target.
- parent - An optional parent.
[override virtual noexcept] ExploratoryLocationLineOfSight::~ExploratoryLocationLineOfSight ()
Destructor.
Esri::ArcGISRuntime::Point ExploratoryLocationLineOfSight::observerLocation () const
Returns the observer location.
The point coordinates (x,y,z) define the observer location in 3D space.
See also setObserverLocation().
void ExploratoryLocationLineOfSight::setObserverLocation (const Esri::ArcGISRuntime::Point &observerLocation )
Sets the observer location to observerLocation.
The point coordinates (x,y,z) define the observer location in 3D space.
See also observerLocation().
void ExploratoryLocationLineOfSight::setTargetLocation (const Esri::ArcGISRuntime::Point &targetLocation )
Sets the target point location to targetLocation.
The point coordinates (x,y,z) define the target location in 3D space.
See also targetLocation().
Esri::ArcGISRuntime::Point ExploratoryLocationLineOfSight::targetLocation () const
Returns the target location.
The point coordinates (x,y,z) define the target location in 3D space.
See also setTargetLocation().