<AGSGeometryServiceTaskDelegate> Protocol Reference
Description
A protocol which must be adopted by any class wishing to be notified when AGSGeometryServiceTask
completes successfully or encounters an error. An instance of the class must then be set as the delegate of AGSGeometryServiceTask
.
- Defined in:
- AGSGeometryServiceTask.h ( ArcGIS library)
- Since:
- 1.0
List of all members.
Member Function Documentation
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailAreasAndLengthsWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating the areas and lengths of polygons.
- Parameters:
-
| geometryServiceTask | The task called to compute areas and lengths. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailAutoCompleteWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while autocompleting the input polygons.
- Parameters:
-
| geometryServiceTask | The task called to autocomplete the input polygons. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailBufferWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while buffering the geometries.
- Parameters:
-
| geometryServiceTask | The task called to buffer. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailConvexHullWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating the convex hull of the input geometries.
- Parameters:
-
| geometryServiceTask | The task called to calculate the convex hull of the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailCutWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while performing the cut operation on the input geometry.
- Parameters:
-
| geometryServiceTask | The task called to cut the input geometry. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailDensifyWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while performing the densify operation.
- Parameters:
-
| geometryServiceTask | The task called to densify the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailDifferenceWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating the difference of the input geometries.
- Parameters:
-
| geometryServiceTask | The task called to calculate the difference of the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailDistanceWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating the distance.
- Parameters:
-
| geometryServiceTask | The task called to calculate distance. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailGeneralizeWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while performing the generalize operation.
- Parameters:
-
| geometryServiceTask | The task called to generalize the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailIntersectWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating the intersection of the input geometries.
- Parameters:
-
| geometryServiceTask | The task called to perform an intersect on the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailLabelPointsWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while fetching the label points of polygons.
- Parameters:
-
| geometryServiceTask | The task called to get label points. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailLengthsWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating lengths of polylines.
- Parameters:
-
| geometryServiceTask | The task called to compute lengths. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailOffsetWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while calculating the offset of the input geometries.
- Parameters:
-
| geometryServiceTask | The task called to calculate the offset of the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailProjectWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while projecting the geometries.
- Parameters:
-
| geometryServiceTask | The task called to project. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailRelationWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while pairing related geometries.
- Parameters:
-
| geometryServiceTask | The task called to pair related geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailReshapeWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while reshaping the input geometry.
- Parameters:
-
| geometryServiceTask | The task called to reshape the input geometry. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailSimplifyWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while simplifying the geometries.
- Parameters:
-
| geometryServiceTask | The task called to simplify. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailTrimExtendWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while trimming/extending the input polylines.
- Parameters:
-
| geometryServiceTask | The task called to trim/extend the input polylines. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didFailUnionWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while unioning the input geometries.
- Parameters:
-
| geometryServiceTask | The task called to union the input geometries. |
| op | NSOperation that performed the task. |
| error | Information about the operation's failure. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnAreas: |
|
(NSArray *) |
areas |
andLengths: |
|
(NSArray *) |
lengths | |
|
|
| | [optional] |
Tells the delegate that areas and lengths of polygons were calculated successfully.
- Parameters:
-
| geometryServiceTask | The task called to calculate areas and lengths. |
| op | NSOperation that performed the task. |
| areas | The areas of the input polygons. The areas are represented as double values. |
| lengths | The perimeters of the input polygons. The lengths are represented as double values. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnAutoCompletedPolygons: |
|
(NSArray *) |
polygons | |
|
|
| | [optional] |
Tells the delegate that the autocomplete operation returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to autocomplete the input polygons. |
| op | NSOperation that performed the task. |
| polygons | The resulting autocompleted polygons. |
- Since:
- 1.0
- See also:
- AGSPolygon
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnBufferedGeometries: |
|
(NSArray *) |
bufferedGeometries | |
|
|
| | [optional] |
Tells the delegate that geometries were buffered successfully.
- Parameters:
-
| geometryServiceTask | The task called to buffer. |
| op | NSOperation that performed the task. |
| bufferedGeometries | The resulting array of buffered polygons. If multiple input geometries and buffer distances were supplied, the array contains results for all geometries based on the first distance, followed by the next distance, and so on. |
- Since:
- 1.0
- See also:
- AGSPolygon
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnConvexHullGeometry: |
|
(AGSGeometry *) |
geometry | |
|
|
| | [optional] |
Tells the delegate that the convex hull geometry was returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to calculate the convex hull of the input geometries. |
| op | NSOperation that performed the task. |
| geometry | The resulting convex hull of the input geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnCutGeometries: |
|
(NSArray *) |
geometries | |
|
|
| | [optional] |
Tells the delegate that the cut operation returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to cut the input geometry. |
| op | NSOperation that performed the task. |
| geometries | The resulting geometries defining the cut region. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnDensifiedGeometries: |
|
(NSArray *) |
geometries | |
|
|
| | [optional] |
Tells the delegate that densified geometries were returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to the input densify geometries. |
| op | NSOperation that performed the task. |
| geometries | The resulting array of densified geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnDifferenceGeometries: |
|
(NSArray *) |
geometries | |
|
|
| | [optional] |
Tells the delegate that the difference of the input geometries was returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to calculate the difference of the input geometries. |
| op | NSOperation that performed the task. |
| geometries | The resulting geometries from calculating the difference of the input geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnDistance: |
|
(double) |
distance | |
|
|
| | [optional] |
Tells the delegate that a distance was returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to calculate distance. |
| op | NSOperation that performed the task. |
| distance | The distance between the input geometries. The distance is returned as a double value. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnGeneralizedGeometries: |
|
(NSArray *) |
geometries | |
|
|
| | [optional] |
Tells the delegate that generalized geometries were returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to generalize the input geometries. |
| op | NSOperation that performed the task. |
| geometries | The resulting array of generalized geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnIntersectingGeometries: |
|
(NSArray *) |
geometries | |
|
|
| | [optional] |
Tells the delegate that intersecting geometries were returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to perform an intersect on the input geometries. |
| op | NSOperation that performed the task. |
| geometries | The result of calculating the intersection of the input geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnLabelPoints: |
|
(NSArray *) |
labelPoints | |
|
|
| | [optional] |
Tells that delegate that label points of polygons were returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to get label points. |
| op | NSOperation that performed the task. |
| labelPoints | The resulting label points for the input polygons. |
- Since:
- 1.0
- See also:
- AGSPoint
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnLengths: |
|
(NSArray *) |
lengths | |
|
|
| | [optional] |
Tells the delegate that lengths of polylines were calculated successfully.
- Parameters:
-
| geometryServiceTask | The task called to get lengths. |
| op | NSOperation that performed the task. |
| lengths | The lengths of the input polylines. The lengths are returned as double values. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnOffsetGeometries: |
|
(NSArray *) |
geometries | |
|
|
| | [optional] |
Tells the delegate that the offset was constructed successfully.
- Parameters:
-
| geometryServiceTask | The task called to calculate the offset of the input geometries. |
| op | NSOperation that performed the task. |
| geometries | The resulting offset geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnProjectedGeometries: |
|
(NSArray *) |
projectedGeometries | |
|
|
| | [optional] |
Tells the delegate that geometries were projected successfully.
- Parameters:
-
| geometryServiceTask | The task called to project. |
| op | NSOperation that performed the task. |
| projectedGeometries | The resulting array of projected geometries. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnRelations: |
|
(NSArray *) |
relations | |
|
|
| | [optional] |
Tells the delegate that related geometries were paired successfully.
- Parameters:
-
| geometryServiceTask | The task called to pair related geometries. |
| op | NSOperation that performed the task. |
| relations | The relations of the input geometries. Each relation is an AGSGeometryRelationship object where geometry1 relates to geometry2 with the relation type . |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnReshapedGeometry: |
|
(AGSGeometry *) |
geometry | |
|
|
| | [optional] |
Tells the delegate that reshaped geometries were returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to reshape the input geometry. |
| op | NSOperation that performed the task. |
| geometry | The result of reshaping the input geometry. |
- Since:
- 1.0
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnSimplifiedGeometries: |
|
(NSArray *) |
simplifiedGeometries | |
|
|
| | [optional] |
Tells the delegate that geometries were simplified successfully.
- Parameters:
-
| geometryServiceTask | The task called to simplify. |
| op | NSOperation that performed the task. |
| simplifiedGeometries | The resulting array of simplified polygons. |
- Since:
- 1.0
- See also:
- AGSPolygon
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnTrimExtendPolylines: |
|
(NSArray *) |
polylines | |
|
|
| | [optional] |
Tells the delegate that the trimExtend operation completed successfully.
- Parameters:
-
| geometryServiceTask | The task called to trim/extend the input polylines. |
| op | NSOperation that performed the task. |
| polylines | The resulting trimmed/extended polylines. |
- Since:
- 1.0
- See also:
- AGSPolyline
- (void) geometryServiceTask: |
|
(AGSGeometryServiceTask *) |
geometryServiceTask |
operation: |
|
(NSOperation *) |
op |
didReturnUnionedGeometry: |
|
(AGSGeometry *) |
geometry | |
|
|
| | [optional] |
Tells the delegate that unioned geometries were returned successfully.
- Parameters:
-
| geometryServiceTask | The task called to union the input geometries. |
| op | NSOperation that performed the task. |
| geometry | The result of unioning the input geometries. |
- Since:
- 1.0