ArcGIS Runtime SDK for iOS: AGSGeodesicEllipseParameters.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGeodesicEllipseParameters.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/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 
54 -(instancetype)initWithCenter:(AGSPoint*)center
55  maxSegmentLength:(double)maxSegmentLength
56  semiAxisLength:(double)semiAxisLength;
57 
58 
65 -(instancetype)initWithCenter:(nullable AGSPoint*)center
66  semiAxis1Length:(double)semiAxis1Length
67  semiAxis2Length:(double)semiAxis2Length;
68 
82 -(instancetype)initWithAxisDirection:(double)axisDirection
83  angularUnit:(nullable AGSAngularUnit*)angularUnit
84  center:(AGSPoint *)center
85  linearUnit:(nullable AGSLinearUnit*)linearUnit
86  maxPointCount:(NSInteger)maxPointCount
87  maxSegmentLength:(double)maxSegmentLength
88  geometryType:(AGSGeometryType)geometryType
89  semiAxis1Length:(double)semiAxis1Length
90  semiAxis2Length:(double)semiAxis2Length;
91 
98 +(instancetype)parametersWithCenter:(AGSPoint*)center
99  maxSegmentLength:(double)maxSegmentLength
100  semiAxisLength:(double)semiAxisLength;
101 
105 +(instancetype)geodesicEllipseParameters;
106 
114 +(instancetype)parametersWithCenter:(nullable AGSPoint*)center
115  semiAxis1Length:(double)semiAxis1Length
116  semiAxis2Length:(double)semiAxis2Length;
117 
118 
132 +(instancetype)parametersWithAxisDirection:(double)axisDirection
133  angularUnit:(nullable AGSAngularUnit*)angularUnit
134  center:(AGSPoint *)center
135  linearUnit:(nullable AGSLinearUnit*)linearUnit
136  maxPointCount:(NSInteger)maxPointCount
137  maxSegmentLength:(double)maxSegmentLength
138  geometryType:(AGSGeometryType)geometryType
139  semiAxis1Length:(double)semiAxis1Length
140  semiAxis2Length:(double)semiAxis2Length;
141 
142 #pragma mark -
143 #pragma mark properties
144 
148 @property (nullable, nonatomic, strong) AGSPoint *center;
149 
153 @property (nonatomic, assign) double semiAxis1Length;
154 
158 @property (nonatomic, assign) double semiAxis2Length;
159 
163 @property (nullable, nonatomic, strong) AGSLinearUnit *linearUnit;
164 
168 @property (nullable, nonatomic, strong) AGSAngularUnit *angularUnit;
169 
173 @property (nonatomic, assign) double axisDirection;
174 
178 @property (nonatomic, assign) double maxSegmentLength;
179 
183 @property (nonatomic, assign) AGSGeometryType geometryType;
184 
188 @property (nonatomic, assign) NSInteger maxPointCount;
189 
190 @end
191 
192 
AGSGeometryType
Definition: AGSGeometry.h:49
Defines an angular unit of measurement.
Definition: AGSAngularUnit.h:54
Parameters for geodesicEllipseWithParameters: (AGSGeometryEngine)
Definition: AGSGeodesicEllipseParameters.h:44
AGSGeometryType geometryType
Definition: AGSGeodesicEllipseParameters.h:183
AGSPoint * center
Definition: AGSGeodesicEllipseParameters.h:148
double semiAxis1Length
Definition: AGSGeodesicEllipseParameters.h:153
AGSAngularUnit * angularUnit
Definition: AGSGeodesicEllipseParameters.h:168
double maxSegmentLength
Definition: AGSGeodesicEllipseParameters.h:178
double semiAxis2Length
Definition: AGSGeodesicEllipseParameters.h:158
double axisDirection
Definition: AGSGeodesicEllipseParameters.h:173
AGSLinearUnit * linearUnit
Definition: AGSGeodesicEllipseParameters.h:163
instancetype geodesicEllipseParameters()
NSInteger maxPointCount
Definition: AGSGeodesicEllipseParameters.h:188
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