Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Features » LineOrientation

LineOrientation


Header: AVL.h
Namespace: avl

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

Syntax

void avl::LineOrientation
(
	const avl::Line2D& inLine,
	float& outOrientationAngle
)

Parameters

Name Type Default Description
Input value inLine const Line2D&
Output value outOrientationAngle float&

Examples

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