Back to FabImage Library website

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

LerpSegments3D


Header: FIL.h
Namespace: fil
Module: Vision3DStandard

Linearly interpolates between two segments in 3D.

Syntax

C++
C#
 
void fil::LerpSegments3D
(
	const fil::Segment3D& inSegment0,
	const fil::Segment3D& inSegment1,
	float inLambda,
	fil::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&