ArcGIS Runtime SDK for iOS: AGSPolylineBuilder.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSPolylineBuilder.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSMultipartBuilder.h>
27 
28 @class AGSPolyline;
29 @class AGSPoint;
30 
41 
42 
43 #pragma mark -
44 #pragma mark initializers
45 
46 
47 
54 -(instancetype)initWithSpatialReference:(nullable AGSSpatialReference*)sr;
55 
62 +(instancetype)polylineBuilderWithSpatialReference:(nullable AGSSpatialReference*)sr;
63 
74 -(instancetype)initWithPolyline:(nullable AGSPolyline *)polyline;
75 
86 +(instancetype)polylineBuilderWithPolyline:(nullable AGSPolyline *)polyline;
87 
94 -(instancetype)initWithPoints:(NSArray<AGSPoint*>*)points;
95 
102 +(instancetype)polylineBuilderWithPoints:(NSArray<AGSPoint*>*)points;
103 
104 #pragma mark -
105 #pragma mark methods
113 -(instancetype)replaceGeometry:(nullable AGSPolyline*)geometry;
114 
122 
123 
124 @end
A builder to construct or modify multipart geometries.
Definition: AGSMultipartBuilder.h:40
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
A builder to build polyline geometries.
Definition: AGSPolylineBuilder.h:41
AGSPolyline * toGeometry()
A multipart linear shape.
Definition: AGSPolyline.h:68
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49