Back to Adaptive Vision Studio website
                
                    
		
	You are here: Start » Filter Reference » Geometry 2D Constructions » LineThroughPoints
Computes a line passing through two distinct points.
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inPoint1 | Point2D | |
![]()  | 
				inPoint2 | Point2D | |
![]()  | 
				outLine | Line2D | 
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.
Examples
![]()  | 
![]()  | 
LineThroughPoints performed on two points.
Complexity Level
This filter is available on Basic Complexity Level.




