Skip to content
  • LineOfSightFunction
  • class Esri::ArcGISRuntime::LineOfSightFunction

    A function that returns visibility information along one or more lines of sight. More...

    Header: #include <LineOfSightFunction.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~LineOfSightFunction() override
    QFuture<QList<Esri::ArcGISRuntime::LineOfSight *>> evaluateAsync(QObject *parent = nullptr)
    Esri::ArcGISRuntime::LineOfSightParameters *parameters() const
    void setParameters(Esri::ArcGISRuntime::LineOfSightParameters *parameters)

    Static Public Members

    Esri::ArcGISRuntime::LineOfSightFunction *create(Esri::ArcGISRuntime::ContinuousField *elevation, Esri::ArcGISRuntime::LineOfSightParameters *parameters, QObject *parent = nullptr)
    Esri::ArcGISRuntime::LineOfSightFunction *create(Esri::ArcGISRuntime::ContinuousFieldFunction *elevation, Esri::ArcGISRuntime::LineOfSightParameters *parameters, QObject *parent = nullptr)

    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.

    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.

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