ArcGIS Runtime SDK for iOS: AGSKMLGeometry.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSKMLGeometry.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/AGSKMLTypes.h>
30 
31 
32 
37 typedef NS_ENUM(NSInteger, AGSKMLGeometryType) {
43 };
44 
45 @class AGSGeometry;
46 
54 
55 #pragma mark -
56 #pragma mark initializers
57 
58 
59 
66 -(nullable instancetype)initWithGeometry:(AGSGeometry *)geometry
67  altitudeMode:(AGSKMLAltitudeMode)altitudeMode;
68 
75 +(nullable instancetype)KMLGeometryWithGeometry:(AGSGeometry *)geometry
76  altitudeMode:(AGSKMLAltitudeMode)altitudeMode;
77 
85 -(nullable instancetype)initWithGeometry:(AGSGeometry *)geometry
86  altitudeMode:(AGSKMLAltitudeMode)altitudeMode
87  extruded:(BOOL)extruded;
88 
96 +(nullable instancetype)KMLGeometryWithGeometry:(AGSGeometry *)geometry
97  altitudeMode:(AGSKMLAltitudeMode)altitudeMode
98  extruded:(BOOL)extruded;
99 
109 -(nullable instancetype)initWithGeometry:(AGSGeometry *)geometry
110  altitudeMode:(AGSKMLAltitudeMode)altitudeMode
111  extruded:(BOOL)extruded
112  tessellated:(BOOL)tessellated;
113 
123 +(nullable instancetype)KMLGeometryWithGeometry:(AGSGeometry *)geometry
124  altitudeMode:(AGSKMLAltitudeMode)altitudeMode
125  extruded:(BOOL)extruded
126  tessellated:(BOOL)tessellated;
127 
128 #pragma mark -
129 #pragma mark properties
130 
134 @property (nonatomic, strong, readonly) AGSGeometry *geometry;
135 
139 @property (nonatomic, assign, readonly) AGSKMLAltitudeMode altitudeMode;
140 
144 @property (nonatomic, assign, readonly) AGSKMLGeometryType type;
145 
149 @property (nonatomic, assign, readonly, getter=isExtruded) BOOL extruded;
150 
155 @property (nonatomic, assign, readonly, getter=isTessellated) BOOL tessellated;
156 
157 #pragma mark -
158 #pragma mark methods
159 
160 @end
161 
162 
AGSKMLGeometryType
Definition: AGSKMLGeometry.h:37
@ AGSKMLGeometryTypePolyline
Definition: AGSKMLGeometry.h:39
@ AGSKMLGeometryTypePoint
Definition: AGSKMLGeometry.h:38
@ AGSKMLGeometryTypePolygon
Definition: AGSKMLGeometry.h:40
@ AGSKMLGeometryTypeModel
Definition: AGSKMLGeometry.h:41
@ AGSKMLGeometryTypeUnknown
Definition: AGSKMLGeometry.h:42
AGSKMLAltitudeMode
Definition: AGSKMLTypes.h:33
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
A KML Geometry element.
Definition: AGSKMLGeometry.h:54
BOOL extruded
Definition: AGSKMLGeometry.h:149
AGSKMLGeometryType type
Definition: AGSKMLGeometry.h:144
BOOL tessellated
Definition: AGSKMLGeometry.h:155
AGSGeometry * geometry
Definition: AGSKMLGeometry.h:134
AGSKMLAltitudeMode altitudeMode
Definition: AGSKMLGeometry.h:139
Definition: AGSObject.h:28