polygons question



suppose there are lots of polygons, z-ordered. how do you find if
particular polygon is visible?

that is, how do you check that an edge (line segment) lies within an
area covered by several polygons?

I was thinking about "collapsing" all foregound polygons into one union
shape, then you could just check one vertex and intersections with its
edges; but 1 how do I find union 2 is there better way?

.



Relevant Pages