Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Angle Metrics » AngleBetweenSegmentLines_Deprecated

AngleBetweenSegmentLines_Deprecated


Header:AVL.h
Namespace:avl

Measures the angle between two lines containing the input segments.

Syntax

C++
 
void avl::AngleBetweenSegmentLines_Deprecated
(
	const avl::Segment2D& inSegment1,
	const avl::Segment2D& inSegment2,
	atl::Optional<float&> outSmallerAngle,
	atl::Optional<float&> outLargerAngle
)

Parameters

Name Type Default Description
inSegment1 const Segment2D& Segment defining the first line
inSegment2 const Segment2D& Segment defining the second line
outSmallerAngle Optional<float&> The smaller angle <0, 90>
outLargerAngle Optional<float&> The larger angle <90, 180>

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outSmallerAngle, outLargerAngle.

Read more about Optional Outputs.