Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Interpolations » LerpAngles

LerpAngles


Linearly interpolates between two angles in the direction of minimum turn.

Syntax

C++
C#
 
void avl::LerpAngles
(
	atl::real inAngle1,
	atl::real inAngle2,
	atl::Optional<avl::RotationDirection::Type> inRotationDirection,
	avl::AngleRange::Type inAngleRange,
	atl::real inLambda,
	bool inInverse,
	atl::real& outAngle
)

Parameters

Name Type Default Description
inAngle1 real
inAngle2 real
inRotationDirection Optional<RotationDirection::Type> NIL Clockwise, counter-clockwise or auto
inAngleRange AngleRange::Type
inLambda real
inInverse bool
outAngle real&