You are here: Start » AVL.NET » AVL.LineThroughPoints(AvlNet.Point2D, AvlNet.Point2D, AvlNet.Line2D)

AVL.LineThroughPoints(AvlNet.Point2D, AvlNet.Point2D, AvlNet.Line2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void LineThroughPoints(
	AvlNet.Point2D inPoint1,
	AvlNet.Point2D inPoint2,
	out AvlNet.Line2D outLine
)

Parameters

inPoint1
Type: AvlNet.Point2D
inPoint2
Type: AvlNet.Point2D
outLine
Type: 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.

Examples

LineThroughPoints performed on two points.

See also