Class iLineSegment
Stores line segment data.
- Objective-C
- Swift
@interface iLineSegment : NSObjectclass 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 startPointvar startPoint: CGPoint { get set }
endPoint
The end point of the line segment.
- Objective-C
- Swift
@property (nonatomic, assign) CGPoint endPointvar 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* linesConfidenceCoefficientsvar linesConfidenceCoefficients: Data? { get set }