Back to Adaptive Vision Studio website

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

LineOrientation


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

Name Type Description
inLine Line2D
outOrientationAngle Real

Examples

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

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in LineOrientation.

Complexity Level

This filter is available on Basic Complexity Level.