|
ArcGIS Runtime SDK for iOS
100.15
|
An incident to use in closest facility analysis.
Instances of this class represent incidents. Incidents represent locations that are used as starting or ending points in closest facility analysis, for example, a fire or a traffic accident. Whether starting or ending points, incidents are always on the opposite end of a route from the connected facility.
AGSClosestFacilityTask
Instance Methods | |
| (double) | - addedCostForCostAttribute: |
| (instancetype) | - initWithPoint: |
| (void) | - setAddedCost:forCostAttribute: |
Class Methods | |
| (instancetype) | + incidentWithPoint: |
Properties | |
| AGSCurbApproach | curbApproach |
| double | currentBearing |
| double | currentBearingTolerance |
| double | distanceToNetworkLocation |
| AGSPoint * | geometry |
| double | impedanceCutoff |
| NSInteger | incidentID |
| AGSLocationStatus | locationStatus |
| NSString * | name |
| double | navigationLatency |
| double | navigationSpeed |
| AGSNetworkLocation * | networkLocation |
| NSInteger | targetFacilityCount |
| - (double) addedCostForCostAttribute: | (NSString *) | attributeName |
Gets the added cost value for the given impedance or accumulate attribute
| attributeName | of the impedance or accumulate attribute |
AGSClosestFacilityTaskInfo::costAttributes for a list of attributes available for closest facility analysis | + (instancetype) incidentWithPoint: | (AGSPoint *) | point |
Initialize the incident using the provided location
| point | where the incident is located |
| - (instancetype) initWithPoint: | (AGSPoint *) | point |
Initialize the incident using the provided location
| point | where the incident is located |
| - (void) setAddedCost: | (double) | addedCost | |
| forCostAttribute: | (NSString *) | attributeName | |
Sets the added cost value for the given impedance or accumulate attribute
| addedCost | for the attribute |
| attributeName | of the impedance or accumulate attribute |
AGSClosestFacilityTaskInfo::costAttributes for a list of attributes available for closest facility analysis
|
readwritenonatomicassign |
Specifies the direction a vehicle may arrive at or depart from the incident. For example, a school bus must approach and depart a school from its door side so that students entering/exiting the bus will not have to cross the street.
|
readwritenonatomicassign |
Current bearing in degrees. Current bearing in degrees, measured clockwise from true north. Typical values are 0 to 360 or NaN, negative values will be subtracted from 360 (e.g. -15 => 345), values greater than 360 will be have 360 subtracted from them (e.g. 385 => 25). For this property to be used the bearing tolerance also has to be set.
|
readwritenonatomicassign |
Current bearing tolerance in degrees. Valid values are 0 to 180 or NaN.
|
readnonatomicassign |
The distance to the closest location on the underlying network in meters.
networkLocation
|
readnonatomicstrong |
Location of the facility
|
readwritenonatomicassign |
Specifies the cutoff beyond which this incident will not be searched. The cutoff is a measure of the attribute specified by AGSTravelMode::impedanceAttributeName. If this is not specified, AGSClosestFacilityParameters::defaultImpedanceCutoff will be used.
|
readwritenonatomicassign |
Incident ID. This is a caller supplied foreign key that can be used to associate output incidents with input incidents.
- setIncidentsWithFeatureTable:queryParameters: (AGSClosestFacilityParameters), ClosestFacilityResult.incidents
|
readnonatomicassign |
|
readwritenonatomiccopy |
Name of the incident
|
readwritenonatomicassign |
Navigation latency in seconds.
|
readwritenonatomicassign |
Navigation speed in meters per second.
|
readwritenonatomicstrong |
The location on the underlying transportation network where the facility is located.
Set to nil for resetting a network location.
locationStatus
|
readwritenonatomicassign |
Number of facilities to find for this incident. If this is not specified, AGSClosestFacilityParameters::defaultTargetFacilityCount will be used.