Click or drag to resize

MathHelperCatmullRom Method

Performs a Catmull-Rom interpolation using the specified positions.

Namespace: CFX.Utilities
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public static double CatmullRom(
	double value1,
	double value2,
	double value3,
	double value4,
	double amount
)

Parameters

value1  Double
The first position in the interpolation.
value2  Double
The second position in the interpolation.
value3  Double
The third position in the interpolation.
value4  Double
The fourth position in the interpolation.
amount  Double
Weighting factor.

Return Value

Double
A position that is the result of the Catmull-Rom interpolation.
See Also