ArcGISPolygonBuilder

Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISPolygonBuilder
Since: 1.0.0
Inheritance: ArcGISMultipartBuilder->ArcGISPolygonBuilder

Summary

The polygon builder allows you to create and modify ArcGISPolygon geometries incrementally.

Constructors

ArcGISPolygonBuilder(const ArcGISPolygon&)

Creates a new polygon builder by copying the parts from the specified ArcGISPolygon.

Since 1.0.0

Arguments
NameTypeConstSummary
polygon
Yes

A polygon used to initialize the new builder.

ArcGISPolygonBuilder(const ArcGISSpatialReference&)

Creates a new empty polygon builder with the specified ArcGISSpatialReference.

Since 1.0.0

Arguments
NameTypeConstSummary
spatialReference
Yes

The builder's spatial reference.

Methods

SignatureReturn TypeSummary

ToPolyline()

ArcGISPolyline

Creates a polyline with the values in the polygon builder.

ToPolyline

ArcGISPolyline ToPolyline() const

Creates a polyline with the values in the polygon builder.

Since 1.0.0

Returns ArcGISPolyline

A polyline.

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