ArcGISPolygonBuilder

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

Summary

The polygon builder object is used to create a polygon.

Constructors

ArcGISPolygonBuilder(const ArcGISPolygon&)

Creates a polygon builder from a polygon.

Since 1.0.0

Arguments
NameTypeConstSummary
polygon
Yes

A polygon object.

ArcGISPolygonBuilder(const ArcGISSpatialReference&)

Creates a polygon builder.

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.