• GeometryConstructionTool
  • class Esri::ArcGISRuntime::GeometryConstructionTool

    Identifies the tool that describes how a geometry is created in a shared template. More...

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

    Public Functions

    virtual ~GeometryConstructionTool() override
    QUuid toolId() const
    Esri::ArcGISRuntime::GeometryConstructionToolType toolType() const

    Detailed Description

    This geometry construction tool, along with optional configuration settings that can be retrieved from SharedTemplate::constructionToolOptions(Esri::ArcGISRuntime::GeometryConstructionTool*, describes how to sketch geometry. For example: free-form, shape-based, densified, auto-completed, constrained by an offset, angle of rotation, constant interval, or number of sides.

    The geometry tools recognized by the ArcGIS Maps SDK has a well-defined GeometryConstructionToolType. Custom third-party geometry tools, however, are only identifiable by their toolId.

    Member Function Documentation

    [override virtual noexcept] GeometryConstructionTool::~GeometryConstructionTool()

    Destructor.

    QUuid GeometryConstructionTool::toolId() const

    Returns the unique identifier for this geometry construction tool.

    Esri::ArcGISRuntime::GeometryConstructionToolType GeometryConstructionTool::toolType() const

    Returns a descriptive well-defined enumeration value for the geometry construction tool.

    A value of GeometryConstructionToolType::Unknown indicates a third-party geometry construction tool, which can only be identified using toolId.