Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Angle Metrics » AngleBetweenPlanes

AngleBetweenPlanes
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Measures the smaller and the larger angle between two planes in 3D.
Syntax
C++
C#
void fil::AngleBetweenPlanes ( const fil::Plane3D& inPlane1, const fil::Plane3D& inPlane2, ftl::Optional<float&> outSmallerAngle = ftl::NIL, ftl::Optional<float&> outLargerAngle = ftl::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 ftl::NIL
to these parameters: outSmallerAngle, outLargerAngle.
Read more about Optional Outputs.
Description
The operation returns the single measure of the angle between two planes in 3D, which is equal to the angle between their normal vectors.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite plane on input in AngleBetweenPlanes. |
See Also
- AngleBetweenLines3D – Measures the smaller and the larger angle between two lines in 3D.
- AngleBetweenVectors3D – Measures the angle between two vectors in 3D.