Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISMultipartBuilder
Since: 1.0.0
Inheritance: ArcGISGeometryBuilder->ArcGISMultipartBuilder
Summary
The multipart builders allow you to create and modify geometries made up of multiple parts, such as ArcGISPolyline and ArcGISPolygon.
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | No | New parts for the multipart builder. |
Parts
ArcGISMutablePartCollection GetParts() const
void SetParts(const ArcGISMutablePartCollection& parts)
New parts for the multipart builder.
The collection of parts for the multipart builder. Changes to the collection are reflected in the multipart builder.
Methods
Signature | Return Type | Summary |
---|---|---|
Adds a new point to the end of the last part of the multipart. | ||
Adds a new point to the end of the last part of the multipart. | ||
AddPoint(const ArcGISPoint&) | Adds a new point to the end of the last part of the multipart. |
AddPoint
Adds a new point to the end of the last part of the multipart.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
x | No | The x-coordinate of the point to add. | |
y | No | The y-coordinate of the point to add. |
Returns size_t
The point index of the new point in the last part.
AddPoint
Adds a new point to the end of the last part of the multipart.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
x | No | The x-coordinate of the point to add. | |
y | No | The y-coordinate of the point to add. | |
z | No | The z-coordinate of the point to add. |
Returns size_t
the point index of the new point in the last part
AddPoint
size_t AddPoint(const ArcGISPoint& point)
Adds a new point to the end of the last part of the multipart.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
point | Yes | The point to add. |
Returns size_t
the point index of the new point in the last part