ArcGIS Runtime SDK for iOS: AGSPointCollection.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSPointCollection.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/AGSObject.h>
20 
21 @class AGSPoint;
22 @class AGSEnumerator;
23 @class AGSSpatialReference;
24 
34 @interface AGSPointCollection : AGSObject <NSFastEnumeration>
35 
36 
37 
38 
39 #pragma mark -
40 #pragma mark properties
41 
47 @property (nonatomic, assign, readonly) NSInteger count;
48 
54 @property (nonatomic, assign, readonly, getter=isEmpty) BOOL empty;
55 
62 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
63 
64 #pragma mark -
65 #pragma mark methods
66 
74 -(AGSPoint*)pointAtIndex:(NSInteger)index;
75 
83 -(NSInteger)indexOfPoint:(AGSPoint*)point;
84 
100 -(AGSPoint*)objectAtIndexedSubscript:(NSInteger)idx;
101 
106 -(AGSEnumerator*)pointEnumerator;
107 
112 -(NSArray<AGSPoint*>*)array;
113 
118 -(void)enumerateXYCoordinatesUsingBlock:(void(^)(NSUInteger index, double x, double y))block;
119 
120 
121 @end
NSArray< AGSPoint * > * array()
Represents vertices (immutable collection of points) of a single part of a multipart geometry (AGSMul...
Definition: AGSPointCollection.h:34
NSInteger count
Definition: AGSPointCollection.h:47
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
AGSSpatialReference * spatialReference
Definition: AGSPointCollection.h:62
Definition: AGSObject.h:21
BOOL empty
Definition: AGSPointCollection.h:54
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
AGSEnumerator * pointEnumerator()