You are here: Start » FIL.NET » Invoke.LerpSegments

Invoke.LerpSegments

Linearly interpolates between two segments.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void LerpSegments
(
	Fil.Segment2D inSegment0,
	Fil.Segment2D inSegment1,
	float inLambda,
	bool inIgnoreOrientation,
	out Fil.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegment0Fil.Segment2D
inSegment1Fil.Segment2D
inLambdafloat<-INF, INF>0.5fInterpolation between the input segments where 0.0 value is equal to inSegment0 and 1.0 to inSegment1. Default value: 0.5f.
inIgnoreOrientationbool
outSegmentFil.Segment2D

See also