A function that returns visibility information along one or more lines of sight. More...
| Header | #include <Line |
| Since | Esri |
| Inherits | Esri |
Public Functions
| virtual | ~ |
| QFuture | evaluate |
| Esri | parameters() const |
| void | set |
Static Public Members
| Esri | create( |
| Esri | create( |
Detailed Description
Use evaluateAsync to compute the result of this function.
The result of this function will change when parameters to this or functions from which this is composed change.
The analysis is performed at the full resolution of the data. To perform analysis at the current rendered resolution using scene layers or 3D graphics, use the ExploratoryLineOfSight tool.
Member Function Documentation
[override virtual noexcept] LineOfSightFunction::~LineOfSightFunction ()
Destructor.
[static] Esri::ArcGISRuntime::LineOfSightFunction *LineOfSightFunction::create(Esri::ArcGISRuntime::ContinuousField *elevation, Esri::ArcGISRuntime::LineOfSightParameters *parameters, QObject *parent = nullptr)
Creates a LineOfSightFunction.
- elevation - A ContinuousField defining the elevation surface.
- parameters - Parameters of the line of sight function.
- parent - The optional parent QObject.
[static] Esri::ArcGISRuntime::LineOfSightFunction *LineOfSightFunction::create(Esri::ArcGISRuntime::ContinuousFieldFunction *elevation, Esri::ArcGISRuntime::LineOfSightParameters *parameters, QObject *parent = nullptr)
Creates a LineOfSightFunction.
- elevation - A ContinuousFieldFunction defining the elevation surface.
- parameters - Parameters for the LineOfSightFunction.
- parent - The optional parent QObject.
QFuture<QList<Esri::ArcGISRuntime::LineOfSight *>> LineOfSightFunction::evaluateAsync (QObject *parent = nullptr)
Evaluate the result of the function.
parent - The optional parent QObject.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
Esri::ArcGISRuntime::LineOfSightParameters *LineOfSightFunction::parameters() const
Returns parameters for the LineOfSightFunction.
See also setParameters().
void LineOfSightFunction::setParameters (Esri::ArcGISRuntime::LineOfSightParameters *parameters)
Sets the parameters to parameters.
See also parameters.