Visibility Analysis provides an editor that computes visibility in geometric environments.
Michael Hemmer, Kan Huang, Francisc Bungiu, Ning Xu This package provides several variants to compute the visibility area of a point within polygonal regions in two dimensions.
https://doc.cgal.org/latest/Visibility_2/index.html
The code is released under the GNU Lesser General Public License (LGPL).