Write for the Bernstein basis, and set when is outside its index range. Differentiating and using and givesHence, after shifting the first sum by one index,Thus the derivative is a degree-at-most- Bézier curve whose control points are . They are vectors rather than necessarily positions on the original Bézier curve. This is the Bézier derivative control polygon.
Applying the preceding derivative identity repeatedly yields the Bézier derivative control polygon for every order:where the forward finite difference is andThe induction step multiplies by the remaining degree and takes one more finite difference. Derivatives above order vanish. In particular,If the actual parameter interval has length and is its normalized coordinate, derivatives in the original parameter acquire the additional factor . These formulas allow derivative evaluation and join tests using only the control polygon.
Let the first Bézier curve have degree and control points , and the next have degree and control points . Use one increasing parameter on the two adjacent intervals. For a continuous join, their endpoints must agree: . If each interval has length , the endpoint derivatives are and . Therefore the parametric first-derivative join of Bézier curves is exactlyFor equal degrees, the two polygon edges incident on the common endpoint are equal vectors. Equivalently, are collinear with the join as their midpoint. Agreement of edge directions without these lengths gives only geometric tangent continuity at a nonzero tangent, not equality of derivatives in the chosen parameter. The displayed condition also covers zero endpoint derivatives. With unequal interval lengths , the condition is instead .
A cubic polynomial on either half is determined by its endpoint positions and endpoint derivatives. Use normalized parameters on the first half and on the second, so that derivatives with respect to are half the derivatives with respect to . Evaluation of the Bernstein basis at the split givesIf the left control points are , endpoint positions give . The cubic endpoint-derivative formulas give and . On the right, , and . Substitution yieldsThese are exact restricted Bézier curves, since they match all four endpoint Hermite data of the respective cubics.
The construction is also the midpoint case of De Casteljau's algorithm. Form for , then , , and . The two polygons are and . Their common tangent edges satisfy , as required for equal half-intervals. Thus the triangular midpoint construction simultaneously evaluates the split point and supplies the two exact representations.
Articles by others on the same topic
There are currently no matching articles.
