Interpolator.InterpolateLinear Method

InterpolatorInterpolateLinear Method

Sample the list of numbers with linear interpolation.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public double InterpolateLinear(
	double t
)
Public Function InterpolateLinear ( 
	t As Double
) As Double

Parameters

t
Type: SystemDouble
Parameter to sample at. The integer portion of the parameter indicates the index of the left-hand value. If this Interpolator is cyclical, parameters will be wrapped.

Return Value

Type: Double
The sampled value at t.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also