Bezier surface

from Wikipedia, the free encyclopedia
Tensor product Bezier surface and its control network (blue)

In geometry, Bezier surfaces are surfaces that are defined as spatial generalizations of Bezier curves . There are essentially two ways of generalization. This lists:

  • Tensor product bezier surfaces . Products of Bernstein polynomials are used.
  • Triangular bezier surfaces . Bernstein polynomials for barycentric coordinates are introduced.

Bezier surfaces play an essential role in the modeling of freeform surfaces in the areas of computer graphics and computer-aided design .

Tensor product bezier surface

definition

It is a Bezier curve in whose control points of another parameter dependent, and that they should even be on Bezier curves: . So describes

an area to the control points or the control network associated (m, n) -Tensorprodukt-Bezierfläche . The surface contains the points and the parameter curves ( or are constant), in particular the boundary curves, are Bezier curves.

Note that a -tensor product Bezier surface contains straight lines, but is generally not flat. For example, for

the area with the parametric representation

This is part of the hyperbolic paraboloid with the equation .

The Casteljau algorithm

The basic idea of ​​the Casteljau algorithm for curves is the linear interpolation of pairs of points. If one transfers this idea to tensor product Bezier surfaces, one has to define a {\ bf bi} linear interpolation for four points. As with curves, it can be read in the simplest case: A (1,1) -tensor product Bezier surface on the four points has the following representation:

Or in matrix form:

One starts with a control network and determines (as in the case of curves) for and a pair of parameters intermediate vectors that arise through bilinear interpolation:

where is. Then be the point that is assigned to the parameter pair.

If is, the second index is constant from on and only linear interpolation is carried out (as with Bezier curves).

  • The point is then the area point.

The procedure is analogous if is.

Grade increase

It is often advantageous if there is a -tensor product Bezier surface . If this is not the case, this can be achieved with the help of suitable grade elevations.

The degree increase of on the tensor product bezier surface

leads to the increases in degrees for the Bezier curves in square brackets:

With

Derivations of a Bezier surface

The partial derivative of the tensor product Bezier surface

after is

With the result for the derivation of a Bezier curve we get:

whereby . The partial derivative with respect to and all higher derivatives are obtained analogously .

Since the vectors are tangent vectors of the edge curves beginning at the point , is

a normal vector of the surface at this point if both are linearly independent. Ie the tangential plane in the corner points of a tensor product Bezier surface is generally spanned by the corner point and its neighboring points in the control network.

Triangular bezier surfaces

Motivation and Definition

A formal generalization of the Bernstein polynomials to functions with two variables would start from the relationship . So that the terms that occur are all positive, they must lie in the triangle . Two of the three sides of the triangle play a special role as intervals on the coordinate axes. To avoid this preference one introduces homogeneous coordinates with the condition . are called barycentric coordinates . The generalized Bernstein polynomials result from the expansion of to:

with and .

Control points of a triangle bezier surface

With the abbreviations and is

Is now

a triangular network of points of the , the control points , so is

the corresponding triangular Bezier surface .

The figure shows the arrangement of the points for the case .

De Casteljau algorithm

In order to be able to clearly formulate the Casteljau algorithm for triangular Bezier surfaces, the following abbreviations are introduced:

and .

Let us now be a triangular network of points in and a parameter vector in barycentric coordinates. Then be for and

with then is

  • a point of the triangular bezier surface.

The proof that the Casteljau algorithm really delivers a point of the triangular Bezier surface uses the recursion formulas for Bernstein polynomials (analogous to the curve case):

Please refer to the literature for further details.

Individual evidence

  1. ^ Farin: Curves and Surfaces for CAGD
  2. Hoschek & Lasser: Fundamentals of geometric data processing
  3. Farin p. 254
  4. Farin p. 310
  5. Farin p. 307
  6. Farin p. 306

literature

  • Gerald Farin: Curves and Surfaces for CAGD. A practical guide. 5th Ed. Academic Press, San Diego 2002, ISBN 1-55860-737-4
  • J. Hoschek, D. Lasser: Fundamentals of geometric data processing , Vieweg + Teubner Verlag, 1989, ISBN 978-3-519-02962-5
  • David Salomon: Curves and Surfaces for Computer Graphics . Springer Science + Business Media, Inc., 2006, ISBN 0-387-24196-5
  • Boaswan Dzung Wong: Bézier curves: drawn and calculated . Orell Füssli Verlag, Zurich 2003, ISBN 3-280-04021-3
  • Wolfgang Boehm, Gerald Farin, Jürgen Kahmann: A survey of curve and surface methods in CAGD , Comput. Aided Geom. Des. 1, pp. 1-60, 1984