Question: 1. In practice, testing each point in a polygon to determine whether it is inside or outside the polygon is extremely inefficient. Describe the general

1. In practice, testing each point in a polygon to determine whether it is inside or outside the polygon is extremely inefficient. Describe the general strategies that you might pursue to avoid point-by-point testing.

2. Devise a test to determine whether a two-dimensional polygon is simple.

3. In Section 2.4, we saw that in computer graphics we can specify polygons using lists of vertices.Why might it be better to define polygons by their edges? Hint: Consider how you might represent a mesh efficiently.

4. Devise a test for the convexity of a two-dimensional polygon.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!