ArcGIS Runtime SDK for iOS: AGSSegment.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSSegment.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/AGSObject.h>
20 
21 @class AGSPoint;
22 @class AGSSpatialReference;
23  //Required for Globals API doc
25 
44 @interface AGSSegment : AGSObject
45 
46 
47 #pragma mark -
48 #pragma mark initializers
49 
50 
51 
52 #pragma mark -
53 #pragma mark properties
54 
58 @property (nonatomic, strong, readonly) AGSPoint *startPoint;
59 
63 @property (nonatomic, strong, readonly) AGSPoint *endPoint;
64 
68 @property (nonatomic, assign, readonly, getter=isClosed) BOOL closed;
69 
73 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
74 
75 #pragma mark -
76 #pragma mark methods
77 
82 -(BOOL)isEqualToSegment:(AGSSegment*)other;
83 
84 
85 @end
AGSPoint * startPoint
Definition: AGSSegment.h:58
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
A segment represents an edge of a multipart geometry, connecting a start to an end point...
Definition: AGSSegment.h:44
AGSSpatialReference * spatialReference
Definition: AGSSegment.h:73
AGSPoint * endPoint
Definition: AGSSegment.h:63
Definition: AGSObject.h:21
BOOL closed
Definition: AGSSegment.h:68
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57