approximate

Return

an array of one or more quadratic Bézier curves

Parameters

error

the maximum distance between the reference cubic curve and the returned quadratic curves