Back to FabImage Library website

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

AngleBetweenLines3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

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

Syntax

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

Parameters

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

Optional Outputs

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

Read more about Optional Outputs.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in AngleBetweenLines3D.