25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSBarrierType.h>
46 #pragma mark initializers
55 -(instancetype)initWithPolygon:(
AGSPolygon*)polygon;
62 +(instancetype)barrierWithPolygon:(
AGSPolygon*)polygon;
65 #pragma mark properties
72 @property (nonatomic, assign, readwrite) NSInteger
barrierID;
83 @property (nonatomic, copy, readwrite) NSString *
name;
98 -(double)scaleFactorForCostAttribute:(NSString*)attributeName;
105 -(void)setScaleFactor:(
double)scaleFactor forCostAttribute:(NSString*)attributeName;
AGSBarrierType
Definition: AGSBarrierType.h:35
Definition: AGSObject.h:28
A polygon barrier to constrain routes.
Definition: AGSPolygonBarrier.h:42
NSString * name
Definition: AGSPolygonBarrier.h:83
AGSPolygon * geometry
Definition: AGSPolygonBarrier.h:78
NSInteger barrierID
Definition: AGSPolygonBarrier.h:72
AGSBarrierType type
Definition: AGSPolygonBarrier.h:88
A multipart shape used to represent an area.
Definition: AGSPolygon.h:78