Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 2D Interpolations » LerpVectors_Radial

LerpVectors_Radial


Linearly interpolates between two radial vectors.

Name Type Range Description
inVector1 Vector2D
inVector2 Vector2D
inRotationDirection RotationDirection* Clockwise, counter-clockwise or auto
inLambda Real - - 0.0 makes a copy of the first vector, 1.0 - of the second, other values make interpolations
outVector Vector2D

Description

Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when a zero vector is given on input.

Examples

LerpVectors_Radial performed on two vectors: inVector1 DeltaX = 50, DeltaY = 50, inVector2 DeltaX = -25, DeltaY = 25, inRotationDirection = CounterClockwise, inLambda = 0,25. The green vector is the output vector.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filters is member of LerpVectors filter group.