You want to perform an adaptive sampling of the boundary curve. Use de Casteljau algorithm recursively until the control points are approximately collinear. See for instance http://www.antigrain.com/research/adaptive_bezier/index.html.
lhf
- 1k
- 1
- 8
- 12