3d linear interpolation in x, y and z direction for single values

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

Syntax

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

Parameters

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

Return Value

Interpolated value between the 8 values of the corners of a unit cube

See Also