Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Interpolations » LerpPoints3D

LerpPoints3D


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Linearly interpolates between two points in 3D.

Syntax

C++
C#
 
void avl::LerpPoints3D
(
	const avl::Point3D& inPoint0,
	const avl::Point3D& inPoint1,
	const float inLambda,
	avl::Point3D& outPoint3D
)

Parameters

Name Type Range Default Description
Input value
inPoint0 const Point3D&
Input value
inPoint1 const Point3D&
Input value
inLambda const float - - 0.5f Interpolation between the input points where 0.0 value is equal to inPoint0 and 1.0 to inPoint1
Output value
outPoint3D Point3D&