new interface for parametric and Bézier curve