3d linear interpolation in x, y and z direction for 3d-vectors

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static Vector3D Trilerp(
	Vector3D Input,
	Vector3D V010,
	Vector3D V110,
	Vector3D V100,
	Vector3D V000,
	Vector3D V011,
	Vector3D V111,
	Vector3D V101,
	Vector3D V001
)

Parameters

Input
Type: VVVV.Utils.VMath..::..Vector3D
The Interpolation factor, 3d-position inside the unit cube
V010
Type: VVVV.Utils.VMath..::..Vector3D
Front upper left
V110
Type: VVVV.Utils.VMath..::..Vector3D
Front upper right
V100
Type: VVVV.Utils.VMath..::..Vector3D
Front lower right
V000
Type: VVVV.Utils.VMath..::..Vector3D
Front lower left
V011
Type: VVVV.Utils.VMath..::..Vector3D
Back upper left
V111
Type: VVVV.Utils.VMath..::..Vector3D
Back upper right
V101
Type: VVVV.Utils.VMath..::..Vector3D
Back lower right
V001
Type: VVVV.Utils.VMath..::..Vector3D
Back lower left

Return Value

Interpolated vector between the 8 vectors of the corners of a unit cube

See Also