VectorMathLerp(Double, Double, IReadOnlyListDouble, Double, IReadOnlyListDouble, IVectorDouble) 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<double> v0,
double t1,
IReadOnlyList<double> v1,
IVector<double> destinationVector
)
Parameters
- t Double
- Scalar parameter of interpolation
- t0 Double
- Scalar parameter corresponding to first vector v0.
- v0 IReadOnlyListDouble
- Vector at first parameter point.
- t1 Double
- Scalar parameter corresponding to the second vector v1.
- v1 IReadOnlyListDouble
- Vector at second parameter point.
- destinationVector IVectorDouble
- Intepolated vector value at point t
See Also