/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q6E Question: 6. A B-spline is built... [FREE SOLUTION] | 91影视

91影视

Question: 6. A B-spline is built out of B-spline segments, described in Exercise 2. Let \({{\bf{p}}_{\bf{o}}}........{{\bf{p}}_{\bf{4}}}\)be control points. For \(0 \le t \le 1\), let \({\bf{x}}\left( t \right)\) and \({\bf{y}}\left( t \right)\)be determined by the geometry matrices \(\left( {{{\bf{p}}_{\bf{o}}}\,{{\bf{p}}_{\bf{1}}}\,{{\bf{p}}_{\bf{2}}}\,{{\bf{p}}_{\bf{3}}}} \right)\)and \(\left( {\,{{\bf{p}}_{\bf{1}}}\,\,{{\bf{p}}_{\bf{2}}}\,\,{{\bf{p}}_{\bf{3}}}\,{{\bf{p}}_{\bf{4}}}} \right)\)respectively. Notice how the two segments share three control points. The two segments do not overlap, however鈥攖hey join at a common endpoint, close to \({{\bf{p}}_2}\) .

a. Show that the combined curve has \({G_0}\) continuity鈥攖hat is,\({\bf{x}}\left( 1 \right) = {\bf{y}}\left( 0 \right)\).

b. Show that the curve has \({C^1}\) continuity at the join point, \({\bf{x}}\left( 1 \right)\). That is, show that \({\bf{x}}'\left( 1 \right) = {\bf{y}}'\left( 0 \right)\).

Short Answer

Expert verified

a) Both \({\bf{x}}\left( 1 \right) = {\bf{y}}\left( 0 \right) = \left( {{{\bf{p}}_1} + 4{{\bf{p}}_2} + {{\bf{p}}_3}} \right)/6\).

b) It is shown that the B-spline is \({C^1}\) continuous at mid-point.

Step by step solution

01

Step 1:Use the parametric form of the B-spline curve with control points\(\left\{ {{{\bf{p}}_{\bf{0}}}{\bf{,}}{{\bf{p}}_{\bf{1}}}{\bf{,}}{{\bf{p}}_{\bf{2}}}{\bf{,}}{{\bf{p}}_{\bf{3}}}} \right\}\)

The parametric vector form of a B-spline curve is defined as \({\bf{x}}\left( t \right) = \frac{1}{6}\left( {{{\left( {1 - t} \right)}^3}{{\bf{p}}_o} + \left( {3t\left( {1 - {t^2}} \right) - 3t + 4} \right){{\bf{p}}_1} + \left( {3{t^2}\left( {1 - t} \right) + 3t + 1} \right){{\bf{p}}_2} + {t^3}{{\bf{p}}_3}} \right)\) for \(0 \le t \le 1\).

02

Step 2:Find the value \(x\left( 0 \right)\) and \(x\left( 1 \right)\)

As \({\bf{x}}\left( t \right) = \frac{1}{6}\left( {{{\left( {1 - t} \right)}^3}{{\bf{p}}_o} + \left( {3t\left( {1 - {t^2}} \right) - 3t + 4} \right){{\bf{p}}_1} + \left( {3{t^2}\left( {1 - t} \right) + 3t + 1} \right){{\bf{p}}_2} + {t^3}{{\bf{p}}_3}} \right)\).

So, \({\bf{x}}\left( 0 \right) = \left( {{{\bf{p}}_0} + 4{{\bf{p}}_1} + {{\bf{p}}_2}} \right)/6\)and \({\bf{x}}\left( 1 \right) = \left( {{{\bf{p}}_1} + 4{{\bf{p}}_2} + {{\bf{p}}_3}} \right)/6\).

03

Use \({\bf{x}}\left( 0 \right)\) to find \({\bf{y}}\left( 0 \right)\) in accordance with its control points \(\left\{ {{{\bf{p}}_{\bf{1}}}{\bf{,}}{{\bf{p}}_{\bf{2}}}{\bf{,}}{{\bf{p}}_{\bf{3}}}{\bf{,}}{{\bf{p}}_{\bf{4}}}} \right\}\)

