ArcGIS Runtime SDK for iOS
100.15
|
A point barrier to constrain routes.
Instances of this class represent a point barrier that can be used to constrain routes generated by AGSRouteTask
or service areas generated by AGSServiceAreaTask
.
Barriers serve to temporarily restrict, add impedance (cost) to, and scale impedance on parts of the transportation network.
Instance Methods | |
(double) | - addedCostForCostAttribute: |
(instancetype) | - initWithPoint: |
(void) | - setAddedCost:forCostAttribute: |
Class Methods | |
(instancetype) | + barrierWithPoint: |
Properties | |
NSInteger | barrierID |
AGSCurbApproach | curbApproach |
AGSPoint * | geometry |
AGSLocationStatus | locationStatus |
NSString * | name |
AGSBarrierType | type |
- (double) addedCostForCostAttribute: | (NSString *) | attributeName |
+ (instancetype) barrierWithPoint: | (AGSPoint *) | point |
Initialize the point barrier with provided location
point | where the barrier should be located |
- (instancetype) initWithPoint: | (AGSPoint *) | point |
Initialize the point barrier with provided location
point | where the barrier should be located |
- (void) setAddedCost: | (double) | addedCost | |
forCostAttribute: | (NSString *) | attributeName | |
|
readwritenonatomicassign |
Point barrier ID. This is a caller supplied foreign key that can be used to associate output point barriers with input point barriers.
- setPointBarriersWithFeatureTable:queryParameters: (AGSRouteParameters)
, AGSRouteResult::pointBarriers
, - setPointBarriersWithFeatureTable:queryParameters: (AGSClosestFacilityParameters)
, AGSClosestFacilityResult::pointBarriers
, - setPointBarriersWithFeatureTable:queryParameters: (AGSServiceAreaParameters)
, AGSServiceAreaResult::pointBarriers
|
readwritenonatomicassign |
Specifies how the restriction applies to the direction a vehicle may arrive at or depart from the barrier.
|
readwritenonatomicstrong |
Where the barrier is located
|
readnonatomicassign |
The status of where this barrier appears on the underlying transportation network
|
readwritenonatomiccopy |
The name of the point barrier.
|
readwritenonatomicassign |
The type of the barrier, whether it fully restricts travel accross it, or merely increases the cost of travel