You are here: Start » AVL.NET » AVL.LineThroughPoints
Computes a line passing through two distinct points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void LineThroughPoints ( AvlNet.Point2D inPoint1, AvlNet.Point2D inPoint2, out AvlNet.Line2D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint1 | AvlNet.Point2D | ||||
inPoint2 | AvlNet.Point2D | ||||
outLine | AvlNet.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.