Find the index of the X point nearest to p between a minimum and maximum index

Namespace:  PalmSens
Assembly:  PalmSens (in PalmSens.dll) Version: 2.3.0.0

Syntax

C#
public int FindNearestXCV(
	float x,
	float y,
	int iMin,
	int iMax
)
Visual Basic (Declaration)
Public Function FindNearestXCV ( _
	x As Single, _
	y As Single, _
	iMin As Integer, _
	iMax As Integer _
) As Integer
Visual C++
public:
int FindNearestXCV(
	float x, 
	float y, 
	int iMin, 
	int iMax
)

Parameters

x
Type: System..::.Single
x to look for
y
Type: System..::.Single
y to look for
iMin
Type: System..::.Int32
minimum index
iMax
Type: System..::.Int32
maximum index

Return Value

index nearest to x,y or 0 if there were no X points yet

See Also