Next: quadratic Bézier curve
Up: linear Bézier curve
Previous: control points choice
  Contents
error estimation
Since the ellipse curve always has a positive curvature and since the
linear Bézier curve is a straight line, the distance between the
ellipse and its approximation is null at both arc ends and reaches its
maximal value for one point
between the endpoints. At this
point, the tangent to the ellipse is parallel to the line, as depicted
in figure 5.
Figure 5:
error of a linear approximation
|
Using the ellipse parametric equation (3) and its
derivative (4), we can find
:
where
and
are the coordinates of
and
and
are the coordinates of
.
Obviously, the second solution is the one we were looking for. Given
this value of
, we compute the error
as the
distance between
(coordinates
and
) and the
line passing through
and
.
Next: quadratic Bézier curve
Up: linear Bézier curve
Previous: control points choice
  Contents
Luc Maisonobe
2005-05-29