Replace \({{\bf{p}}_0}\) by \({{\bf{p}}_1}\), \({{\bf{p}}_1}\) by \({{\bf{p}}_2}\), and \({{\bf{p}}_2}\) by \({{\bf{p}}_3}\).

So, \({\bf{y}}\left( 0 \right) = \left( {{{\bf{p}}_1} + 4{{\bf{p}}_2} + {{\bf{p}}_3}} \right)/6\).

04

Draw a conclusion

Both \({\bf{x}}\left( 1 \right) = {\bf{y}}\left( 0 \right) = \left( {{{\bf{p}}_1} + 4{{\bf{p}}_2} + {{\bf{p}}_3}} \right)/6\). This implies that B-spline is \({G^o}\) continuous at mid-point, as stated in part (a).

05

use the result of exercise 4 part (a)

If \({\bf{x'}}\left( 1 \right) = \left( {{{\bf{p}}_3} - {{\bf{p}}_1}} \right)/2\)and \({\bf{x'}}\left( 0 \right) = \left( {{{\bf{p}}_2} - {{\bf{p}}_0}} \right)/2\), then \({\bf{y'}}\left( 0 \right) = {\bf{x'}}\left( 1 \right) = \left( {{{\bf{p}}_3} - {{\bf{p}}_1}} \right)/2\).

This concludes that B-spline is \({C^1}\) continuous at mid-point, as stated in part (b).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91影视!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: Let \({\bf{p}} = \left( {\begin{array}{*{20}{c}}{\bf{1}}\\{ - {\bf{3}}}\\{\bf{1}}\\{\bf{2}}\end{array}} \right)\), \({\bf{n}} = \left( {\begin{array}{*{20}{c}}{\bf{2}}\\{\bf{1}}\\{\bf{5}}\\{ - {\bf{1}}}\end{array}} \right)\), \({{\bf{v}}_{\bf{1}}} = \left( {\begin{array}{*{20}{c}}{\bf{0}}\\{\bf{1}}\\{\bf{1}}\\{\bf{1}}\end{array}} \right)\), \({{\bf{v}}_{\bf{2}}} = \left( {\begin{array}{*{20}{c}}{ - {\bf{2}}}\\{\bf{0}}\\{\bf{1}}\\{\bf{3}}\end{array}} \right)\), and \({{\bf{v}}_{\bf{3}}} = \left( {\begin{array}{*{20}{c}}{\bf{1}}\\{\bf{4}}\\{\bf{0}}\\{\bf{4}}\end{array}} \right)\), and let H be the hyperplane in\({\mathbb{R}^{\bf{4}}}\) with normal n and passing through p. Which of the points \({{\bf{v}}_{\bf{1}}}\), \({{\bf{v}}_{\bf{2}}}\), and \({{\bf{v}}_{\bf{3}}}\) are on the same side of H as the origin, and which are not?

In Exercises 21鈥24, a, b, and c are noncollinear points in\({\mathbb{R}^{\bf{2}}}\)and p is any other point in\({\mathbb{R}^{\bf{2}}}\). Let\(\Delta {\bf{abc}}\)denote the closed triangular region determined by a, b, and c, and let\(\Delta {\bf{pbc}}\)be the region determined by p, b, and c. For convenience, assume that a, b, and c are arranged so that\(\left[ {\begin{array}{*{20}{c}}{\overrightarrow {\bf{a}} }&{\overrightarrow {\bf{b}} }&{\overrightarrow {\bf{c}} }\end{array}} \right]\)is positive, where\(\overrightarrow {\bf{a}} \),\(\overrightarrow {\bf{b}} \)and\(\overrightarrow {\bf{c}} \)are the standard homogeneous forms for the points.

