SceneLayerPolygonFilter Class

  • SceneLayerPolygonFilter
  • class Esri::ArcGISRuntime::SceneLayerPolygonFilter

    Filter features from an ArcGISSceneLayer using one or more polygons and a spatial relationship. More...

    Header: #include <SceneLayerPolygonFilter.h>
    Since: Esri::ArcGISRuntime 200.2
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    SceneLayerPolygonFilter(QObject *parent = nullptr)
    SceneLayerPolygonFilter(const QList<Esri::ArcGISRuntime::Polygon> &polygons, Esri::ArcGISRuntime::SceneLayerPolygonFilterSpatialRelationship spatialRelationship, QObject *parent = nullptr)
    virtual ~SceneLayerPolygonFilter() override
    QList<Esri::ArcGISRuntime::Polygon> polygons() const
    void setPolygons(const QList<Esri::ArcGISRuntime::Polygon> &polygons)
    void setSpatialRelationship(Esri::ArcGISRuntime::SceneLayerPolygonFilterSpatialRelationship spatialRelationship)
    Esri::ArcGISRuntime::SceneLayerPolygonFilterSpatialRelationship spatialRelationship() const

    Detailed Description

    Member Function Documentation

    [explicit] SceneLayerPolygonFilter::SceneLayerPolygonFilter(QObject *parent = nullptr)

    Default constructor that takes an optional parent.

    SceneLayerPolygonFilter::SceneLayerPolygonFilter(const QList<Esri::ArcGISRuntime::Polygon> &polygons, Esri::ArcGISRuntime::SceneLayerPolygonFilterSpatialRelationship spatialRelationship, QObject *parent = nullptr)

    Creates a new SceneLayerPolygonFilter using a list of polygons and a spatial relationship to be applied to the ArcGISSceneLayer.

    • polygons - A list of polygons to be used for filtering features.
    • spatialRelationship - The spatial relationship to be applied to the polygons for filtering.
    • parent - The optional parent QObject.

    See also SceneLayerPolygonFilterSpatialRelationship.

    [override virtual] SceneLayerPolygonFilter::~SceneLayerPolygonFilter()

    Destructor.

    QList<Esri::ArcGISRuntime::Polygon> SceneLayerPolygonFilter::polygons() const

    Returns a list of polygon geometries to be applied for filtering features.

    See also setPolygons().

    void SceneLayerPolygonFilter::setPolygons(const QList<Esri::ArcGISRuntime::Polygon> &polygons)

    Sets a list of polygon geometries to be applied for filtering features.

    • polygons - A list of polygons to be used for filtering features.

    See also polygons.

    void SceneLayerPolygonFilter::setSpatialRelationship(Esri::ArcGISRuntime::SceneLayerPolygonFilterSpatialRelationship spatialRelationship)

    Sets the spatial relationship to be applied to the polygons for filtering features.

    The spatial relationship determines whether to include features within the polygons or exclude features from the polygons.

    • spatialRelationship - The spatial relationship to be applied to the polygons for filtering features.

    See also spatialRelationship() and SceneLayerPolygonFilterSpatialRelationship.

    Esri::ArcGISRuntime::SceneLayerPolygonFilterSpatialRelationship SceneLayerPolygonFilter::spatialRelationship() const

    Returns the spatial relationship to be applied to the polygons for filtering features.

    The spatial relationship determines whether to include features within the polygons or exclude features from the polygons.

    See also setSpatialRelationship().

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