Improve algo "convex ccw contour contains point"