Graphics Reference
In-Depth Information
2.
Curve intersections (Sections 13.3.1, 13.3.3, 13.3.4)
(a) Implement a ray-curve intersection algorithm as described in Section 13.3.1. Let a user
define a world of curves and then specify various start points and rays interactively.
(b) Implement a polygonal curve intersection algorithm for two user-defined polygonal
curves. If they intersect, use an arrow to point at the intersection points.
(c) Implement a curve-curve intersection algorithm as described in either Section 13.3.3
or 13.3.4. Let the user define two planar B-spline curves and then say whether they
intersect or not. If so, use an arrow to point at the intersection points.
3.
Surface sections (Section 13.4.3)
Display the horizontal sections at a given level z = h, specified by the user, of all the sur-
faces in the world by drawing the intersection curves in some appropriate color.
4.
Surface intersections (Section 13.5.3)
Implement a surface-surface intersection algorithm. Let the user define two B-spline sur-
faces and then say whether they intersect or not. If so, draw the intersection curves in some
appropriate color.
Search WWH ::




Custom Search