ArcGIS Runtime SDK for iOS: AGSGeometry.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSGeometry.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18  //Required for Globals API doc
20 
21 #import <ArcGIS/AGSObject.h>
22 #import <ArcGIS/AGSJSONSerializable.h>
23 
24 
25 
30 typedef NS_ENUM(NSInteger, AGSGeometryDimension) {
36 };
37 
42 typedef NS_ENUM(NSInteger, AGSGeometryType) {
49 };
50 
51 @class AGSSpatialReference;
52 @class AGSGeometryBuilder;
53 @class AGSEnvelope;
54 
106 @interface AGSGeometry : AGSObject <NSCopying, AGSJSONSerializable>
107 
108 #pragma mark -
109 #pragma mark initializers
110 
111 #pragma mark -
112 #pragma mark properties
113 
119 @property (nonatomic, assign, readonly) BOOL hasCurves;
120 
127 @property (nonatomic, assign, readonly) BOOL hasZ;
128 
134 @property (nonatomic, assign, readonly) BOOL hasM;
135 
141 @property (nonatomic, assign, readonly, getter=isEmpty) BOOL empty;
142 
149 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
150 
156 @property (nonatomic, strong, readonly) AGSEnvelope *extent;
157 
163 @property (nonatomic, assign, readonly) AGSGeometryType geometryType;
164 
165 
166 @property (nonatomic, assign, readonly) AGSGeometryDimension dimension;
167 
168 #pragma mark -
169 #pragma mark methods
170 
180 
188 -(BOOL)isEqualToGeometry:(AGSGeometry*)other;
189 
190 -(BOOL)isEqualToGeometry:(AGSGeometry*)other tolerance:(double)tolerance;
191 
192 @end
193 
194 
BOOL hasM
Definition: AGSGeometry.h:134
Defines common members for all specific types of geometry.
Definition: AGSGeometry.h:106
Definition: AGSGeometry.h:43
AGSGeometryDimension
Definition: AGSGeometry.h:30
BOOL hasZ
Definition: AGSGeometry.h:127
Definition: AGSGeometry.h:33
Definition: AGSGeometry.h:48
Definition: AGSGeometry.h:34
Definition: AGSGeometry.h:46
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
Definition: AGSGeometry.h:44
Definition: AGSGeometry.h:35
Definition: AGSGeometry.h:32
AGSGeometryType geometryType
Definition: AGSGeometry.h:163
BOOL empty
Definition: AGSGeometry.h:141
AGSGeometryType
Definition: AGSGeometry.h:42
BOOL hasCurves
Definition: AGSGeometry.h:119
Definition: AGSObject.h:21
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:32
Definition: AGSGeometry.h:31
AGSGeometryBuilder * toBuilder()
Definition: AGSGeometry.h:47
AGSSpatialReference * spatialReference
Definition: AGSGeometry.h:149
Definition: AGSGeometry.h:45
A builder to build geometries.
Definition: AGSGeometryBuilder.h:35
AGSGeometryDimension dimension
Definition: AGSGeometry.h:166
AGSEnvelope * extent
Definition: AGSGeometry.h:156