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

AVL.LineOrientation

Computes the orientation angle of a line as angle in the range from 0 to 180.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LineOrientation
(
	AvlNet.Line2D inLine,
	out float outOrientationAngle
)

Parameters

Name Type Range Default Description
inLineAvlNet.Line2D
outOrientationAnglefloat

Examples

LineOrientation performed on a line.
The outOrientationAngle in this case returns a value of 45.

See also