Ps 3
Ps 3
Ps 3
13.472J/1.128J/2.158J/16.940J
Computational Geometry
Spring Term, 2003
Problem Set 3 on Blends, GCs and Intersections
Issued: Day 12
Due: Day 16
Weight: 20% of total grade
Individual Effort
a. As a first effort, consider using a quadratic Bezier curve (i.e. a parabola) as a blend cross-section.
The curve should have the starting and ending points indicated on the diagram, and to ensure a
smooth blend, the tangent to the curve at the start (end) point should have the same direction
as the tangent to the cylinder (plane). Give the control points of this curve.
b. Using the results of part a, express the blending surface (i.e. the surface of revolution charac-
terized by the cross section obtained in a) as rational B-spline (NURBS) surface.
c. Now suppose we want a cubic Bezier curve as the cross-section of our blending surface. Give
the control points of a cubic Bezier curve which generates a “good” blend. To be “good”, the
curve not only has to satisfy the boundary conditions indicated in part a, but also the area
under the curve on one side of the cylinder should be between 0.2 and 0.3.
d. Now suppose we want to maintain curvature continuity at the blending surface linkage curves in
addition to position and tangent plane continuity. Determine a sufficiently high degree Bezier
curve cross section to accomplish this. Among the possible options, choose the curve with the
minimum degree possible to accomplish the above.
1
Z
2 1 0 1 2 X
Figure 1: Blends
a. Give the implicit polynomial equation of a torus whose section circle has radius 2, and whose
center circle has radius 4. Assume the torus is situated so that it is centered at the origin and
the center circle lies on the (x, y)-plane.
b. Using the implicit equation in a, compute all intersections of the torus with the cubic Bézier
curve having control points r0 = (0, 6, 0), r1 = (−5, 2, −0.5), r2 = (2, −3, 0.5), r3 = (6, 0, 0).
Give both the Cartesian coordinates of the intersection points and their associated parameter
values on the Bézier curve. Indicate which method you used to solve this problem, and give all
answers to at least 5 significant digits.
(You may use Maple or another symbolic manipulation program to do the substitution and
solution.)
and
b. A (parametric) planar Bézier curve (in the same u − v plane as the above implicit curve)
3
r(t) = [u(t), v(t)] = ri Bi,3 (t)
i=0
where Bi,3 denotes the ith cubic Bernstein polynomial and r0 = (0.5, 0.5), r1 = (0.7, 0.6), r2 =
(0.95, 0.1), r3 = (0.55, 0.25).
2
a. Compute all turning and singular points of f (u, v) to the highest possible accuracy, as well as
the tangent lines at all these points.
b. Using the results of a as a guide, sketch f (u, v). Clearly indicate the turning and singular points
on your sketch.
c. Using the results of a and an ODE solver (eg. from Matlab) construct an accurate polygonal
approximation of f (u, v) = 0 that exactly interpolates the points found in a, plot the results,
and provide the corresponding polygonal curve vertices in a file (send to the TA) and a printout.
You may use the ODE system resulting from df = fu du + fv dv = 0, i.e. u̇ = −fv , v˙ = fu .
d. Compute the intersections of the two curves given above to the highest possible accuracy. In ad-
dition to giving the Cartesian coordinates of the intersection points, also include the parameter
values of the points on the Bézier curve and their multiplicity.
(You may use Maple or another symbolic manipulation program to do the substitution and
solution.)