Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Geometry 2D Features » SegmentOrientation
Computes the orientation of a segment.
Name | Type | Description | |
---|---|---|---|
inSegment | Segment2D | ||
inAngleRange | AngleRange | Switches between 0-180 or 0-360 degrees | |
outOrientationAngle | Real |
Description
Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when an empty segment is given on input.
Examples
Description of usage of this filter can be found in examples and tutorial: Blister Inspection (NET GmbH), Meter.
Complexity Level
This filter is available on Basic Complexity Level.