ArcGIS Runtime SDK for iOS: AGSPartCollection.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSPartCollection.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 AGSPart;
22 @class AGSEnumerator;
23 @class AGSSpatialReference;
24  //Required for Globals API doc
26 
51 @interface AGSPartCollection : AGSObject <NSFastEnumeration>
52 
53 
54 #pragma mark -
55 #pragma mark initializers
56 
57 
58 
59 #pragma mark -
60 #pragma mark properties
61 
67 @property (nonatomic, assign, readonly) NSInteger count;
68 
74 @property (nonatomic, assign, readonly) NSInteger totalPointCount;
75 
80 @property (nonatomic, assign, readonly, getter=isEmpty) BOOL empty;
81 
88 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
89 
90 #pragma mark -
91 #pragma mark methods
92 
100 -(AGSPart*)partAtIndex:(NSInteger)index;
101 
109 -(NSInteger)indexOfPart:(AGSPart*)part;
110 
125 -(AGSPart*)objectAtIndexedSubscript:(NSInteger)idx;
126 
131 -(AGSEnumerator*)partEnumerator;
132 
137 -(NSArray<AGSPart*>*)array;
138 
139 
140 @end
AGSSpatialReference * spatialReference
Definition: AGSPartCollection.h:88
BOOL empty
Definition: AGSPartCollection.h:80
Represents a single part of a multipart geometry (AGSPolygon or AGSPolyline).
Definition: AGSPart.h:52
Parts of a multipart geometry (AGSMultipart).
Definition: AGSPartCollection.h:51
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
Definition: AGSObject.h:21
AGSEnumerator * partEnumerator()
NSInteger totalPointCount
Definition: AGSPartCollection.h:74
NSInteger count
Definition: AGSPartCollection.h:67
NSArray< AGSPart * > * array()