ArcGISImmutablePartCollection

Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISImmutablePartCollection
Since: 1.0.0

Summary

Represents immutable collection of parts for a polygon or polyline geometry. Each part is a collection of segments.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

Indicates if the immutable part collection contains no parts.

No
Yes

The number of parts in the immutable part collection.

Yes
Yes

The spatial reference for the immutable part collection.

IsEmpty

bool GetIsEmpty() const

Indicates if the immutable part collection contains no parts.

Size

size_t GetSize() const

The number of parts in the immutable part collection.

SpatialReference

ArcGISSpatialReference GetSpatialReference() const

The spatial reference for the immutable part collection.

If the collection does not have a spatial reference null is returned.

Methods

SignatureReturn TypeSummary

GetPart(size_t)

ArcGISImmutablePart

Returns a part at the specified index in the immutable part collection. A part is represented by an immutable collection of segments.

IndexOf(const ArcGISImmutablePart&)

size_t

Retrieves the position of the given part in the immutable part collection.

GetPart

ArcGISImmutablePart GetPart(size_t index) const

Returns a part at the specified index in the immutable part collection. A part is represented by an immutable collection of segments.

Since 1.0.0

Arguments
NameTypeConstSummary
index
No

Position to retrieve the part.

Returns ArcGISImmutablePart

the immutable part at the specified part index.

IndexOf

size_t IndexOf(const ArcGISImmutablePart& immutablePart) const

Retrieves the position of the given part in the immutable part collection.

Since 1.0.0

Arguments
NameTypeConstSummary
immutablePart
Yes

The part you want to find.

Returns size_t

The position of the part in the collection, -1 otherwise.

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