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: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
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