interpolated

open fun interpolated(to: Triangle, by: Float): Triangle

Returns a copy of this triangle interpolated to other triangle by a factor.

Parameters

to

the triangle to which this triangle is interpolated.

by

the interpolation factor which is expected to be in the range of [0, 1].