Skip To Content ArcGIS for Developers Sign In Dashboard

Multipoint Class


A set of point locations treated as a single geometry. More...

Header: #include <Multipoint>
Since: Esri::ArcGISRuntime 100.0
Inherits: Geometry

Public Functions

Multipoint(const Multipoint &other)
Multipoint(Multipoint &&other)
Multipoint(const Geometry &other)
bool isValid() const
ImmutablePointCollection points() const
Multipoint &operator=(const Multipoint &other)
Multipoint &operator=(Multipoint &&other)

Additional Inherited Members

Detailed Description

A set of point locations treated as a single geometry.

A Multipoint is defined by an ordered collection of points and a spatial reference.

Multipoint is immutable. Instead of changing the properties of an existing Multipoint, create new Multipoint instances, or use MultipointBuilder.

A Multipoint can be used as the Geometry of a Feature.

Member Function Documentation


Default constructor.

Multipoint::Multipoint(const Multipoint &other)

Copy constructor from other Multipoint.

Multipoint::Multipoint(Multipoint &&other)

Move constructor from other Multipoint.

Multipoint::Multipoint(const Geometry &other)

Converting constructor from other Geometry.

See also Downcast helper functions.



bool Multipoint::isValid() const

Gets whether this Multipoint is valid.

A Multipoint is valid if it is not empty and geometryType is GeometryType::Multipoint.

Returns true if valid.

This function was introduced in Esri::ArcGISRuntime 100.2.

ImmutablePointCollection Multipoint::points() const

Gets the points of this Multipoint as an ImmutablePointCollection.

Returns an ImmutablePointCollection.

Multipoint &Multipoint::operator=(const Multipoint &other)

Assignment operator from other Multipoint.

Multipoint &Multipoint::operator=(Multipoint &&other)

Move operator from other Multipoint.

Feedback on this topic?