Represents an immutable collection of Points. More...
This collection is used to represent the content of a Multipoint geometry.
Note: You cannot declare or create a component of this type in QML code.
Use the Multipoint::points property to get the collection of Points in a Multipoint geometry. ImmutablePointCollections can also be used as input parameters to initialize contents when constructing Parts and PartCollections.
Because geometries themselves are immutable, the collections they are composed of are also immutable. For geometry editing or creation workflows, a mutable PointCollection is used instead.
[read-only] empty : bool
Returns whether the ImmutablePointCollection contains any points (read-only).
[read-only] size : int
Returns the number of points the ImmutablePointCollection contains (read-only).
[read-only] spatialReference : SpatialReference
int indexOf(Point point)
Gets the index of point.
Returns the index or -1 if not found.
Point point(int index)
Gets the Point at index.
Returns the Point or null if the index isn't valid.