mesh_bend

ABSTRACT

The mesh_bend function interpolates between two mesh trees using a specified interpolation factor. Importantly, this bend can only be done between line meshes. It has the property that the interpolation is length preserving. That is, the length of the interpolated mesh is linearly interpolated. This makes it better suited for interpolating between a line and a circle for example.

PARAMETERS
src_treeRepresents the source mesh tree.
dst_treeRepresents the destination mesh tree.
tA scalar value between 0 and 1, indicating the interpolation factor. A value of 0 corresponds to the source mesh, while 1 corresponds to the destination mesh.
RETURN

Interpolates between the source and destination mesh trees based on the provided interpolation factor 't'. The resulting mesh tree is a blend between the two input trees according to the specified factor.

DECLARATION
func mesh_bend(src_tree, dst_tree, t)