Ok but why are you searching  the point exactly in this points:P[i],
P[(i+1)%n], P[(i+2)%n], P[(i+3)%n] .. P[(j-1)%n],
How do you ignore the other points

Reply via email to