Find the index of the X point nearest to p


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

Syntax

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

Parameters

x
x to look for
y
y to look for

Return Value

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

See Also