ArcGIS Runtime SDK for iOS: AGSClosestFacilityResult.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSClosestFacilityResult.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 
28 @class AGSFacility;
29 @class AGSIncident;
30 @class AGSPointBarrier;
31 @class AGSPolygonBarrier;
32 @class AGSPolylineBarrier;
34  //Required for Globals API doc
36 
45 
46 
47 #pragma mark -
48 #pragma mark initializers
49 
50 
51 
52 #pragma mark -
53 #pragma mark properties
54 
59 @property (nonatomic, copy, readonly) NSString *directionsLanguage;
60 
65 @property (nonatomic, copy, readonly) NSArray<AGSFacility*> *facilities;
66 
71 @property (nonatomic, copy, readonly) NSArray<AGSIncident*> *incidents;
72 
76 @property (nonatomic, copy, readonly) NSArray<NSString*> *messages;
77 
82 @property (nonatomic, copy, readonly) NSArray<AGSPointBarrier*> *pointBarriers;
83 
88 @property (nonatomic, copy, readonly) NSArray<AGSPolygonBarrier*> *polygonBarriers;
89 
94 @property (nonatomic, copy, readonly) NSArray<AGSPolylineBarrier*> *polylineBarriers;
95 
96 #pragma mark -
97 #pragma mark methods
98 
104 -(nullable NSArray<NSNumber*>*)facilityCostsForAttributeName:(NSString *)attributeName facilityIndex:(NSInteger)facilityIndex;
105 
111 -(nullable NSArray<NSNumber*>*)rankedFacilityIndexesForIncidentIndex:(NSInteger)incidentIndex;
112 
119 -(nullable AGSClosestFacilityRoute*)routeForFacilityIndex:(NSInteger)facilityIndex incidentIndex:(NSInteger)incidentIndex;
120 
121 
122 @end
Result returned by AGSClosestFacilityTask.
Definition: AGSClosestFacilityResult.h:45
NSArray< AGSPolylineBarrier * > * polylineBarriers
Definition: AGSClosestFacilityResult.h:94
NSArray< AGSPointBarrier * > * pointBarriers
Definition: AGSClosestFacilityResult.h:82
NSArray< NSString * > * messages
Definition: AGSClosestFacilityResult.h:76
NSString * directionsLanguage
Definition: AGSClosestFacilityResult.h:59
NSArray< AGSIncident * > * incidents
Definition: AGSClosestFacilityResult.h:71
NSArray< AGSFacility * > * facilities
Definition: AGSClosestFacilityResult.h:65
NSArray< AGSPolygonBarrier * > * polygonBarriers
Definition: AGSClosestFacilityResult.h:88
An individual route between a facility and an incident.
Definition: AGSClosestFacilityRoute.h:41
A facility to use in closest facility or service area analysis.
Definition: AGSFacility.h:41
An incident to use in closest facility analysis.
Definition: AGSIncident.h:41
Definition: AGSObject.h:28
A point barrier to constrain routes.
Definition: AGSPointBarrier.h:43
A polygon barrier to constrain routes.
Definition: AGSPolygonBarrier.h:42
A polyline barrier to constrain routes.
Definition: AGSPolylineBarrier.h:42