Suppose we apply the Graham scan algorithm (twice) to find the upper and lower hulls of a set of five points in the plane, with no two of the points having the same
Suppose that we are given two points
Describe how to test this, using the dot products of three triples of numbers: the triples
Suppose we apply the same test to a different set of three triples of numbers. We replace the coordinates of the two points by the triples
In the plane sweep algorithm for listing all crossings, we made the simplifying “general position” assumption that at most two line segments cross at any point. Suppose that exactly three line segments cross at some point during the algorithm. How would the vertical ordering of the segments change at that crossing?
Form a triangle from three points (not all in a line) by connecting them with three line segments.
How many objects of each of the three types (half-edge, vertex, and face) are there in a doubly-connected edge list that represents the arrangement of these three line segments?
Label these objects by letters and draw the triangle with your labels placed on it to show which label goes with which object.
Use these labels to describe, for each half-edge, the five pointers stored by that half-edge. For instance, if half-edge