Returns the interpolated value.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- v1
- Type: System..::.Double
A first value.
- v2
- Type: System..::.Double
A second value.
- t
- Type: System..::.Double
Parametrization.
Return Value
The value of linear interpolation from v1 to v2 according to t.
Remarks
For t in the range <0,1> returns the linear interpolated value from <v1,v2>,
i.e. for = 0.0 returns v1,
for = 1.0 returns v2.