25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSGeometryBuilder.h>
27 #import <CoreGraphics/CGGeometry.h>
46 #pragma mark initializers
58 -(instancetype)initWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height;
69 +(instancetype)envelopeBuilderWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height;
80 -(instancetype)initWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height depth:(
double)depth;
92 +(instancetype)envelopeBuilderWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height depth:(
double)depth;
117 -(instancetype)initWithEnvelope:(nullable
AGSEnvelope *)envelope;
126 +(instancetype)envelopeBuilderWithEnvelope:(nullable
AGSEnvelope *)envelope;
129 #pragma mark properties
136 @property (nonatomic, readwrite)
double xMin;
143 @property (nonatomic, readwrite)
double xMax;
150 @property (nonatomic, readwrite)
double yMin;
157 @property (nonatomic, readwrite)
double yMax;
165 @property (nonatomic, readwrite)
double zMin;
173 @property (nonatomic, readwrite)
double zMax;
180 @property (nonatomic, readwrite)
double mMin;
187 @property (nonatomic, readwrite)
double mMax;
201 @property (nonatomic, assign, readonly)
double width;
208 @property (nonatomic, assign, readonly)
double height;
210 @property (nonatomic, assign, readonly)
double depth;
225 -(instancetype)setXMin:(
double)xMin yMin:(
double)yMin xMax:(
double)xMax yMax:(
double)yMax;
235 -(instancetype)setMMin:(
double)mMin mMax:(
double)mMax;
245 -(instancetype)setZMin:(
double)zMin zMax:(
double)zMax;
254 -(instancetype)centerAtPoint:(
AGSPoint *)point;
263 -(instancetype)unionWithEnvelope:(
AGSEnvelope *)envelope;
272 -(instancetype)unionWithPoint:(
AGSPoint *)point;
278 -(instancetype)unionWithX:(
double)x y:(
double)y;
288 -(instancetype)expandByFactor:(
double)factor;
299 -(instancetype)expandByFactor:(
double)factor withAnchorPoint:(
AGSPoint*)anchorPoint;
309 -(instancetype)changeAspectRatio:(CGSize)size;
319 -(instancetype)offsetByX:(
double)offsetX y:(
double)offsetY;
328 -(instancetype)replaceGeometry:(nullable
AGSEnvelope*)geometry;
The envelope builder object is used to create an envelope.
Definition: AGSEnvelopeBuilder.h:43
double mMin
Definition: AGSEnvelopeBuilder.h:180
double mMax
Definition: AGSEnvelopeBuilder.h:187
double height
Definition: AGSEnvelopeBuilder.h:208
double xMax
Definition: AGSEnvelopeBuilder.h:143
double zMin
Definition: AGSEnvelopeBuilder.h:165
double zMax
Definition: AGSEnvelopeBuilder.h:173
double yMin
Definition: AGSEnvelopeBuilder.h:150
double xMin
Definition: AGSEnvelopeBuilder.h:136
AGSEnvelope * toGeometry()
AGSPoint * center
Definition: AGSEnvelopeBuilder.h:194
double depth
Definition: AGSEnvelopeBuilder.h:210
double width
Definition: AGSEnvelopeBuilder.h:201
double yMax
Definition: AGSEnvelopeBuilder.h:157
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
A builder to build geometries.
Definition: AGSGeometryBuilder.h:43
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49