VectorMathLerp(Double, Double, IReadOnlyListSingle, Double, IReadOnlyListSingle, IVectorSingle) Method |
Performs linear interpolation between two vectors at specified points.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Lerp(
double t,
double t0,
IReadOnlyList<float> v0,
double t1,
IReadOnlyList<float> v1,
IVector<float> destinationVector
)
Parameters
- t Double
- Scalar parameter of interpolation
- t0 Double
- Scalar parameter corresponding to first vector v0.
- v0 IReadOnlyListSingle
- Vector at first parameter point.
- t1 Double
- Scalar parameter corresponding to the second vector v1.
- v1 IReadOnlyListSingle
- Vector at second parameter point.
- destinationVector IVectorSingle
- Intepolated vector value at point t
See Also