Skip To Content ArcGIS for Developers Sign In Dashboard

MultipartBuilder Class

(Esri::ArcGISRuntime::MultipartBuilder)

Base class for builders of geometries that consist of multiple parts, such as Polyline and Polygon. More...

Header: #include <MultipartBuilder>
Since: Esri::ArcGISRuntime 100.0
Inherits: GeometryBuilder
Inherited By:

Esri::ArcGISRuntime::PolygonBuilder and Esri::ArcGISRuntime::PolylineBuilder

Public Functions

~MultipartBuilder()
int addPoint(const Point &point)
int addPoint(double x, double y)
int addPoint(double x, double y, double z)
void addPoints(const QList<Point> &points)
PartCollection *parts() const
void setParts(PartCollection *parts)

Additional Inherited Members

Detailed Description

Base class for builders of geometries that consist of multiple parts, such as Polyline and Polygon.

MultipartBuilder is an abstract class from which the PolygonBuilder and PolylineBuilder classes inherit.

Member Function Documentation

MultipartBuilder::~MultipartBuilder()

Destructor.

int MultipartBuilder::addPoint(const Point &point)

Adds a point to the Multipart.

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

Adds a point with coordinates x and y.

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

Adds a point with coordinates x, y and z.

void MultipartBuilder::addPoints(const QList<Point> &points)

Adds a list of points to the Multipart.

This function was introduced in Esri::ArcGISRuntime 100.1.

PartCollection *MultipartBuilder::parts() const

Gets the parts of this MultipartBuilder as a PartCollection.

Returns a PartCollection.

See also setParts().

void MultipartBuilder::setParts(PartCollection *parts)

Sets the parts of this MultipartBuilder to parts.

See also parts().


Feedback on this topic?