|  | InterpolationHelperLerp Method (Double, Double, Double) | 
            Performs a linear interpolation between two values (double-precision).
            
 
Namespace: DigitalRune.Mathematics.InterpolationAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
 Syntax
Syntaxpublic static double Lerp(
	double source,
	double target,
	double parameter
)
Public Shared Function Lerp ( 
	source As Double,
	target As Double,
	parameter As Double
) As Double
public:
static double Lerp(
	double source, 
	double target, 
	double parameter
)
static member Lerp : 
        source : float * 
        target : float * 
        parameter : float -> float 
Parameters
- source
- Type: SystemDouble
 The source value.
- target
- Type: SystemDouble
 The target value.
- parameter
- Type: SystemDouble
 The interpolation parameter that lies in the interval [0,1]; also known as interpolation
            factor or weight of the target value.
Return Value
Type: 
DoubleThe linear interpolation of two values.
 Remarks
RemarksLerp(a, b, 0) returns a. Lerp(a, b, 1) returns b.
            
            The interpolation parameter can lie outside of the interval [0, 1]. 
            Outside of this interval the method actually performs an extrapolation instead of an 
            interpolation. 
            
 See Also
See Also