Multipoint Class

  • Multipoint
  • class Esri::ArcGISRuntime::Multipoint

    An ordered collection of points that can be managed as a single geometry. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    Multipoint(const Esri::ArcGISRuntime::Geometry &other)
    Multipoint(Esri::ArcGISRuntime::Multipoint &&other)
    Multipoint(const Esri::ArcGISRuntime::Multipoint &other)
    Multipoint()
    Esri::ArcGISRuntime::Multipoint &operator=(Esri::ArcGISRuntime::Multipoint &&other)
    Esri::ArcGISRuntime::Multipoint &operator=(const Esri::ArcGISRuntime::Multipoint &other)
    virtual ~Multipoint() override
    bool isValid() const
    Esri::ArcGISRuntime::ImmutablePointCollection points() const

    Detailed Description

    A Multipoint is defined by an ordered collection of points and a spatial reference. A Multipoint can be used as the geometry of features and graphics, or as input or output for spatial operations. For features that consist of a very large number of points sharing the same set of attribute values, multipoints may be more efficient to store and analyze in a geodatabase compared to using multiple point features.

    A Multipoint is a single read-only collection of Point. Use MultipointBuilder to create new instances of Multipoint.

    Member Function Documentation

    Multipoint::Multipoint(const Esri::ArcGISRuntime::Geometry &other)

    Converting constructor from other Geometry.

    See also Downcast helper functions.

    Multipoint::Multipoint(Esri::ArcGISRuntime::Multipoint &&other)

    Move constructor from other Multipoint.

    Multipoint::Multipoint(const Esri::ArcGISRuntime::Multipoint &other)

    Copy constructor from other Multipoint.

    Multipoint::Multipoint()

    Default constructor.

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

    Move operator from other Multipoint.

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

    Assignment operator from other Multipoint.

    [override virtual] Multipoint::~Multipoint()

    Destructor.

    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.

    Esri::ArcGISRuntime::ImmutablePointCollection Multipoint::points() const

    Gets the read-only points of this Multipoint as an ImmutablePointCollection.

    Returns an ImmutablePointCollection. Use MultipointBuilder to build a Multipoint one point at a time, or to modify the points that compose an existing Multipoint.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.