The cubic Bezier curve can be given in matrix form as P ( u ) = ( u

polivijuye

polivijuye

Answered question

2022-06-15

The cubic Bezier curve can be given in matrix form as
P ( u ) = ( u 3   u 2   u u   1 ) ( 1 3 3 1 3 6 3 0 3 3 0 0 1 0 0 0 ) ( P 0 P 1 P 3 P 4 )
If a cubic Bezier curve is rotated by an angle 30 around x-axis what is the parametric function of the new Bezier curve?

Answer & Explanation

Judovh0

Judovh0

Beginner2022-06-16Added 16 answers

Step 1
It seems that you are starting with the curve parameterized by
c ( t ) = ( t P ( t ) )
In order to rotate a parameterized curve about the origin, apply the rotation matrix. That is, we multiply c(t) on the left by the matrix
R 30 = ( cos ( 30 ) sin ( 30 ) sin ( 30 ) cos ( 30 ) ) = 1 2 ( 3 1 1 3 )
Brunton39

Brunton39

Beginner2022-06-17Added 8 answers

Step 1
To get the parametric equation of the rotated curve, you just use the rotated control points. So, you rotate the original four control points using the rotation matrix given by omnomnomnom, to get four new control points. Plugging these four rotated control points into your matrix equation will give the equation of the rotated curve.
If this is a homework question, I suspect that it's meant to illustrate this idea - to rotate a Bezier curve (or transform it using any affine transformation), you simply have to apply this transformation to the control points. This is a very nice property of Bezier curves.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?