Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Features » SegmentLine
Computes the line passing through a segment.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::SegmentLine ( const avl::Segment2D& inSegment, avl::Line2D& outLine )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSegment | const Segment2D& | Input segment | ||
outLine | Line2D& | The resulting line |
Description
Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when an empty segment is given on input.