ArcGISImmutablePointCollection

Namespace: Esri::GameEngine::Geometry
Class: Esri/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 GetIsEmpty() const

Indicates if the immutable point collection contains no points.

Size

size_t GetSize() const

The number of points in the collection.

SpatialReference

ArcGISSpatialReference GetSpatialReference() const

The spatial reference for the immutable point collection.

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

Methods

SignatureReturn TypeSummary

GetPoint(size_t)

ArcGISPoint

Returns a point at the specified index in the collection.

IndexOf(const ArcGISPoint&)

size_t

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(size_t index) const

Returns a point at the specified index in the collection.

Since 1.0.0

Arguments
NameTypeConstSummary
index
No

The position in the collection.

Returns ArcGISPoint

The point at the specified position in the collection.

IndexOf

size_t IndexOf(const ArcGISPoint& point) const

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
NameTypeConstSummary
point
Yes

The point to find.

Returns size_t

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.