BDLineString
Objective-C
@interface BDLineString : BDPolygonal <NSSecureCoding>
Swift
class BDLineString : BDPolygonal, NSSecureCoding
Open-ended geometry consisting of two or more BDPoint
“points” connected by straight-line segments.
Unlike a BDPolygon
“polygon” this geometry is open-ended and has no area.
When used as a BDFence
“fence” geometry, BDLineString
is typically used to represent a geographic boundary or
check-point along a road or other travel path.
-
Convenience init method with a list of
BDPoint
verticesDeclaration
Objective-C
+ (instancetype)lineStringWithVertices:(NSArray *)vertices copy:(BOOL)copy;
-
Convenience init method with a list of
BDPoint
verticesDeclaration
Objective-C
- (instancetype)initWithVertices:(NSArray *)vertices copy:(BOOL)copy;
Swift
init!(vertices: [Any]!, copy: Bool)