ArcGIS Runtime SDK for iOS: AGSGeodesicSectorParameters.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSGeodesicSectorParameters.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 
54 -(instancetype)initWithCenter:(AGSPoint*)center
55  maxSegmentLength:(double)maxSegmentLength
56  semiAxisLength:(double)semiAxisLength;
57 
73 -(instancetype)initWithAxisDirection:(double)axisDirection
74  angularUnit:(nullable AGSAngularUnit*)angularUnit
75  center:(AGSPoint *)center
76  linearUnit:(nullable AGSLinearUnit*)linearUnit
77  maxPointCount:(NSInteger)maxPointCount
78  maxSegmentLength:(double)maxSegmentLength
79  geometryType:(AGSGeometryType)geometryType
80  sectorAngle:(double)sectorAngle
81  semiAxis1Length:(double)semiAxis1Length
82  semiAxis2Length:(double)semiAxis2Length
83  startDirection:(double)startDirection;
84 
94 -(instancetype)initWithCenter:(AGSPoint *)center
95  semiAxis1Length:(double)semiAxis1Length
96  semiAxis2Length:(double)semiAxis2Length
97  sectorAngle:(double)sectorAngle
98  startDirection:(double)startDirection;
99 
107 +(instancetype)parametersWithCenter:(AGSPoint*)center
108  maxSegmentLength:(double)maxSegmentLength
109  semiAxisLength:(double)semiAxisLength;
110 
115 +(instancetype)geodesicSectorParameters;
116 
117 
133 +(instancetype)parametersWithAxisDirection:(double)axisDirection
134  angularUnit:(nullable AGSAngularUnit*)angularUnit
135  center:(AGSPoint *)center
136  linearUnit:(nullable AGSLinearUnit*)linearUnit
137  maxPointCount:(NSInteger)maxPointCount
138  maxSegmentLength:(double)maxSegmentLength
139  geometryType:(AGSGeometryType)geometryType
140  sectorAngle:(double)sectorAngle
141  semiAxis1Length:(double)semiAxis1Length
142  semiAxis2Length:(double)semiAxis2Length
143  startDirection:(double)startDirection;
144 
154 +(instancetype)parametersWithCenter:(AGSPoint *)center
155  semiAxis1Length:(double)semiAxis1Length
156  semiAxis2Length:(double)semiAxis2Length
157  sectorAngle:(double)sectorAngle
158  startDirection:(double)startDirection;
159 
160 #pragma mark -
161 #pragma mark properties
162 
166 @property (nonatomic, strong) AGSPoint *center;
167 
171 @property (nonatomic, assign) double semiAxis1Length;
172 
176 @property (nonatomic, assign) double semiAxis2Length;
177 
181 @property (nonatomic, strong) AGSLinearUnit *linearUnit;
182 
186 @property (nonatomic, strong) AGSAngularUnit *angularUnit;
187 
191 @property (nonatomic, assign) double axisDirection;
192 
196 @property (nonatomic, assign) double startDirection;
197 
201 @property (nonatomic, assign) double sectorAngle;
202 
206 @property (nonatomic, assign) double maxSegmentLength;
207 
211 @property (nonatomic, assign) AGSGeometryType geometryType;
212 
216 @property (nonatomic, assign) NSInteger maxPointCount;
217 
218 
219 
220 @end
221 
222 
223 
224 
AGSGeometryType
Definition: AGSGeometry.h:49
Defines an angular unit of measurement.
Definition: AGSAngularUnit.h:52
Parameters for geodesicSectorWithParameters: (AGSGeometryEngine)
Definition: AGSGeodesicSectorParameters.h:42
double semiAxis1Length
Definition: AGSGeodesicSectorParameters.h:171
double axisDirection
Definition: AGSGeodesicSectorParameters.h:191
AGSGeometryType geometryType
Definition: AGSGeodesicSectorParameters.h:211
double sectorAngle
Definition: AGSGeodesicSectorParameters.h:201
AGSAngularUnit * angularUnit
Definition: AGSGeodesicSectorParameters.h:186
instancetype geodesicSectorParameters()
NSInteger maxPointCount
Definition: AGSGeodesicSectorParameters.h:216
double maxSegmentLength
Definition: AGSGeodesicSectorParameters.h:206
AGSLinearUnit * linearUnit
Definition: AGSGeodesicSectorParameters.h:181
double semiAxis2Length
Definition: AGSGeodesicSectorParameters.h:176
AGSPoint * center
Definition: AGSGeodesicSectorParameters.h:166
double startDirection
Definition: AGSGeodesicSectorParameters.h:196
Defines a linear unit of measurement.
Definition: AGSLinearUnit.h:58
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73