ArcGIS Runtime SDK for iOS: AGSPolygonBuilder.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSPolygonBuilder.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSMultipartBuilder.h>
20 
21 @class AGSPolygon;
22 @class AGSPolyline;
23 @class AGSPoint;
24 
35 
36 
37 #pragma mark -
38 #pragma mark initializers
39 
40 
41 
48 -(instancetype)initWithSpatialReference:(nullable AGSSpatialReference*)sr;
49 
56 +(instancetype)polygonBuilderWithSpatialReference:(nullable AGSSpatialReference*)sr;
57 
64 -(instancetype)initWithPoints:(NSArray<AGSPoint*>*)points;
65 
72 +(instancetype)polygonBuilderWithPoints:(NSArray<AGSPoint*>*)points;
73 
80 -(instancetype)initWithPolygon:(nullable AGSPolygon*)poly;
81 
88 +(instancetype)polygonBuilderWithPolygon:(nullable AGSPolygon*)poly;
89 
90 #pragma mark -
91 #pragma mark methods
92 
100 -(instancetype)replaceGeometry:(nullable AGSPolygon*)geometry;
101 
109 
111 
112 
113 @end
AGSPolygon * toGeometry()
A builder to construct or modify multipart geometries.
Definition: AGSMultipartBuilder.h:32
AGSPolyline * toPolyline()
A multipart shape used to represent an area.
Definition: AGSPolygon.h:57
A builder to build polygon geometries.
Definition: AGSPolygonBuilder.h:34
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
A multipart linear shape.
Definition: AGSPolyline.h:49
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57