Namespace: GameEngine.Geometry 
Class: GameEngine/Geometry/ArcGISImmutablePointCollection 
Since: 1.0.0 
Summary
Represents an immutable collection of points.
Properties
| Property | Type | Nullable | Readonly | Summary | 
|---|---|---|---|---|
| IsEmpty | bool | No | Yes | Indicates if the immutable point collection contains no points. | 
| Size | ulong | No | Yes | The number of points in the collection. | 
| SpatialReference | ArcGISSpatialReference | Yes | Yes | The spatial reference for the immutable point collection. | 
SpatialReference
ArcGISSpatialReference SpatialReference
The spatial reference for the immutable point collection.
If the collection does not have a spatial reference null is returned.
Methods
| Signature | Return Type | Summary | 
|---|---|---|
| Returns a point at the specified index in the collection. | ||
| Retrieves the position of the point in the immutable point collection. The first point that is equal to the supplied point is returned. | 
GetPoint
ArcGISPoint GetPoint(ulong index)
Returns a point at the specified index in the collection.
Since 1.0.0
Arguments
| Name | Type | Summary | 
|---|---|---|
| index | ulong | The position in the collection. | 
Returns ArcGISPoint
The point at the specified position in the collection.
IndexOf
ulong IndexOf(ArcGISPoint point)
Retrieves the position of the point in the immutable point collection. The first point that is equal to the supplied point is returned.
Since 1.0.0
Arguments
| Name | Type | Summary | 
|---|---|---|
| point | ArcGISPoint | The point to find. | 
Returns ulong
The position of the point in the collection, -1 otherwise.