ArcGISImmutablePartCollection

Namespace: GameEngine.Geometry
Class: 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 IsEmpty

Indicates if the immutable part collection contains no parts.

Size

ulong Size

The number of parts in the immutable part collection.

SpatialReference

ArcGISSpatialReference SpatialReference

The spatial reference for the immutable part collection.

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

Methods

SignatureReturn TypeSummary

GetPart(ulong)

ArcGISImmutablePart

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

IndexOf(ArcGISImmutablePart)

ulong

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

GetPart

ArcGISImmutablePart GetPart(ulong index)

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
NameTypeSummary
index

Position to retrieve the part.

Returns ArcGISImmutablePart

the immutable part at the specified part index.

IndexOf

ulong IndexOf(ArcGISImmutablePart immutablePart)

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

Since 1.0.0

Arguments
NameTypeSummary
immutablePart

The part you want to find.

Returns ulong

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.