Continuity of the Bezier Curve, Question

In summary, the conversation discusses the continuity and smoothness of a cubic Bezier curve, specifically when joining two curves together. The question is whether it is possible for the points A2, A3 = B2, and B1 to not be collinear and for A3 = B2 to not be the midpoint of A2 and B1. The answer is that the points must be collinear, but they do not need to have the same length. The A+B curve is a 7th degree of the Bernstein polynomial, and the curve is continuous but not smooth due to A3 = B0 not coinciding.
  • #1
mymachine
42
0
Hi everyone,

I would like to ask about the continuity of the cubic Bezier curve.

There are two cubic Bezier curves, A and B, shown as below two images:

image.png

image.png


The coordinates of the A curve are:

A0 = (x0,y0) = (0,0)
A1 = (x1,y1) = (2,3)
A2 = (x2,Y2) = (5,4)
A3 = (x3,y3) = (7,0)

The coordinates of the B curve are:

B0 = (x0,y0) = (0,4)
B1 = (x1,y1) = (3,1)
B2 = (x2,y2) = (7,0)
B3 = (x3,y3) = (9,8)

If I join these two curves together by connecting the point A3 and B0, it looks such as below image:

A_B.png


However, the curve doesn't looks smooth at point A3 = B0.

The question is, what is the equation of the Bezier curve start from
point A0 > A1 > A2 > A3=B0 > B1 > B2 > B3
where the endpoint is A0, A3 = B0, and B3
and so that the curve is continue and looks smooth?

Also, does this A+B curve is 7th degree of the Bernstein polynomial?

Thank you
 
Mathematics news on Phys.org
  • #2
Is it possible if

A2, A3 = B2, and B1

are not colinear

and

A3 = B2

is not the midpoint of A2 and B1?
 
  • #3
Hi, mymachine,
yes (more or less): the points A2, A3 = B0, and B1 should be collinear. This is because the curve "A" is tangent at A3 to the straight segment A2-A3, and the curve "B" is tangent at B0 to the segment B0-B1. If these two slopes on the curves are to be the same, the segments A2-A3 and B0-B1 must have the same slope too. And since A3=B0, this puts these points on the same straight line.

The two segments A2-A3 and B0-B1 do not need to have the same length (that is, A3 = B0 does not need to be a midpoint of A2-B1).

Your last question, I couldn't understand. The Bernstein polynomials that constitute both the "A" and "B" curves are 3rd-degree polynomials (which is why these are called "cubic" Béziers).

(Just as a side comment, mathematicians use the word "continuity" to refer to the fact that, in your example, A3 = B0; that is, that you didn't need to lift the "pencil" to continue drawing, that the curve does not have a "hole" because of A3 and B0 not coinciding.) Your curve, as described, is continuous; it's just not smooth.

Hope this helps!
 
Last edited:

1. What is a Bezier curve?

A Bezier curve is a mathematical curve that is commonly used in computer graphics and design. It is defined by a series of control points that determine the shape and direction of the curve.

2. What is the purpose of a Bezier curve?

Bezier curves are used to create smooth and visually appealing curves in computer graphics and design. They are commonly used in vector graphics software to create curves in shapes and fonts.

3. How is the continuity of a Bezier curve defined?

The continuity of a Bezier curve refers to how smoothly the curve transitions from one segment to another. It is determined by the degree of the curve and the position of the control points.

4. What are the different types of continuity in a Bezier curve?

There are three types of continuity in a Bezier curve: C0, C1, and C2. C0 continuity means that the curve is continuous but may have a sharp corner or angle at the control points. C1 continuity means that the curve is smooth and continuous, with no sharp corners or angles. C2 continuity is the highest level of continuity, with the curve being not only smooth and continuous, but also having a smooth curvature at the control points.

5. How is the continuity of a Bezier curve achieved?

The continuity of a Bezier curve is achieved by positioning the control points in a specific way. For C0 continuity, the control points must be aligned with the curve at the point of connection. For C1 continuity, the control points must be positioned on the same tangent line at the point of connection. For C2 continuity, the control points must be positioned on the same curvature at the point of connection.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
5
Views
2K
  • Linear and Abstract Algebra
Replies
5
Views
2K
  • General Math
Replies
4
Views
2K
  • Linear and Abstract Algebra
Replies
4
Views
1K
  • General Math
Replies
11
Views
12K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Electrical Engineering
Replies
2
Views
26K
  • Differential Geometry
Replies
1
Views
2K
Back
Top