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
| Property | Type | Nullable | Readonly | Summary | 
|---|---|---|---|---|
| IsEmpty | bool | No | Yes | Indicates if the immutable part collection contains no parts. | 
| Size | ulong | No | Yes | The number of parts in the immutable part collection. | 
| SpatialReference | ArcGISSpatialReference | Yes | Yes | The spatial reference for 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
| Signature | Return Type | Summary | 
|---|---|---|
| Returns a part at the specified index in the immutable part collection. A part is represented by an immutable collection of segments. | ||
| 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
| Name | Type | Summary | 
|---|---|---|
| index | ulong | 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
| Name | Type | Summary | 
|---|---|---|
| immutable | ArcGISImmutablePart | The part you want to find. | 
Returns ulong
The position of the part in the collection, -1 otherwise.