ArcGIS Runtime SDK for iOS: AGSGeometryBuilder.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSGeometryBuilder.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 
19 #import <ArcGIS/AGSObject.h>
20 #import <ArcGIS/AGSGeometry.h>
21 
22 @class AGSSpatialReference;
23 @class AGSEnvelope;
24 
36 
37 
38 #pragma mark -
39 #pragma mark initializers
40 
47 +(AGSGeometryBuilder*)builderWithGeometry:(nullable AGSGeometry*)geometry;
48 
56 +(AGSGeometryBuilder*)builderWithGeometryType:(AGSGeometryType)geometryType spatialReference:(nullable AGSSpatialReference*)sr;
57 
58 #pragma mark -
59 #pragma mark properties
60 
68 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
69 
76 @property (nonatomic, strong, readonly) AGSEnvelope *extent;
77 
84 @property (nonatomic, assign, readonly) BOOL hasZ;
85 
92 @property (nonatomic, assign, readonly) BOOL hasM;
93 
99 @property (nonatomic, assign, readonly) AGSGeometryType geometryType;
100 
101 #pragma mark -
102 #pragma mark methods
103 
111 -(BOOL)isEmpty;
112 
120 -(instancetype)replaceGeometry:(nullable AGSGeometry*)geometry;
121 
129 
130 
131 @end
AGSGeometryType geometryType
Definition: AGSGeometryBuilder.h:99
AGSGeometry * toGeometry()
Defines common members for all specific types of geometry.
Definition: AGSGeometry.h:106
BOOL hasZ
Definition: AGSGeometryBuilder.h:84
AGSEnvelope * extent
Definition: AGSGeometryBuilder.h:76
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
AGSGeometryType
Definition: AGSGeometry.h:42
Definition: AGSObject.h:21
AGSSpatialReference * spatialReference
Definition: AGSGeometryBuilder.h:68
A builder to build geometries.
Definition: AGSGeometryBuilder.h:35
BOOL hasM
Definition: AGSGeometryBuilder.h:92