Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » LineOrientation
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the orientation angle of a line as angle in the range from 0 to 180.
Syntax
C++
C#
void fil::LineOrientation ( const fil::Line2D& inLine, float& outOrientationAngle )
Parameters
Examples
![]() |
LineOrientation performed on a line.
The outOrientationAngle in this case returns a value of 45.