ArcGIS Runtime SDK for iOS: AGSMultipointBuilder.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSMultipointBuilder.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/AGSGeometryBuilder.h>
27 
28 @class AGSPoint;
29 @class AGSMultipoint;
31 
42 
43 
44 #pragma mark -
45 #pragma mark initializers
46 
47 
48 
55 -(instancetype)initWithSpatialReference:(nullable AGSSpatialReference*)sr;
56 
63 +(instancetype)multipointBuilderWithSpatialReference:(nullable AGSSpatialReference*)sr;
64 
71 -(instancetype)initWithMultipoint:(nullable AGSMultipoint *)multipoint;
72 
79 +(instancetype)multipointBuilderWithMultipoint:(nullable AGSMultipoint *)multipoint;
80 
87 -(instancetype)initWithPoints:(NSArray<AGSPoint*>*)points;
88 
95 +(instancetype)multipointBuilderWithPoints:(NSArray<AGSPoint*>*)points;
96 
97 #pragma mark -
98 #pragma mark properties
99 
105 @property (nonatomic, strong, readwrite) AGSMutablePointCollection *points;
106 
107 #pragma mark -
108 #pragma mark methods
109 
117 -(instancetype)replaceGeometry:(nullable AGSMultipoint*)geometry;
118 
126 
127 
128 @end
A builder to build geometries.
Definition: AGSGeometryBuilder.h:43
A builder to construct or modify multipoint geometries.
Definition: AGSMultipointBuilder.h:42
AGSMutablePointCollection * points
Definition: AGSMultipointBuilder.h:105
AGSMultipoint * toGeometry()
An ordered collection of points that can be managed as a single geometry.
Definition: AGSMultipoint.h:50
Mutable collection of points of a multipoint geometry builder.
Definition: AGSMutablePointCollection.h:59
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49