visibility-0.1.0.0: Simple computation of visibility polygons.

Safe HaskellSafe
LanguageHaskell2010

Data.Geometry.Visibility

Synopsis

Documentation

visibilityPolygon :: Point -> Polygon -> SimplePolygon Source

Given a Point and a Polygon (possibly with holes), returns a SimplePolygon describing the area visible from the Point inside of the Polygon. O(n log n) where n is the number of points.