ArcGIS Runtime SDK for iOS: AGSGeodesicEllipseParameters.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSGeodesicEllipseParameters.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSPoint.h>
30 
31 
32 
33 @class AGSLinearUnit;
34 @class AGSAngularUnit;
35 
44 
45 #pragma mark -
46 #pragma mark initializers
47 
55 -(instancetype)initWithCenter:(AGSPoint*)center
56  maxSegmentLength:(double)maxSegmentLength
57  semiAxisLength:(double)semiAxisLength;
58 
59 
67 -(instancetype)initWithCenter:(nullable AGSPoint*)center
68  semiAxis1Length:(double)semiAxis1Length
69  semiAxis2Length:(double)semiAxis2Length;
70 
84 -(instancetype)initWithAxisDirection:(double)axisDirection
85  angularUnit:(nullable AGSAngularUnit*)angularUnit
86  center:(AGSPoint *)center
87  linearUnit:(nullable AGSLinearUnit*)linearUnit
88  maxPointCount:(NSInteger)maxPointCount
89  maxSegmentLength:(double)maxSegmentLength
90  geometryType:(AGSGeometryType)geometryType
91  semiAxis1Length:(double)semiAxis1Length
92  semiAxis2Length:(double)semiAxis2Length;
93 
101 +(instancetype)parametersWithCenter:(AGSPoint*)center
102  maxSegmentLength:(double)maxSegmentLength
103  semiAxisLength:(double)semiAxisLength;
104 
109 +(instancetype)geodesicEllipseParameters;
110 
118 +(instancetype)parametersWithCenter:(nullable AGSPoint*)center
119  semiAxis1Length:(double)semiAxis1Length
120  semiAxis2Length:(double)semiAxis2Length;
121 
122 
136 +(instancetype)parametersWithAxisDirection:(double)axisDirection
137  angularUnit:(nullable AGSAngularUnit*)angularUnit
138  center:(AGSPoint *)center
139  linearUnit:(nullable AGSLinearUnit*)linearUnit
140  maxPointCount:(NSInteger)maxPointCount
141  maxSegmentLength:(double)maxSegmentLength
142  geometryType:(AGSGeometryType)geometryType
143  semiAxis1Length:(double)semiAxis1Length
144  semiAxis2Length:(double)semiAxis2Length;
145 
146 #pragma mark -
147 #pragma mark properties
148 
152 @property (nullable, nonatomic, strong) AGSPoint *center;
153 
157 @property (nonatomic, assign) double semiAxis1Length;
158 
162 @property (nonatomic, assign) double semiAxis2Length;
163 
167 @property (nullable, nonatomic, strong) AGSLinearUnit *linearUnit;
168 
172 @property (nullable, nonatomic, strong) AGSAngularUnit *angularUnit;
173 
177 @property (nonatomic, assign) double axisDirection;
178 
182 @property (nonatomic, assign) double maxSegmentLength;
183 
187 @property (nonatomic, assign) AGSGeometryType geometryType;
188 
192 @property (nonatomic, assign) NSInteger maxPointCount;
193 
194 @end
195 
196 
AGSGeometryType
Definition: AGSGeometry.h:49
Defines an angular unit of measurement.
Definition: AGSAngularUnit.h:52
Parameters for geodesicEllipseWithParameters: (AGSGeometryEngine)
Definition: AGSGeodesicEllipseParameters.h:44
AGSGeometryType geometryType
Definition: AGSGeodesicEllipseParameters.h:187
AGSPoint * center
Definition: AGSGeodesicEllipseParameters.h:152
double semiAxis1Length
Definition: AGSGeodesicEllipseParameters.h:157
AGSAngularUnit * angularUnit
Definition: AGSGeodesicEllipseParameters.h:172
double maxSegmentLength
Definition: AGSGeodesicEllipseParameters.h:182
double semiAxis2Length
Definition: AGSGeodesicEllipseParameters.h:162
double axisDirection
Definition: AGSGeodesicEllipseParameters.h:177
AGSLinearUnit * linearUnit
Definition: AGSGeodesicEllipseParameters.h:167
instancetype geodesicEllipseParameters()
NSInteger maxPointCount
Definition: AGSGeodesicEllipseParameters.h:192
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