Skip to content

M_Rhino_Geometry_Interpolator_InterpolateNearestNeighbour

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Interpolator.InterpolateNearestNeighbour Method

Sample the list of numbers with Nearest Neighbour interpolation.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public double InterpolateNearestNeighbour(
	double t
)

VB

Public Function InterpolateNearestNeighbour ( 
	t As Double
) As Double

Parameters

 

t
Type: System.Double
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Interpolator Class
Rhino.Geometry Namespace

Clone this wiki locally