point inside polygon in igor

Hi,

There is a command in Matlab that gets the coordinates of the vertexes of a polygon as two vectors (waves) and then it can tell you if a specific point is inside the polygon or not! is there any similar function in Iogr?
the command in Matlab is "IN = inpolygon(X,Y,xv,yv)"
X,Y are the x and y coordinates of the vertexes of polygon and 'xv, yv' is the specific point that you want to figure out either it is in the polygon or not.
Please let me know if you have any idea about that.

Thanks much