25 #import <Foundation/Foundation.h> 
   26 #import <ArcGIS/AGSObject.h> 
   63 #pragma mark initializers 
   80 +(instancetype)pointCollectionWithSpatialReference:(nullable 
AGSSpatialReference*)spatialReference;
 
   83 #pragma mark properties 
   89 @property (nonatomic, assign, readonly) BOOL 
isEmpty;
 
   95 @property (nonatomic, assign, readonly) NSInteger 
count;
 
  113 -(NSInteger)addPoint:(
AGSPoint*)point;
 
  121 -(NSInteger)addPointWithX:(
double)x y:(
double)y;
 
  130 -(NSInteger)addPointWithX:(
double)x y:(
double)y z:(
double)z;
 
  136 -(void)addPoints:(NSArray<
AGSPoint*>*)points;
 
  143 -(void)insertPoint:(
AGSPoint*)point atIndex:(NSInteger)index;
 
  151 -(void)insertPointWithX:(
double)x y:(
double)y atIndex:(NSInteger)index;
 
  160 -(void)insertPointWithX:(
double)x y:(
double)y z:(
double)z atIndex:(NSInteger)index;
 
  166 -(void)removePointAtIndex:(NSInteger)index;
 
  179 -(NSInteger)indexOfPoint:(
AGSPoint*)point;
 
  187 -(
AGSPoint*)pointAtIndex:(NSInteger)index;
 
  194 -(void)setPoint:(
AGSPoint*)point atIndex:(NSInteger)index;
 
  209 -(
AGSPoint*)objectAtIndexedSubscript:(NSInteger)idx;
 
  224 -(void)setObject:(
AGSPoint*)obj atIndexedSubscript:(NSInteger)idx;
 
  242 -(void)enumerateXYCoordinatesUsingBlock:(
void(^)(NSUInteger index, 
double x, 
double y))block;
 
Mutable collection of points of a multipoint geometry builder.
Definition: AGSMutablePointCollection.h:59
NSArray< AGSPoint * > * array()
BOOL isEmpty
Definition: AGSMutablePointCollection.h:89
AGSEnumerator * pointEnumerator()
AGSSpatialReference * spatialReference
Definition: AGSMutablePointCollection.h:103
NSInteger count
Definition: AGSMutablePointCollection.h:95
Definition: AGSObject.h:28
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