25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSGeometry.h>
27 #import <ArcGIS/AGSDefines.h>
28 #import <CoreLocation/CLLocation.h>
75 #pragma mark initializers
89 -(instancetype)initWithX:(
double)x y:(
double)y spatialReference:(nullable
AGSSpatialReference*)spatialReference;
104 -(instancetype)initWithX:(
double)x y:(
double)y z:(
double)z spatialReference:(nullable
AGSSpatialReference*)spatialReference;
117 -(instancetype)initWithX:(
double)x y:(
double)y m:(
double)m spatialReference:(nullable
AGSSpatialReference*)spatialReference;
133 -(instancetype)initWithX:(
double)x y:(
double)y z:(
double)z m:(
double)m spatialReference:(nullable
AGSSpatialReference*)spatialReference;
143 -(instancetype)initWithCLLocationCoordinate2D:(CLLocationCoordinate2D)locationCoordinate;
155 +(instancetype)pointWithX:(
double)x y:(
double)y spatialReference:(nullable
AGSSpatialReference*)spatialReference;
170 +(instancetype)pointWithX:(
double)x y:(
double)y z:(
double)z spatialReference:(nullable
AGSSpatialReference*)spatialReference;
183 +(instancetype)pointWithX:(
double)x y:(
double)y m:(
double)m spatialReference:(nullable
AGSSpatialReference*)spatialReference;
199 +(instancetype)pointWithX:(
double)x y:(
double)y z:(
double)z m:(
double)m spatialReference:(nullable
AGSSpatialReference*)spatialReference;
209 +(instancetype)pointWithCLLocationCoordinate2D:(CLLocationCoordinate2D)locationCoordinate;
212 #pragma mark properties
219 @property (nonatomic, assign, readonly)
double x;
226 @property (nonatomic, assign, readonly)
double y;
241 @property (nonatomic, assign, readonly)
double m;
269 @property (nonatomic, assign, readonly)
double z;
291 -(BOOL)isEqualToGeometry:(
AGSPoint*)other;
#define AGS_EXTERN
Definition: AGSDefines.h:28
AGS_EXTERN AGSPoint * AGSPointMakeWGS84(double latitude, double longitude)
AGS_EXTERN AGSPoint * AGSPointMake3D(double x, double y, double z, double m, AGSSpatialReference *__nullable spatialReference)
AGS_EXTERN AGSPoint * AGSPointMakeWebMercator(double x, double y)
AGS_EXTERN AGSPoint * AGSPointMake(double x, double y, AGSSpatialReference *__nullable spatialReference)
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
AGSSpatialReference * spatialReference
Definition: AGSGeometry.h:170
A builder to build point geometries.
Definition: AGSPointBuilder.h:41
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
AGSPointBuilder * toBuilder()
double y
Definition: AGSPoint.h:226
double m
Definition: AGSPoint.h:241
CLLocationCoordinate2D toCLLocationCoordinate2D()
double x
Definition: AGSPoint.h:219
double z
Definition: AGSPoint.h:269
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49