Intersections
B. J. Korites · Apress eBooks · 2018
In this chapter, you will develop algorithms that will tell you where lines and planes intersect a variety of objects. The techniques you develop will be useful later when you remove hidden lines and trace shadows cast by objects. You will also learn how to show the intersection of lines and planes with a sphere. As you will see, there is no one magic algorithm that will satisfy all situations; each requires its own methodology. While you may never need some of these algorithms, such as a line intersecting a circular sector, the procedures, which rely on vector-based geometry, are interesting and should give you the tools you will need when you encounter different situations.