You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Features » AVL.LineNormalVector

AVL.LineNormalVector

Computes the normal vector of a line.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LineNormalVector
(
	AvlNet.Line2D inLine,
	bool inReverse,
	out AvlNet.Vector2D outVector
)

Parameters

Name Type Range Default Description
inLineAvlNet.Line2D
inReverseboolTrueDefault value: True.
outVectorAvlNet.Vector2D

Examples

LineNormalVector performed on a line (left image) returns outVector (right image).

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in LineNormalVector.

See also