Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D Distance Metrics » AngleBetweenLines3D

AngleBetweenLines3D


Measures the smaller and the larger angle between two lines in 3D.

Header:AVL.h

Syntax

C++
C#
 
void avl::AngleBetweenLines3D
(
	const avl::Line3D& inLine1,
	const avl::Line3D& inLine2,
	atl::Optional<float&> outSmallerAngle = atl::NIL,
	atl::Optional<float&> outLargerAngle = atl::NIL
)

Parameters

Name Type Default Description
inLine1 const Line3D&
inLine2 const Line3D&
outSmallerAngle Optional<float&> NIL
outLargerAngle Optional<float&> NIL

Errors

Error type Description
DomainError Indefinite line on input in AngleBetweenLines3D.