Back to Adaptive Vision Library website

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

LerpSegments3D


Header:AVL.h
Namespace:avl

Linearly interpolates between two segments in 3D.

Syntax

C++
C#
 
void avl::LerpSegments3D
(
	const avl::Segment3D& inSegment0,
	const avl::Segment3D& inSegment1,
	float inLambda,
	avl::Segment3D& outSegment3D
)

Parameters

Name Type Range Default Description
inSegment0 const Segment3D&
inSegment1 const Segment3D&
inLambda float - - 0.5f Interpolation between the input segments where 0.0 value is equal to inSegment0 and 1.0 to inSegment
outSegment3D Segment3D&