19 #import <ArcGIS/AGSObject.h> 60 #pragma mark initializers 86 -(instancetype)initWithPoints:(NSArray<
AGSPoint*>*)points;
92 +(instancetype)partWithPoints:(NSArray<
AGSPoint*>*)points;
95 #pragma mark properties 100 @property (nonatomic, assign, readonly, getter=isEmpty) BOOL
empty;
106 @property (nonatomic, assign, readonly) NSInteger
pointCount;
145 -(NSInteger)addPoint:(
AGSPoint*)point;
153 -(NSInteger)addPointWithX:(
double)x y:(
double)y;
162 -(NSInteger)addPointWithX:(
double)x y:(
double)y z:(
double)z;
168 -(void)addPoints:(NSArray<
AGSPoint*>*)points;
182 -(void)insertPoint:(
AGSPoint*)point atIndex:(NSInteger)index;
190 -(void)insertPointWithX:(
double)x y:(
double)y atIndex:(NSInteger)index;
199 -(void)insertPointWithX:(
double)x y:(
double)y z:(
double)z atIndex:(NSInteger)index;
206 -(void)insertSegment:(
AGSSegment*)segment atIndex:(NSInteger)index;
212 -(void)removePointAtIndex:(NSInteger)index;
218 -(void)removeSegmentAtIndex:(NSInteger)index;
230 -(void)setPoint:(
AGSPoint*)point atIndex:(NSInteger)index;
238 -(void)setPointWithX:(
double)x y:(
double)y atIndex:(NSInteger)index;
245 -(void)setSegment:(
AGSSegment*)segment atIndex:(NSInteger)index;
252 -(
AGSPoint*)pointAtIndex:(NSInteger)index;
259 -(
AGSSegment*)segmentAtIndex:(NSInteger)index;
266 -(NSInteger)segmentIndexForStartPointIndex:(NSInteger)pointIndex;
273 -(NSInteger)segmentIndexForEndPointIndex:(NSInteger)pointIndex;
280 -(NSInteger)startPointIndexForSegmentIndex:(NSInteger)segmentIndex;
287 -(NSInteger)endPointIndexForSegmentIndex:(NSInteger)segmentIndex;
290 -(void)segmentIndexForPointIndex:(NSInteger)pointIndex outSegmentStartPointIndex:(NSInteger*)outSegmentStartPointIndex outSegmentEndPointIndex:(NSInteger*)outSegmentEndPointIndex;
306 -(
AGSSegment*)objectAtIndexedSubscript:(NSInteger)idx;
323 -(void)setObject:(
AGSSegment*)obj atIndexedSubscript:(NSInteger)idx;
NSInteger pointCount
Definition: AGSMutablePart.h:106
AGSPoint * startPoint
Definition: AGSMutablePart.h:125
Represents vertices (immutable collection of points) of a single part of a multipart geometry (AGSMul...
Definition: AGSPointCollection.h:34
AGSEnumerator * pointEnumerator()
AGSPoint * endPoint
Definition: AGSMutablePart.h:130
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
A segment represents an edge of a multipart geometry, connecting a start to an end point...
Definition: AGSSegment.h:44
NSInteger segmentCount
Definition: AGSMutablePart.h:111
BOOL empty
Definition: AGSMutablePart.h:100
A mutable part of a multipart geometry.
Definition: AGSMutablePart.h:56
Definition: AGSObject.h:21
AGSEnumerator * segmentEnumerator()
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
NSArray< AGSSegment * > * array()