ArcGISImmutablePointCollection

Namespace: GameEngine.Geometry
Class: GameEngine/Geometry/ArcGISImmutablePointCollection
Since: 1.0.0

Summary

Represents an immutable collection of points.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

Indicates if the immutable point collection contains no points.

No
Yes

The number of points in the collection.

Yes
Yes

The spatial reference for the immutable point collection.

IsEmpty

bool IsEmpty

Indicates if the immutable point collection contains no points.

Size

ulong Size

The number of points in the 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

SignatureReturn TypeSummary

GetPoint(ulong)

ArcGISPoint

Returns a point at the specified index in the collection.

IndexOf(ArcGISPoint)

ulong

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

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

The point to find.

Returns ulong

The position of the point 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.