ArcGIS Runtime SDK for iOS: AGSServiceAreaFacility.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSServiceAreaFacility.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 #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 
100 @property (nonatomic, copy, readwrite) NSArray<NSNumber*> *impedanceCutoffs;
101 
106 @property (nonatomic, assign, readonly) AGSLocationStatus locationStatus;
107 
111 @property (nonatomic, copy, readwrite) NSString *name;
112 
119 @property (nullable, nonatomic, strong, readwrite) AGSNetworkLocation *networkLocation;
120 
127 @property (nonatomic, assign, readwrite) double currentBearing;
128 
132 @property (nonatomic, assign, readwrite) double currentBearingTolerance;
133 
137 @property (nonatomic, assign, readwrite) double navigationLatency;
138 
142 @property (nonatomic, assign, readwrite) double navigationSpeed;
143 
144 #pragma mark -
145 #pragma mark methods
146 
153 -(double)addedCostForCostAttribute:(NSString*)attributeName;
154 
161 -(void)setAddedCost:(double)addedCost forCostAttribute:(NSString*)attributeName;
162 
163 
164 
165 @end
166 
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:142
NSInteger facilityID
Definition: AGSServiceAreaFacility.h:84
NSArray< NSNumber * > * impedanceCutoffs
Definition: AGSServiceAreaFacility.h:100
AGSLocationStatus locationStatus
Definition: AGSServiceAreaFacility.h:106
AGSCurbApproach curbApproach
Definition: AGSServiceAreaFacility.h:71
NSString * name
Definition: AGSServiceAreaFacility.h:111
double distanceToNetworkLocation
Definition: AGSServiceAreaFacility.h:77
AGSPoint * geometry
Definition: AGSServiceAreaFacility.h:89
AGSNetworkLocation * networkLocation
Definition: AGSServiceAreaFacility.h:119
double currentBearingTolerance
Definition: AGSServiceAreaFacility.h:132
double currentBearing
Definition: AGSServiceAreaFacility.h:127
double navigationLatency
Definition: AGSServiceAreaFacility.h:137