Back to FabImage Library Lite website

You are here: Start » Geometry 2D Interpolations » MedianAngle

MedianAngle


Header:FIL.h
Namespace:fil

Computes the median angle of the input angles.

Syntax

void fil::MedianAngle
(
	const ftl::Array<float>& inAngles,
	fil::AngleRange::Type inAngleRange,
	float& outMedianAngle
)

Parameters

Name Type Default Description
inAngles const Array<float>&
inAngleRange AngleRange::Type
outMedianAngle float&

Errors

List of possible exceptions:

Error type Description
DomainError Empty array on input in MedianAngle.