19 #import <ArcGIS/AGSGeometryBuilder.h> 20 #import <CoreGraphics/CGGeometry.h> 39 #pragma mark initializers 52 -(instancetype)initWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height;
63 +(instancetype)envelopeBuilderWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height;
75 -(instancetype)initWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height depth:(
double)depth;
87 +(instancetype)envelopeBuilderWithCenter:(
AGSPoint *)center width:(
double)width height:(
double)height depth:(
double)depth;
114 -(instancetype)initWithEnvelope:(nullable
AGSEnvelope *)envelope;
123 +(instancetype)envelopeBuilderWithEnvelope:(nullable
AGSEnvelope *)envelope;
126 #pragma mark properties 133 @property (nonatomic, readwrite)
double xMin;
140 @property (nonatomic, readwrite)
double xMax;
147 @property (nonatomic, readwrite)
double yMin;
154 @property (nonatomic, readwrite)
double yMax;
162 @property (nonatomic, readwrite)
double zMin;
170 @property (nonatomic, readwrite)
double zMax;
177 @property (nonatomic, readwrite)
double mMin;
184 @property (nonatomic, readwrite)
double mMax;
191 @property (nonatomic, strong, readonly)
AGSPoint *center;
198 @property (nonatomic, assign, readonly)
double width;
205 @property (nonatomic, assign, readonly)
double height;
207 @property (nonatomic, assign, readonly)
double depth;
222 -(instancetype)setXMin:(
double)xMin yMin:(
double)yMin xMax:(
double)xMax yMax:(
double)yMax;
232 -(instancetype)setMMin:(
double)mMin mMax:(
double)mMax;
242 -(instancetype)setZMin:(
double)zMin zMax:(
double)zMax;
251 -(instancetype)centerAtPoint:(
AGSPoint *)point;
260 -(instancetype)unionWithEnvelope:(
AGSEnvelope *)envelope;
269 -(instancetype)unionWithPoint:(
AGSPoint *)point;
275 -(instancetype)unionWithX:(
double)x y:(
double)y;
285 -(instancetype)expandByFactor:(
double)factor;
296 -(instancetype)expandByFactor:(
double)factor withAnchorPoint:(
AGSPoint*)anchorPoint;
306 -(instancetype)changeAspectRatio:(CGSize)size;
316 -(instancetype)offsetByX:(
double)offsetX y:(
double)offsetY;
325 -(instancetype)replaceGeometry:(nullable
AGSEnvelope*)geometry;
double zMax
Definition: AGSEnvelopeBuilder.h:170
double yMin
Definition: AGSEnvelopeBuilder.h:147
double xMin
Definition: AGSEnvelopeBuilder.h:133
double mMin
Definition: AGSEnvelopeBuilder.h:177
double xMax
Definition: AGSEnvelopeBuilder.h:140
double width
Definition: AGSEnvelopeBuilder.h:198
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
double zMin
Definition: AGSEnvelopeBuilder.h:162
double yMax
Definition: AGSEnvelopeBuilder.h:154
double height
Definition: AGSEnvelopeBuilder.h:205
double mMax
Definition: AGSEnvelopeBuilder.h:184
A builder to build geometries.
Definition: AGSGeometryBuilder.h:35
AGSEnvelope * toGeometry()
double depth
Definition: AGSEnvelopeBuilder.h:207
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