19 #import <ArcGIS/AGSObject.h> 55 #pragma mark initializers 73 +(instancetype)pointCollectionWithSpatialReference:(nullable
AGSSpatialReference*)spatialReference;
76 #pragma mark properties 82 @property (nonatomic, assign, readonly) BOOL
isEmpty;
88 @property (nonatomic, assign, readonly) NSInteger
count;
106 -(NSInteger)addPoint:(
AGSPoint*)point;
114 -(NSInteger)addPointWithX:(
double)x y:(
double)y;
123 -(NSInteger)addPointWithX:(
double)x y:(
double)y z:(
double)z;
129 -(void)addPoints:(NSArray<
AGSPoint*>*)points;
136 -(void)insertPoint:(
AGSPoint*)point atIndex:(NSInteger)index;
144 -(void)insertPointWithX:(
double)x y:(
double)y atIndex:(NSInteger)index;
153 -(void)insertPointWithX:(
double)x y:(
double)y z:(
double)z atIndex:(NSInteger)index;
159 -(void)removePointAtIndex:(NSInteger)index;
172 -(NSInteger)indexOfPoint:(
AGSPoint*)point;
180 -(
AGSPoint*)pointAtIndex:(NSInteger)index;
187 -(void)setPoint:(
AGSPoint*)point atIndex:(NSInteger)index;
202 -(
AGSPoint*)objectAtIndexedSubscript:(NSInteger)idx;
217 -(void)setObject:(
AGSPoint*)obj atIndexedSubscript:(NSInteger)idx;
235 -(void)enumerateXYCoordinatesUsingBlock:(
void(^)(NSUInteger index,
double x,
double y))block;
AGSEnumerator * pointEnumerator()
NSArray< AGSPoint * > * array()
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
Definition: AGSObject.h:21
Mutable collection of points of a multipoint geometry builder.
Definition: AGSMutablePointCollection.h:51
BOOL isEmpty
Definition: AGSMutablePointCollection.h:82
NSInteger count
Definition: AGSMutablePointCollection.h:88
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57