You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Constructions » FIL.LineThroughPoints

FIL.LineThroughPoints

Computes a line passing through two distinct points.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void LineThroughPoints
(
	FilNet.Point2D inPoint1,
	FilNet.Point2D inPoint2,
	out FilNet.Line2D outLine
)

Parameters

Name Type Range Default Description
inPoint1FilNet.Point2D
inPoint2FilNet.Point2D
outLineFilNet.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