ArcGIS Runtime SDK for iOS: AGSSketchVertex.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSSketchVertex.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 <Foundation/Foundation.h>
20 
21 
22 
23 @class AGSPoint;
24  //Required for Globals API doc
26 
39 @interface AGSSketchVertex : NSObject
40 
41 #pragma mark -
42 #pragma mark initializers
43 
50 -(instancetype)initWithPartIndex:(NSInteger)partIndex pointIndex:(NSInteger)pointIndex;
51 
60 -(instancetype)initWithPartIndex:(NSInteger)partIndex insertionIndex:(NSInteger)insertionIndex;
61 
68 +(instancetype)sketchVertexWithPartIndex:(NSInteger)partIndex pointIndex:(NSInteger)pointIndex;
69 
78 +(instancetype)sketchVertexWithPartIndex:(NSInteger)partIndex insertionIndex:(NSInteger)insertionIndex;
79 
80 #pragma mark -
81 #pragma mark properties
82 
87 @property (nonatomic, assign, readonly) NSInteger partIndex;
88 
93 @property (nonatomic, assign, readonly) NSInteger pointIndex;
94 
99 @property (nonatomic, assign, readonly) NSInteger insertionIndex;
100 
106 @property (nullable, nonatomic, strong, readonly) AGSPoint *point;
107 
108 #pragma mark -
109 #pragma mark methods
110 
111 @end
112 
113 
A class that represents a vertex or mid-vertex in the AGSSketchEditor.
Definition: AGSSketchVertex.h:39
NSInteger partIndex
Definition: AGSSketchVertex.h:87
AGSPoint * point
Definition: AGSSketchVertex.h:106
NSInteger insertionIndex
Definition: AGSSketchVertex.h:99
NSInteger pointIndex
Definition: AGSSketchVertex.h:93
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57