You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Constructions » AVL.ProjectPointOnLine

AVL.ProjectPointOnLine

Projects a point onto a line.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ProjectPointOnLine
(
	AvlNet.Point2D inPoint,
	AvlNet.Line2D inLine,
	out AvlNet.Point2D outProjectionPoint
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inLineAvlNet.Line2D
outProjectionPointAvlNet.Point2D

Examples

ProjectPointOnLine performed on point and line.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in ProjectPointOnLine.

See also