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 |
---|---|---|---|---|
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. |
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 | 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 | The part you want to find. |
Returns ulong
The position of the part in the collection, -1 otherwise.