SFLine
Objective-C
@interface SFLine : SFLineString
Swift
class SFLine : SFLineString
A LineString with exactly 2 Points.
-
Create
Declaration
Objective-C
+ (SFLine *)line;Return Value
new line
-
Create
Declaration
Objective-C
+ (SFLine *)lineWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;Parameters
hasZhas z values
hasMhas m values
Return Value
new line
-
Create
Declaration
Objective-C
+ (SFLine *)lineWithPoints:(NSMutableArray<SFPoint *> *)points;Parameters
pointslist of points
Return Value
new line
-
Create
Parameters
point1first point
point2second point
Return Value
new line
-
Create
Declaration
Objective-C
+ (SFLine *)lineWithLine:(SFLine *)line;Parameters
lineline
Return Value
new line
-
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new line
-
Initialize
Declaration
Objective-C
- (instancetype)initWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;Swift
init!(hasZ: Bool, andHasM hasM: Bool)Parameters
hasZhas z values
hasMhas m values
Return Value
new line
-
Initialize
Declaration
Objective-C
- (instancetype)initWithPoints:(NSMutableArray<SFPoint *> *)points;Swift
init!(points: NSMutableArray!)Parameters
pointslist of points
Return Value
new line
-
Initialize
Declaration
Parameters
point1first point
point2second point
Return Value
new line
-
Initialize
Declaration
Objective-C
- (instancetype)initWithLine:(SFLine *)line;Swift
init!(line: SFLine!)Parameters
lineline
Return Value
new line
View on GitHub
SFLine Class Reference