LerpSegments


Linearly interpolates between two segments.

Syntax

C++
Python
 
def LerpSegments(
	inSegment0: Segment2D,
	inSegment1: Segment2D,
	/,
	*,
	inLambda: float = 0.5,
	inIgnoreOrientation: bool = False
)
-> outSegment: Segment2D

Parameters

Name Type Range Default Description
Input value inSegment0 Segment2D
Input value inSegment1 Segment2D
Input value inLambda float - - 0.5 Interpolation between the input segments where 0.0 value is equal to inSegment0 and 1.0 to inSegment1
Input value inIgnoreOrientation bool False
Output value outSegment Segment2D