Back to FabImage Library website

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

AngleBetweenThreePoints3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Measures the angle defined by three consecutive points in 3D.

Syntax

C++
C#
 
void fil::AngleBetweenThreePoints3D
(
	const fil::Point3D& inPoint1,
	const fil::Point3D& inPoint2,
	const fil::Point3D& inPoint3,
	float& outAngle
)

Parameters

Name Type Default Description
Input value inPoint1 const Point3D& A point on one arm of an angle
Input value inPoint2 const Point3D& The middle point
Input value inPoint3 const Point3D& A point on another arm of the angle
Output value outAngle float& Angle value used for measurements <0; 180>