ArcGIS Runtime SDK for iOS: AGSEnvelope.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSEnvelope.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/AGSGeometry.h>
20 
21 @class AGSEnvelopeBuilder;
22 @class AGSPoint;
23 
48 
49 
50 #pragma mark -
51 #pragma mark initializers
52 
53 
54 
65 -(instancetype)initWithCenter:(AGSPoint *)center width:(double)width height:(double)height;
66 
78 -(instancetype)initWithCenter:(AGSPoint *)center width:(double)width height:(double)height depth:(double)depth;
79 
91 -(instancetype)initWithMin:(AGSPoint*)min max:(AGSPoint*)max;
92 
105 -(instancetype)initWithXMin:(double)xMin
106  yMin:(double)yMin
107  xMax:(double)xMax
108  yMax:(double)yMax
109  spatialReference:(nullable AGSSpatialReference *)spatialReference;
110 
125 -(instancetype)initWithXMin:(double)xMin
126  yMin:(double)yMin
127  zMin:(double)zMin
128  xMax:(double)xMax
129  yMax:(double)yMax
130  zMax:(double)zMax
131  spatialReference:(nullable AGSSpatialReference *)spatialReference;
132 
147 -(instancetype)initWithXMin:(double)xMin
148  yMin:(double)yMin
149  mMin:(double)mMin
150  xMax:(double)xMax
151  yMax:(double)yMax
152  mMax:(double)mMax
153  spatialReference:(nullable AGSSpatialReference *)spatialReference;
154 
171 -(instancetype)initWithXMin:(double)xMin
172  yMin:(double)yMin
173  zMin:(double)zMin
174  mMin:(double)mMin
175  xMax:(double)xMax
176  yMax:(double)yMax
177  zMax:(double)zMax
178  mMax:(double)mMax
179  spatialReference:(nullable AGSSpatialReference *)spatialReference;
180 
181 
182 +(instancetype)envelopeWithCenter:(AGSPoint *)center width:(double)width height:(double)height;
183 
184 +(instancetype)envelopeWithCenter:(AGSPoint *)center width:(double)width height:(double)height depth:(double)depth;
185 
195 +(instancetype)envelopeWithMin:(AGSPoint*)min max:(AGSPoint*)max;
196 
209 +(instancetype)envelopeWithXMin:(double)xMin
210  yMin:(double)yMin
211  xMax:(double)xMax
212  yMax:(double)yMax
213  spatialReference:(nullable AGSSpatialReference *)spatialReference;
214 
229 +(instancetype)envelopeWithXMin:(double)xMin
230  yMin:(double)yMin
231  zMin:(double)zMin
232  xMax:(double)xMax
233  yMax:(double)yMax
234  zMax:(double)zMax
235  spatialReference:(nullable AGSSpatialReference *)spatialReference;
236 
251 +(instancetype)envelopeWithXMin:(double)xMin
252  yMin:(double)yMin
253  mMin:(double)mMin
254  xMax:(double)xMax
255  yMax:(double)yMax
256  mMax:(double)mMax
257  spatialReference:(nullable AGSSpatialReference *)spatialReference;
258 
275 +(instancetype)envelopeWithXMin:(double)xMin
276  yMin:(double)yMin
277  zMin:(double)zMin
278  mMin:(double)mMin
279  xMax:(double)xMax
280  yMax:(double)yMax
281  zMax:(double)zMax
282  mMax:(double)mMax
283  spatialReference:(nullable AGSSpatialReference *)spatialReference;
284 
285 #pragma mark -
286 #pragma mark properties
287 
293 @property (nonatomic, readonly) double xMin;
294 
300 @property (nonatomic, readonly) double xMax;
301 
307 @property (nonatomic, readonly) double yMin;
308 
314 @property (nonatomic, readonly) double yMax;
315 
323 @property (nonatomic, readonly) double zMin;
324 
332 @property (nonatomic, readonly) double zMax;
333 
340 @property (nonatomic, readonly) double mMin;
341 
348 @property (nonatomic, readonly) double mMax;
349 
355 @property (nonatomic, strong, readonly) AGSPoint *center;
356 
362 @property (nonatomic, assign, readonly) double width;
363 
369 @property (nonatomic, assign, readonly) double height;
370 
371 @property (nonatomic, assign, readonly) double depth;
372 
373 
374 #pragma mark -
375 #pragma mark methods
376 
386 
394 -(BOOL)isEqualToGeometry:(AGSEnvelope*)other;
395 
396 
397 @end
398 
double xMax
Definition: AGSEnvelope.h:300
Defines common members for all specific types of geometry.
Definition: AGSGeometry.h:106
double yMax
Definition: AGSEnvelope.h:314
double zMax
Definition: AGSEnvelope.h:332
double yMin
Definition: AGSEnvelope.h:307
double zMin
Definition: AGSEnvelope.h:323
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
double mMin
Definition: AGSEnvelope.h:340
double height
Definition: AGSEnvelope.h:369
double xMin
Definition: AGSEnvelope.h:293
double width
Definition: AGSEnvelope.h:362
double mMax
Definition: AGSEnvelope.h:348
double depth
Definition: AGSEnvelope.h:371
AGSEnvelopeBuilder * toBuilder()
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
A builder to build envelope geometries.
Definition: AGSEnvelopeBuilder.h:35