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 | |
|---|---|---|---|---|---|
![]() |
inSegment0 | Segment2D | |||
![]() |
inSegment1 | Segment2D | |||
![]() |
inLambda | float | - - ![]() |
0.5 | Interpolation between the input segments where 0.0 value is equal to inSegment0 and 1.0 to inSegment1 |
![]() |
inIgnoreOrientation | bool | False | ||
![]() |
outSegment | Segment2D |


- 