Back to Adaptive Vision Library website

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

AngleBetweenPlanes


Header:AVL.h
Namespace:avl

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

Syntax

C++
C#
 
void avl::AngleBetweenPlanes
(
	const avl::Plane3D& inPlane1,
	const avl::Plane3D& inPlane2,
	atl::Optional<float&> outSmallerAngle = atl::NIL,
	atl::Optional<float&> outLargerAngle = atl::NIL
)

Parameters

Name Type Default Description
inPlane1 const Plane3D&
inPlane2 const Plane3D&
outSmallerAngle Optional<float&> NIL
outLargerAngle Optional<float&> NIL

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.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in AngleBetweenPlanes.