inv bilinear interp
a closest p on bezier
intersect mod