ArcGISSpatialFeatureFilter

Namespace: Esri::GameEngine::Layers
Class: Esri/GameEngine/Layers/ArcGISSpatialFeatureFilter
Since: 1.3.0

Summary

Defines the spatial feature filter to mask out parts of the layer.

Constructors

ArcGISSpatialFeatureFilter(const ArcGISCollection<ArcGISPolygon>&, ArcGISSpatialFeatureFilterSpatialRelationship)

Creates a new ArcGISSpatialFeatureFilter using a collection of ArcGISPolygon and an ArcGISSpatialFeatureFilterSpatialRelationship.

Since 1.3.0

Arguments
NameTypeConstSummary
polygons
ArcGISCollection<ArcGISPolygon>
Yes

A collection of polygons that defines the area to filter.

spatialRelationship
No

The spatial relationship to use.

Properties

PropertyTypeNullableReadonlySummary
ArcGISCollection<ArcGISPolygon>
No
Yes

A collection of polygons that defines the area to filter.

No
Yes

The spatial relationship to use.

Polygons

ArcGISCollection<ArcGISPolygon> GetPolygons() const

A collection of polygons that defines the area to filter.

Multipart polygons (see ArcGISMultipart::Parts) must be simple (see ArcGISGeometryEngine::IsSimple). Multipart polygons with multiple exterior rings and holes must have parts ordered such that exterior rings are followed by their immediate holes. Simplifying a polygon will ensure its paths are in the required order (see ArcGISGeometryEngine::Simplify). Polygons may not contain curves (see ArcGISGeometry::HasCurves). Polygons must have a spatial reference (see ArcGISGeometry::SpatialReference).

SpatialRelationship

ArcGISSpatialFeatureFilterSpatialRelationship GetSpatialRelationship() const

The spatial relationship to use.

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