ArcGIS Runtime SDK for iOS: AGSPointBuilder.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSPointBuilder.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/AGSGeometryBuilder.h>
20 
21 @class AGSPoint;
22 @class AGSSpatialReference;
23 
34 
35 
36 #pragma mark -
37 #pragma mark initializers
38 
39 
40 
47 -(instancetype)initWithSpatialReference:(nullable AGSSpatialReference*)sr;
48 
55 +(instancetype)pointBuilderWithSpatialReference:(nullable AGSSpatialReference*)sr;
56 
63 -(instancetype)initWithPoint:(nullable AGSPoint *)point;
64 
71 +(instancetype)pointBuilderWithPoint:(nullable AGSPoint *)point;
72 
73 #pragma mark -
74 #pragma mark properties
75 
81 @property (nonatomic, assign, readwrite) double x;
82 
88 @property (nonatomic, assign, readwrite) double y;
89 
95 @property (nonatomic, assign, readwrite) double m;
96 
105 @property (nonatomic, assign, readwrite) double z;
106 
107 #pragma mark -
108 #pragma mark methods
109 
118 -(instancetype)setX:(double)x y:(double)y;
119 
128 -(instancetype)offsetByX:(double)xOffset y:(double)yOffset;
129 
137 -(instancetype)replaceGeometry:(nullable AGSPoint*)geometry;
138 
146 
147 
148 @end
double z
Definition: AGSPointBuilder.h:105
double y
Definition: AGSPointBuilder.h:88
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
A builder to build point geometries.
Definition: AGSPointBuilder.h:33
double m
Definition: AGSPointBuilder.h:95
AGSPoint * toGeometry()
A builder to build geometries.
Definition: AGSGeometryBuilder.h:35
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
double x
Definition: AGSPointBuilder.h:81