Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Constructions » LineThroughPoints
LineThroughPoints
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes a line passing through two distinct points.
Syntax
void avl::LineThroughPoints ( const avl::Point2D& inPoint1, const avl::Point2D& inPoint2, avl::Line2D& outLine )
Parameters
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 the input points are almost equal.