ArcGIS Runtime SDK for iOS: AGSSegment.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSSegment.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/AGSObject.h>
27 
28 @class AGSPoint;
29 @class AGSSpatialReference;
30  //Required for Globals API doc
32 
60 @interface AGSSegment : AGSObject
61 
62 
63 #pragma mark -
64 #pragma mark initializers
65 
66 
67 
68 #pragma mark -
69 #pragma mark properties
70 
74 @property (nonatomic, strong, readonly) AGSPoint *startPoint;
75 
79 @property (nonatomic, strong, readonly) AGSPoint *endPoint;
80 
84 @property (nonatomic, assign, readonly, getter=isClosed) BOOL closed;
85 
89 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
90 
103 @property (nonatomic, assign, readonly, getter=isCurve) BOOL curve;
104 
105 #pragma mark -
106 #pragma mark methods
107 
112 -(BOOL)isEqualToSegment:(AGSSegment*)other;
113 
114 
115 @end
Definition: AGSObject.h:28
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
AGSSpatialReference * spatialReference
Definition: AGSSegment.h:89
AGSPoint * endPoint
Definition: AGSSegment.h:79
BOOL closed
Definition: AGSSegment.h:84
AGSPoint * startPoint
Definition: AGSSegment.h:74
BOOL curve
Definition: AGSSegment.h:103
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49