A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-pointcollection.html below:

PointCollection Class | ArcGIS Maps SDK for Qt

Represents a mutable collection of Points for creating a Multipoint geometry from a MultipointBuilder. More...

Member Function Documentation [explicit] PointCollection::PointCollection(const Esri::ArcGISRuntime::SpatialReference &spatialReference, QObject *parent = nullptr)

Constructor that takes a SpatialReference spatialReference and an optional parent.

[override virtual noexcept] PointCollection::~PointCollection()

Destructor.

int PointCollection::addPoint(const Esri::ArcGISRuntime::Point &point)

Adds point to the collection.

Returns -1 on error.

int PointCollection::addPoint(double x, double y)

Adds a new point with the given x and y coordinates.

Returns the index of the added point, or -1 on error.

The coordinates must be in the spatial reference of this PointCollection.

int PointCollection::addPoint(double x, double y, double z)

Adds a new point to the collection with the given x, y, and z coordinates.

Returns the index of the added point, or -1 on error.

Note: the coordinates must be in the spatial reference of this PointCollection.

void PointCollection::addPoints(Esri::ArcGISRuntime::PointCollection *points)

Adds the points in this PointCollection points to this collection.

void PointCollection::addPoints(const Esri::ArcGISRuntime::ImmutablePointCollection &points)

Adds the points in the ImmutablePointCollection points to this collection.

[since Esri::ArcGISRuntime 100.1] void PointCollection::addPoints(const QList<Esri::ArcGISRuntime::Point> &points)

Adds list of points to the collection.

This function was introduced in Esri::ArcGISRuntime 100.1.

int PointCollection::indexOf(const Esri::ArcGISRuntime::Point &point) const

Gets the index of point in the collection.

Returns -1 if the point is not found.

void PointCollection::insertPoint(int pointIndex, const Esri::ArcGISRuntime::Point &point)

Inserts a point into this PointCollection at pointIndex.

void PointCollection::insertPoint(int pointIndex, double x, double y)

Inserts a point with the given x and y coordinates into this PointCollection at pointIndex.

The coordinates must be in the spatial reference of this PointCollection.

void PointCollection::insertPoint(int pointIndex, double x, double y, double z)

Inserts a point with the given x, y, and z coordinates into this PointCollection at pointIndex.

The coordinates must be in the spatial reference of this PointCollection.

bool PointCollection::isEmpty() const

Gets whether this PointCollection contains any points.

Returns true if this PointCollection contains points.

Esri::ArcGISRuntime::Point PointCollection::point(int index) const

Gets the point at index.

Returns an empty Point object on error.

See also setPoint().

void PointCollection::removeAll()

Removes all the points from this PointCollection.

void PointCollection::removePoint(int pointIndex)

Removes the point at pointIndex.

void PointCollection::setPoint(int pointIndex, const Esri::ArcGISRuntime::Point &point)

Reassigns the point at pointIndex to point.

See also point().

[override virtual] int PointCollection::size() const

Gets the number of points in this PointCollection.

Esri::ArcGISRuntime::SpatialReference PointCollection::spatialReference() const

Gets the SpatialReference of this PointCollection.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4