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-multipart.html below:

Multipart Class | ArcGIS Maps SDK for Qt

Detailed Description

Multipart geometry is a collection of shapes (of the same type) that is managed as a single geometry. A classic example is a group of islands that represent a single country or state. The individual island shapes are distinct, but ArcGIS considers it a single geometry.

Multipart is an abstract class from which Polygon and Polyline inherit, and Multipart inherits from Geometry. Multipart provides access to the geometry's ImmutablePartCollection. Each ImmutablePart in the collection is a collection of Segment objects. You can iterate through the segments or points in each part.

In the same way that Polygon and Polyline are immutable, their multipart collections are also immutable: ImmutablePartCollection, ImmutablePart, and ImmutablePointCollection. However, when creating polygons and polylines, use the mutable equivalents: PartCollection, Part, and PointCollection.

Member Function Documentation [protected] Multipart::Multipart()

Default constructor.

[explicit] Multipart::Multipart(const Esri::ArcGISRuntime::Geometry &other)

Converting constructor from other Geometry.

See also Downcast helper functions.

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

Copy constructor from other Multipart.

[noexcept] Multipart::Multipart(Esri::ArcGISRuntime::Multipart &&other)

Move constructor from other Multipart.

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

Destructor.

[since Esri::ArcGISRuntime 100.2] bool Multipart::isValid() const

Gets whether this Multipart is valid.

A Multipart is valid if it is not empty and geometryType is GeometryType::Polygon or GeometryType::Polyline.

Returns true if valid.

This function was introduced in Esri::ArcGISRuntime 100.2.

Esri::ArcGISRuntime::ImmutablePartCollection Multipart::parts() const

Gets the parts of this Multipart as an ImmutablePartCollection.

Returns an ImmutablePartCollection.

[noexcept] Esri::ArcGISRuntime::Multipart &Multipart::operator=(Esri::ArcGISRuntime::Multipart &&other)

Move operator from other Multipart.

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

Assignment operator from other Multipart.


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