Perform a first degree interpolation to lookup the y coordinate given the x coordinate

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public static float FirstDegreeInterpolate(
	PointF[] points,
	float index
)
Visual Basic (Declaration)
Public Shared Function FirstDegreeInterpolate ( _
	points As PointF(), _
	index As Single _
) As Single
Visual C++
public:
static float FirstDegreeInterpolate(
	array<PointF>^ points, 
	float index
)

Parameters

points
Type: array< System.Drawing..::.PointF >[]()[]
The collection of points. Must be sorted by the x value.
index
Type: System..::.Single
the x coordinate

Return Value

the y coordinate as the result of the first degree interpolation

See Also