ArcGIS Runtime SDK for iOS: AGSLineSegment.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSLineSegment.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSSegment.h>
27 
28 @class AGSPoint;
29 @class AGSSpatialReference;
30  //Required for Globals API doc
32 
40 
41 
42 #pragma mark -
43 #pragma mark initializers
44 
45 
46 
54 -(instancetype)initWithStartPoint:(AGSPoint*)startPoint endPoint:(AGSPoint*)endPoint;
55 
65 -(instancetype)initWithStartPoint:(AGSPoint*)startPoint endPoint:(AGSPoint*)endPoint spatialReference:(nullable AGSSpatialReference*)spatialReference;
66 
74 -(instancetype)initWithXStart:(double)xStart yStart:(double)yStart xEnd:(double)xEnd yEnd:(double)yEnd;
75 
84 -(instancetype)initWithXStart:(double)xStart yStart:(double)yStart xEnd:(double)xEnd yEnd:(double)yEnd spatialReference:(nullable AGSSpatialReference*)spatialReference;
85 
95 -(instancetype)initWithXStart:(double)xStart yStart:(double)yStart zStart:(double)zStart xEnd:(double)xEnd yEnd:(double)yEnd zEnd:(double)zEnd;
96 
107 -(instancetype)initWithXStart:(double)xStart yStart:(double)yStart zStart:(double)zStart xEnd:(double)xEnd yEnd:(double)yEnd zEnd:(double)zEnd spatialReference:(nullable AGSSpatialReference*)spatialReference;
108 
115 -(instancetype)initWithStartPoint:(AGSPoint*)startPoint angle:(double)angle length:(double)length;
116 
123 +(instancetype)lineSegmentWithStartPoint:(AGSPoint*)startPoint endPoint:(AGSPoint*)endPoint;
124 
132 +(instancetype)lineSegmentWithStartPoint:(AGSPoint*)startPoint endPoint:(AGSPoint*)endPoint spatialReference:(nullable AGSSpatialReference*)spatialReference;
133 
142 +(instancetype)lineSegmentWithXStart:(double)xStart yStart:(double)yStart xEnd:(double)xEnd yEnd:(double)yEnd;
143 
153 +(instancetype)lineSegmentWithXStart:(double)xStart yStart:(double)yStart xEnd:(double)xEnd yEnd:(double)yEnd spatialReference:(nullable AGSSpatialReference*)spatialReference;
154 
165 +(instancetype)lineSegmentWithXStart:(double)xStart yStart:(double)yStart zStart:(double)zStart xEnd:(double)xEnd yEnd:(double)yEnd zEnd:(double)zEnd;
166 
167 
179 +(instancetype)lineSegmentWithXStart:(double)xStart yStart:(double)yStart zStart:(double)zStart xEnd:(double)xEnd yEnd:(double)yEnd zEnd:(double)zEnd spatialReference:(nullable AGSSpatialReference*)spatialReference;
180 
188 +(instancetype)lineSegmentWithStartPoint:(AGSPoint*)startPoint angle:(double)angle length:(double)length;
189 
190 
191 @end
A line segment.
Definition: AGSLineSegment.h:40
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
A segment represents an edge of a multipart geometry, connecting a start to an end point.
Definition: AGSSegment.h:61
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49