Given is a 2D are with the polygons. I need to find out the polygons visible in a perpendicular line of sight from the a given line segment lying within that area. e.g.

-
Further,
What can be the optimizations when the polygons have only vertical and horizontal edges.
I’d suggest the following …