title: Visibility of polygons from an edge
body: <p>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.</p>
  <p><img src="https://i.stack.imgur.com/8ajfS.png" alt="A sample example of the problem" /></p>
  <ul>
  <li><p>Further,</p>
  <p>What can be the optimizations when the polygons have only vertical and horizontal edges.</p>
  </li>
  </ul>