ArcGIS Runtime SDK for iOS: AGSPointBarrier.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSPointBarrier.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 #import <ArcGIS/AGSBarrierType.h>
21 #import <ArcGIS/AGSRouteTypes.h>
22 
23 @class AGSPoint;
24 
25 /*@file AGSPointBarrier.h */
26 
36 @interface AGSPointBarrier : AGSObject <NSCopying>
37 
38 
39 #pragma mark -
40 #pragma mark initializers
41 
42 
43 
49 -(instancetype)initWithPoint:(AGSPoint*)point;
50 
56 +(instancetype)barrierWithPoint:(AGSPoint*)point;
57 
58 #pragma mark -
59 #pragma mark properties
60 
66 @property (nonatomic, assign, readwrite) NSInteger barrierID;
67 
71 @property (nullable, nonatomic, strong, readwrite) AGSPoint *geometry;
72 
76 @property (nonatomic, assign, readwrite) AGSBarrierType type;
77 
81 @property (nonatomic, assign, readwrite) AGSCurbApproach curbApproach;
82 
86 @property (nonatomic, assign, readonly) AGSLocationStatus locationStatus;
87 
91 @property (nonatomic, copy, readwrite) NSString *name;
92 
93 #pragma mark -
94 #pragma mark methods
95 
96 -(double)addedCostForCostAttribute:(NSString*)attributeName;
97 -(void)setAddedCost:(double)addedCost forCostAttribute:(NSString*)attributeName;
98 
99 
100 @end
NSInteger barrierID
Definition: AGSPointBarrier.h:66
AGSBarrierType
Definition: AGSBarrierType.h:29
AGSCurbApproach
Definition: AGSRouteTypes.h:29
AGSPoint * geometry
Definition: AGSPointBarrier.h:71
AGSLocationStatus locationStatus
Definition: AGSPointBarrier.h:86
AGSCurbApproach curbApproach
Definition: AGSPointBarrier.h:81
A point barrier to constrain routes.
Definition: AGSPointBarrier.h:36
AGSLocationStatus
Definition: AGSRouteTypes.h:51
Definition: AGSObject.h:21
AGSBarrierType type
Definition: AGSPointBarrier.h:76
NSString * name
Definition: AGSPointBarrier.h:91
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57