Class iLineSegment
Stores line segment data.
- Objective-C
- Swift
@interface iLineSegment : NSObject
class iLineSegment : NSObject
Attribute | Descriptions |
---|---|
startPoint |
The start point of the line segment. |
endPoint |
The end point of the line segment. |
linesConfidenceCoefficients |
The confidence coefficients for lines. |
startPoint
The start point of the line segment.
- Objective-C
- Swift
@property (nonatomic, assign) CGPoint startPoint
var startPoint: CGPoint { get set }
endPoint
The end point of the line segment.
- Objective-C
- Swift
@property (nonatomic, assign) CGPoint endPoint
var endPoint: CGPoint { get set }
linesConfidenceCoefficients
The confidence coefficients for lines. There are 4 coefficients in this set:
- linesConfidenceCoefficients[0] is average positive amplitude;
- linesConfidenceCoefficients[1] is max positive amplitude;
- linesConfidenceCoefficients[2] is average negative amplitude;
- linesConfidenceCoefficients[3] is max negative amplitude.
- Objective-C
- Swift
@property (nonatomic, nullable) NSData* linesConfidenceCoefficients
var linesConfidenceCoefficients: Data? { get set }