AGSMutableMultipoint Class Reference


Description

A mutable version of AGSMultipoint.

Defined in:
AGSMultipoint.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSMutableMultipoint:
AGSMultipoint AGSGeometry <AGSCoding>

List of all members.

Public Member Functions

(void) - addPoint:
(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:
(id) - initWithJSON:spatialReference:
(id) - initWithSpatialReference:
(void) - insertPoint:atIndex:
(BOOL) - intersectsWithEnvelope:
(BOOL) - isEmpty
(BOOL) - isEqualToMultipoint:
(BOOL) - isValid
(AGSPoint *) - pointAtIndex:
(void) - removePointAtIndex:
(void) - updatePoint:atIndex:

Properties

NSUInteger numPoints
AGSSpatialReferencespatialReference

Member Function Documentation

- (void) addPoint: (AGSPoint *)  point  

Add point to collection. The point is added to the end of the collection.

Parameters:
point The point to add to collection.
Since:
1.0
- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json
spatialReference: (AGSSpatialReference*)  sr 

Initialize geometry object with json and a spatial reference.

Parameters:
json The JSON to initialize an AGSGeometry with.
sr The spatial reference of geometry represented in json.
Returns:
A new geometry object.
Since:
1.0
- (id) initWithSpatialReference: (AGSSpatialReference *)  spatialReference  

Initialize geometry object with spatial reference.

Parameters:
spatialReference The spatial referenc of geometry.
Returns:
A new geometry object.
Since:
1.0
- (void) insertPoint: (AGSPoint *)  point
atIndex: (NSUInteger)  index 

Insert point into collection at the specified index.

Parameters:
point The point to add to collection.
index The index in which to add point.
Since:
1.0
- (BOOL) intersectsWithEnvelope: (AGSEnvelope *)  envelope  

Returns true if envelope intersects this geometry.

Parameters:
envelope The envelope to test intersection relation.
Returns:
True if envelopes intersects.
Since:
1.0

Reimplemented in AGSEnvelope.

- (BOOL) isEmpty  

Returns whether or not the geometry is empty.

Since:
1.8

Reimplemented in AGSEnvelope.

- (BOOL) isEqualToMultipoint: (AGSMultipoint*)  other  

Returns a value whether another multipoint is equal to this multipoint.

Parameters:
other The other multipoint to compare to.
Returns:
Whether or not the other multipoint is equal to this multipoint.
Since:
1.8
- (BOOL) isValid  

Returns whether or not the geometry is valid.

Since:
1.8
- (AGSPoint *) pointAtIndex: (NSUInteger)  index  

Return point from collection at index.

Parameters:
index The index of a point in collection.
Returns:
Point in collection.
Since:
1.0
- (void) removePointAtIndex: (NSUInteger)  index  

Remove point from specified index in the collection.

Parameters:
index The index of the point to remove from the collection.
Since:
1.0
- (void) updatePoint: (AGSPoint *)  point
atIndex: (NSUInteger)  index 

Update a point at index with point.

Parameters:
point The point to be placed at index.
index The index of the point to be updated.
Since:
1.0

Property Documentation

- (NSUInteger) numPoints [read, assign, inherited]

Number of points in collection.

Since:
1.0
- (AGSSpatialReference*) spatialReference [read, write, retain]

Geometry's spatial reference.

Since:
1.0

Reimplemented from AGSGeometry.