Find the index of the X point nearest to p

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

Syntax

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

Parameters

x
Type: System..::.Single
x to look for
y
Type: System..::.Single
y to look for

Return Value

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

See Also