I need algorithm which can tell, if Point lies inside/outside or on boundary (edge) of convex hull (C/C++).
Convex hull is described as array of Points X,Y, integer, connection are from i to i+1.
Currently Im using winding number algorithm, described here: http://geomalgorithms.com/a03-_inclusion.html It's function "wn_PnPoly()".
Is it possible, and how, to make winding number algorithm detect, if Point lies exactly on boundary (edge) of convex? Is there another algorithm to do that? (Needs to work on ints).