An analysis object that evaluates visibility along a line defined by observer and target point objects. More...
|  Header |  #include <Location | 
|  Since |  Esri | 
|  Inherits |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.2.
Public Functions
| Location | |
| virtual | ~ | 
|  Esri | observer | 
| void | set | 
| void | set | 
|  Esri | target | 
Detailed Description
LocationLineOfSight 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).
Member Function Documentation
LocationLineOfSight::LocationLineOfSight   (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] LocationLineOfSight::~LocationLineOfSight    ()    
Destructor.
Esri::ArcGISRuntime::Point    LocationLineOfSight::observerLocation () const    
Returns the observer location.
The point coordinates (x,y,z) define the observer location in 3D space.
See also setObserverLocation().
void LocationLineOfSight::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 LocationLineOfSight::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    LocationLineOfSight::targetLocation () const    
Returns the target location.
The point coordinates (x,y,z) define the target location in 3D space.
See also setTargetLocation().