ArcGIS Runtime SDK for iOS: AGSEllipticArcSegment.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSEllipticArcSegment.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/AGSSegment.h>
29 
30 
31 
32 @class AGSPoint;
33 @class AGSSpatialReference;
34 
41 
42 #pragma mark -
43 #pragma mark initializers
44 
45 
46 
65 - (nullable instancetype)initWithCenterPoint:(AGSPoint *)centerPoint
66  rotationAngle:(double)rotationAngle
67  semiMajorAxis:(double)semiMajorAxis
68  minorMajorRatio:(double)minorMajorRatio
69  startAngle:(double)startAngle
70  centralAngle:(double)centralAngle
71  spatialReference:(nullable AGSSpatialReference *)spatialReference;
72 
91 + (nullable instancetype)ellipticArcSegmentWithCenterPoint:(AGSPoint *)centerPoint
92  rotationAngle:(double)rotationAngle
93  semiMajorAxis:(double)semiMajorAxis
94  minorMajorRatio:(double)minorMajorRatio
95  startAngle:(double)startAngle
96  centralAngle:(double)centralAngle
97  spatialReference:(nullable AGSSpatialReference *)spatialReference;
98 
117 - (nullable instancetype)initWithStartPoint:(AGSPoint *)startPoint
118  endPoint:(AGSPoint *)endPoint
119  rotationAngle:(double)rotationAngle
120  isMinor:(BOOL)isMinor
121  isCounterClockwise:(BOOL)isCounterClockwise
122  semiMajorAxis:(double)semiMajorAxis
123  minorMajorRatio:(double)minorMajorRatio
124  spatialReference:(nullable AGSSpatialReference *)spatialReference;
125 
144 + (nullable instancetype)ellipticArcSegmentWithStartPoint:(AGSPoint *)startPoint
145  endPoint:(AGSPoint *)endPoint
146  rotationAngle:(double)rotationAngle
147  isMinor:(BOOL)isMinor
148  isCounterClockwise:(BOOL)isCounterClockwise
149  semiMajorAxis:(double)semiMajorAxis
150  minorMajorRatio:(double)minorMajorRatio
151  spatialReference:(nullable AGSSpatialReference *)spatialReference;
152 
153 #pragma mark -
154 #pragma mark properties
155 
159 @property (nonatomic, strong, readonly) AGSPoint *centerPoint;
160 
169 @property (nonatomic, assign, readonly) double centralAngle;
170 
180 @property (nonatomic, assign, readonly, getter=isCircular) BOOL circular;
181 
185 @property (nonatomic, assign, readonly, getter=isCounterClockwise) BOOL counterClockwise;
186 
192 @property (nonatomic, assign, readonly) double endAngle;
193 
197 @property (nonatomic, assign, readonly) double minorMajorRatio;
198 
202 @property (nonatomic, assign, readonly) double rotationAngle;
203 
211 @property (nonatomic, assign, readonly) double semiMajorAxis;
212 
220 @property (nonatomic, assign, readonly) double semiMinorAxis;
221 
227 @property (nonatomic, assign, readonly) double startAngle;
228 
229 #pragma mark -
230 #pragma mark methods
231 
246 + (nullable AGSEllipticArcSegment *)createCircularEllipticArcWithCenterPoint:(AGSPoint *)centerPoint
247  radius:(double)radius
248  startAngle:(double)startAngle
249  centralAngle:(double)centralAngle
250  spatialReference:(nullable AGSSpatialReference *)spatialReference;
251 
263 + (nullable AGSEllipticArcSegment *)createCircularEllipticArcWithStartPoint:(AGSPoint *)startPoint
264  endPoint:(AGSPoint *)endPoint
265  interiorPoint:(AGSPoint *)interiorPoint
266  spatialReference:(nullable AGSSpatialReference *)spatialReference;
267 
268 @end
269 
270 
An elliptic arc segment for use in a multipart geometry.
Definition: AGSEllipticArcSegment.h:41
double semiMinorAxis
Definition: AGSEllipticArcSegment.h:220
AGSPoint * centerPoint
Definition: AGSEllipticArcSegment.h:159
double centralAngle
Definition: AGSEllipticArcSegment.h:169
double semiMajorAxis
Definition: AGSEllipticArcSegment.h:211
double minorMajorRatio
Definition: AGSEllipticArcSegment.h:197
BOOL counterClockwise
Definition: AGSEllipticArcSegment.h:185
BOOL circular
Definition: AGSEllipticArcSegment.h:180
double endAngle
Definition: AGSEllipticArcSegment.h:192
double startAngle
Definition: AGSEllipticArcSegment.h:227
double rotationAngle
Definition: AGSEllipticArcSegment.h:202
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
A segment represents an edge of a multipart geometry, connecting a start to an end point.
Definition: AGSSegment.h:61
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49