ArcGIS Runtime SDK for iOS: AGSGeoprocessingLinearUnit.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGeoprocessingLinearUnit.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSGeoprocessingParameter.h>
29 #import <ArcGIS/AGSLinearUnit.h>
30 
31 
32 
37 typedef NS_ENUM(NSInteger, AGSGeoprocessingLinearUnits) {
50 };
51 
59 
60 #pragma mark -
61 #pragma mark initializers
62 
63 +(instancetype)geoprocessingLinearUnit;
64 
69 -(instancetype)initWithDistance:(double)distance;
70 
75 +(instancetype)geoprocessingLinearUnitWithDistance:(double)distance;
76 
82 -(instancetype)initWithDistance:(double)distance geoprocessingLinearUnit:(AGSGeoprocessingLinearUnits)geoprocessingLinearUnit;
83 
89 +(instancetype)geoprocessingLinearUnitWithDistance:(double)distance geoprocessingUnit:(AGSGeoprocessingLinearUnits)geoprocessingUnit;
90 
96 -(instancetype)initWithDistance:(double)distance linearUnit:(AGSLinearUnit *)linearUnit;
97 
103 +(instancetype)geoprocessingLinearUnitWithDistance:(double)distance linearUnit:(AGSLinearUnit*)linearUnit;
104 
110 -(instancetype)initWithDistance:(double)distance unitID:(AGSLinearUnitID)unitID;
111 
117 +(instancetype)geoprocessingLinearUnitWithDistance:(double)distance unitID:(AGSLinearUnitID)unitID;
118 
119 #pragma mark -
120 #pragma mark properties
121 
125 @property (nonatomic, assign, readwrite) double distance;
126 
130 @property (nonatomic, assign, readwrite) AGSGeoprocessingLinearUnits geoprocessingLinearUnit;
131 
132 #pragma mark -
133 #pragma mark methods
134 
139 
140 @end
141 
142 
AGSGeoprocessingLinearUnits
Definition: AGSGeoprocessingLinearUnit.h:37
@ AGSGeoprocessingLinearUnitsUSSurveyFoot
Definition: AGSGeoprocessingLinearUnit.h:45
@ AGSGeoprocessingLinearUnitsUSSurveyMile
Definition: AGSGeoprocessingLinearUnit.h:47
@ AGSGeoprocessingLinearUnitsUSSurveyYard
Definition: AGSGeoprocessingLinearUnit.h:48
@ AGSGeoprocessingLinearUnitsKilometer
Definition: AGSGeoprocessingLinearUnit.h:40
@ AGSGeoprocessingLinearUnitsDecimeter
Definition: AGSGeoprocessingLinearUnit.h:39
@ AGSGeoprocessingLinearUnitsUnknown
Definition: AGSGeoprocessingLinearUnit.h:49
@ AGSGeoprocessingLinearUnitsMillimeter
Definition: AGSGeoprocessingLinearUnit.h:42
@ AGSGeoprocessingLinearUnitsPoint
Definition: AGSGeoprocessingLinearUnit.h:43
@ AGSGeoprocessingLinearUnitsMeter
Definition: AGSGeoprocessingLinearUnit.h:41
@ AGSGeoprocessingLinearUnitsUSSurveyInch
Definition: AGSGeoprocessingLinearUnit.h:46
@ AGSGeoprocessingLinearUnitsCentimeter
Definition: AGSGeoprocessingLinearUnit.h:38
@ AGSGeoprocessingLinearUnitsUSNauticalMile
Definition: AGSGeoprocessingLinearUnit.h:44
AGSLinearUnitID
Definition: AGSLinearUnit.h:38
A geoprocessing parameter for linear distances.
Definition: AGSGeoprocessingLinearUnit.h:59
double distance
Definition: AGSGeoprocessingLinearUnit.h:125
AGSGeoprocessingLinearUnits geoprocessingLinearUnit
Definition: AGSGeoprocessingLinearUnit.h:130
AGSLinearUnit * linearUnit()
A base class for geoprocessing parameters.
Definition: AGSGeoprocessingParameter.h:38
Defines a linear unit of measurement.
Definition: AGSLinearUnit.h:60