ArcGIS Runtime SDK for iOS: AGSGeodesicSectorParameters.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGeodesicSectorParameters.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSPoint.h>
28 
29 @class AGSLinearUnit;
30 @class AGSAngularUnit;
31  //Required for Globals API doc
33 
42 
43 
44 #pragma mark -
45 #pragma mark initializers
46 
53 -(instancetype)initWithCenter:(AGSPoint*)center
54  maxSegmentLength:(double)maxSegmentLength
55  semiAxisLength:(double)semiAxisLength;
56 
71 -(instancetype)initWithAxisDirection:(double)axisDirection
72  angularUnit:(nullable AGSAngularUnit*)angularUnit
73  center:(AGSPoint *)center
74  linearUnit:(nullable AGSLinearUnit*)linearUnit
75  maxPointCount:(NSInteger)maxPointCount
76  maxSegmentLength:(double)maxSegmentLength
77  geometryType:(AGSGeometryType)geometryType
78  sectorAngle:(double)sectorAngle
79  semiAxis1Length:(double)semiAxis1Length
80  semiAxis2Length:(double)semiAxis2Length
81  startDirection:(double)startDirection;
82 
91 -(instancetype)initWithCenter:(AGSPoint *)center
92  semiAxis1Length:(double)semiAxis1Length
93  semiAxis2Length:(double)semiAxis2Length
94  sectorAngle:(double)sectorAngle
95  startDirection:(double)startDirection;
96 
103 +(instancetype)parametersWithCenter:(AGSPoint*)center
104  maxSegmentLength:(double)maxSegmentLength
105  semiAxisLength:(double)semiAxisLength;
106 
110 +(instancetype)geodesicSectorParameters;
111 
112 
127 +(instancetype)parametersWithAxisDirection:(double)axisDirection
128  angularUnit:(nullable AGSAngularUnit*)angularUnit
129  center:(AGSPoint *)center
130  linearUnit:(nullable AGSLinearUnit*)linearUnit
131  maxPointCount:(NSInteger)maxPointCount
132  maxSegmentLength:(double)maxSegmentLength
133  geometryType:(AGSGeometryType)geometryType
134  sectorAngle:(double)sectorAngle
135  semiAxis1Length:(double)semiAxis1Length
136  semiAxis2Length:(double)semiAxis2Length
137  startDirection:(double)startDirection;
138 
147 +(instancetype)parametersWithCenter:(AGSPoint *)center
148  semiAxis1Length:(double)semiAxis1Length
149  semiAxis2Length:(double)semiAxis2Length
150  sectorAngle:(double)sectorAngle
151  startDirection:(double)startDirection;
152 
153 #pragma mark -
154 #pragma mark properties
155 
159 @property (nonatomic, strong) AGSPoint *center;
160 
164 @property (nonatomic, assign) double semiAxis1Length;
165 
171 @property (nonatomic, assign) double semiAxis2Length;
172 
178 @property (nonatomic, strong) AGSLinearUnit *linearUnit;
179 
185 @property (nonatomic, strong) AGSAngularUnit *angularUnit;
186 
190 @property (nonatomic, assign) double axisDirection;
191 
195 @property (nonatomic, assign) double startDirection;
196 
203 @property (nonatomic, assign) double sectorAngle;
204 
208 @property (nonatomic, assign) double maxSegmentLength;
209 
216 @property (nonatomic, assign) AGSGeometryType geometryType;
217 
221 @property (nonatomic, assign) NSInteger maxPointCount;
222 
223 
224 
225 @end
226 
227 
228 
229 
AGSGeometryType
Definition: AGSGeometry.h:49
Defines an angular unit of measurement.
Definition: AGSAngularUnit.h:54
Parameters for geodesicSectorWithParameters: (AGSGeometryEngine)
Definition: AGSGeodesicSectorParameters.h:42
double semiAxis1Length
Definition: AGSGeodesicSectorParameters.h:164
double axisDirection
Definition: AGSGeodesicSectorParameters.h:190
AGSGeometryType geometryType
Definition: AGSGeodesicSectorParameters.h:216
double sectorAngle
Definition: AGSGeodesicSectorParameters.h:203
AGSAngularUnit * angularUnit
Definition: AGSGeodesicSectorParameters.h:185
instancetype geodesicSectorParameters()
NSInteger maxPointCount
Definition: AGSGeodesicSectorParameters.h:221
double maxSegmentLength
Definition: AGSGeodesicSectorParameters.h:208
AGSLinearUnit * linearUnit
Definition: AGSGeodesicSectorParameters.h:178
double semiAxis2Length
Definition: AGSGeodesicSectorParameters.h:171
AGSPoint * center
Definition: AGSGeodesicSectorParameters.h:159
double startDirection
Definition: AGSGeodesicSectorParameters.h:195
Defines a linear unit of measurement.
Definition: AGSLinearUnit.h:60
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73