Back to Aurora Vision Library website

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

LerpSegments3D


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

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
Input value inSegment0 const Segment3D&
Input value inSegment1 const Segment3D&
Input value inLambda float - - 0.5f Interpolation between the input segments where 0.0 value is equal to inSegment0 and 1.0 to inSegment
Output value outSegment3D Segment3D&