24. Take q on the line segment from b to c and consider the line through q and a, which may be written as\(p = \left( {1 - x} \right)q + xa\)for all real x. Show that, for each x,\(det\left[ {\begin{array}{*{20}{c}}{\widetilde p}&{\widetilde b}&{\widetilde c}\end{array}} \right] = x \cdot det\left[ {\begin{array}{*{20}{c}}{\widetilde a}&{\widetilde b}&{\widetilde c}\end{array}} \right]\). From this and earlier work, conclude that the parameter x is the first barycentric coordinate of p. However, by construction, the parameter x also determines the relative distance between p and q along the segment from q to a. (When x = 1, p = a.) When this fact is applied to Example 5, it shows that the colors at vertex a and the point q are smoothly interpolated as p moves along the line between a and q.

Question: In Exercise 7, let Hbe the hyperplane through the listed points. (a) Find a vector n that is normal to the hyperplane. (b) Find a linear functional f and a real number d such that \(H = \left( {f:d} \right)\).

7. \(\left( {\begin{array}{*{20}{c}}{\bf{1}}\\{\bf{1}}\\{\bf{3}}\end{array}} \right),\left( {\begin{array}{*{20}{c}}{\bf{2}}\\{\bf{4}}\\{\bf{1}}\end{array}} \right),\left( {\begin{array}{*{20}{c}}{ - {\bf{1}}}\\{ - {\bf{2}}}\\{\bf{5}}\end{array}} \right)\)

In Exercises 13-15 concern the subdivision of a Bezier curve shown in Figure 7. Let \({\mathop{\rm x}\nolimits} \left( t \right)\) be the Bezier curve, with control points \({{\mathop{\rm p}\nolimits} _0},...,{{\mathop{\rm p}\nolimits} _3}\), and let \({\mathop{\rm y}\nolimits} \left( t \right)\) and \({\mathop{\rm z}\nolimits} \left( t \right)\) be the subdividing Bezier curves as in the text, with control points \({{\mathop{\rm q}\nolimits} _0},...,{{\mathop{\rm q}\nolimits} _3}\) and \({{\mathop{\rm r}\nolimits} _0},...,{{\mathop{\rm r}\nolimits} _3}\), respectively.

15. Sometimes only one-half of a Bezier curve needs further subdividing. For example, subdivision of the 鈥渓eft鈥 side is accomplished with parts (a) and (c) of Exercise 13 and equation (8). When both halves of the curve \({\mathop{\rm x}\nolimits} \left( t \right)\) are divided, it is possible to organize calculations efficiently to calculate both left and right control points concurrently, without using equation (8) directly.

a. Show that the tangent vector \(y'\left( 1 \right)\) and \(z'\left( 0 \right)\) are equal.

b. Use part (a) to show that \({{\mathop{\rm q}\nolimits} _3}\) (which equals \({{\mathop{\rm r}\nolimits} _0}\)) is the midpoint of the segment from \({{\mathop{\rm q}\nolimits} _2}\) to \({{\mathop{\rm r}\nolimits} _1}\).

c. Using part (b) and the results of Exercises 13 and 14, write an algorithm that computes the control points for both \({\mathop{\rm y}\nolimits} \left( t \right)\) and \({\mathop{\rm z}\nolimits} \left( t \right)\) in an efficient manner. The only operations needed are sums and division by 2.

Question: In Exercises 15-20, write a formula for a linear functional f and specify a number d, so that \(\left) {f:d} \right)\) the hyperplane H described in the exercise.

Let H be the plane in \({\mathbb{R}^{\bf{3}}}\) spanned by the rows of \(B = \left( {\begin{array}{*{20}{c}}{\bf{1}}&{\bf{4}}&{ - {\bf{5}}}\\{\bf{0}}&{ - {\bf{2}}}&{\bf{8}}\end{array}} \right)\). That is, \(H = {\bf{Row}}\,B\).

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.