AGSTrimExtendParameters Class Reference


Description

Instances of this class represent parameters for AGSGeometryServiceTask's trimExtendWithParameters: operation.

Defined in:
AGSGeometryParameters.h ( ArcGIS library)
Since:
1.0
See also:
AGSGeometryServiceTask
Inheritance diagram for AGSTrimExtendParameters:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Static Public Member Functions

(id) + trimExtendParameters

Properties

NSUInteger extendHow
NSArray * polylines
AGSPolylinetrimExtendTo

Member Function Documentation

- (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) trimExtendParameters  

Returns an autoreleased instance of the AGSTrimExtendParameters object.

Since:
1.0

Property Documentation

- (NSUInteger) extendHow [read, write, assign]

An optional flag with the following possible values:

  • 0 - By default, extension considers both ends of paths. The old ends remain and new points are added to the extended ends. The new points have attributes that are extrapolated from adjacent existing segments.
  • 1 - If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position.
  • 2 - If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes the same as the current end. Incompatible with esriNoAttributes.
  • 4 - If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes be empty. Incompatible with esriKeepAttributes.
  • 8 - Do not extend the 'from' end of any path.
  • 16 - Do not extend the 'to' end of any path.
Since:
1.0
- (NSArray*) polylines [read, write, retain]

An array of polylines to be trimmed or extended.

Since:
1.0
- (AGSPolyline*) trimExtendTo [read, write, retain]

A polyline which is used as a guide for trimming / extending input polylines.

Since:
1.0