ArcGIS Runtime SDK for iOS: AGSServiceAreaFacility.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSServiceAreaFacility.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 #import <ArcGIS/AGSRouteTypes.h>
28 
29 @class AGSPoint;
30 @class AGSNetworkLocation;
31  //Required for Globals API doc
33 
41 @interface AGSServiceAreaFacility : AGSObject <NSCopying>
42 
43 
44 
45 #pragma mark -
46 #pragma mark initializers
47 
48 
49 
55 -(instancetype)initWithPoint:(AGSPoint *)point;
56 
62 +(instancetype)serviceAreaFacilityWithPoint:(AGSPoint*)point;
63 
64 #pragma mark -
65 #pragma mark properties
66 
71 @property (nonatomic, assign, readwrite) AGSCurbApproach curbApproach;
72 
77 @property (nonatomic, assign, readonly) double distanceToNetworkLocation;
78 
84 @property (nonatomic, assign, readwrite) NSInteger facilityID;
85 
89 @property (nonatomic, strong, readonly) AGSPoint *geometry;
90 
94 @property (nonatomic, copy, readwrite) NSArray<NSNumber*> *impedanceCutoffs;
95 
100 @property (nonatomic, assign, readonly) AGSLocationStatus locationStatus;
101 
105 @property (nonatomic, copy, readwrite) NSString *name;
106 
111 @property (nullable, nonatomic, strong, readwrite) AGSNetworkLocation *networkLocation;
112 
119 @property (nonatomic, assign, readwrite) double currentBearing;
120 
124 @property (nonatomic, assign, readwrite) double currentBearingTolerance;
125 
129 @property (nonatomic, assign, readwrite) double navigationLatency;
130 
134 @property (nonatomic, assign, readwrite) double navigationSpeed;
135 
136 #pragma mark -
137 #pragma mark methods
138 
145 -(double)addedCostForCostAttribute:(NSString*)attributeName;
146 
153 -(void)setAddedCost:(double)addedCost forCostAttribute:(NSString*)attributeName;
154 
155 
156 
157 @end
158 
AGSLocationStatus
Definition: AGSRouteTypes.h:57
AGSCurbApproach
Definition: AGSRouteTypes.h:35
References a specific location/position along a transportation network source feature.
Definition: AGSNetworkLocation.h:39
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
A facility to use in service area analysis.
Definition: AGSServiceAreaFacility.h:41
double navigationSpeed
Definition: AGSServiceAreaFacility.h:134
NSInteger facilityID
Definition: AGSServiceAreaFacility.h:84
NSArray< NSNumber * > * impedanceCutoffs
Definition: AGSServiceAreaFacility.h:94
AGSLocationStatus locationStatus
Definition: AGSServiceAreaFacility.h:100
AGSCurbApproach curbApproach
Definition: AGSServiceAreaFacility.h:71
NSString * name
Definition: AGSServiceAreaFacility.h:105
double distanceToNetworkLocation
Definition: AGSServiceAreaFacility.h:77
AGSPoint * geometry
Definition: AGSServiceAreaFacility.h:89
AGSNetworkLocation * networkLocation
Definition: AGSServiceAreaFacility.h:111
double currentBearingTolerance
Definition: AGSServiceAreaFacility.h:124
double currentBearing
Definition: AGSServiceAreaFacility.h:119
double navigationLatency
Definition: AGSServiceAreaFacility.h:129