SFSegment
Objective-C
@interface SFSegment : NSObject
Swift
class SFSegment : NSObject
Line segment of an edge between two points
-
Segment above
Declaration
Objective-C
@property (nonatomic, strong) SFSegment *above;
Swift
var above: SFSegment! { get set }
-
Segment below
Declaration
Objective-C
@property (nonatomic, strong) SFSegment *below;
Swift
var below: SFSegment! { get set }
-
Get the edge number
Declaration
Objective-C
- (int)edge;
Swift
func edge() -> Int32
Return Value
edge number
-
Get the polygon ring number
Declaration
Objective-C
- (int)ring;
Swift
func ring() -> Int32
Return Value
polygon ring number
-
Get the left point
Return Value
left point
-
Get the right point
Return Value
right point