Safe Haskell | None |
---|---|

Language | Haskell2010 |

Rectangular areas of levels and their basic operations.

## Synopsis

- data Area
- toArea :: (X, Y, X, Y) -> Maybe Area
- fromArea :: Area -> (X, Y, X, Y)
- spanArea :: Area -> (Point, X, Y)
- trivialArea :: Point -> Area
- isTrivialArea :: Area -> Bool
- inside :: Area -> Point -> Bool
- shrink :: Area -> Maybe Area
- expand :: Area -> Area
- middlePoint :: Area -> Point
- areaInnerBorder :: Area -> [Point]
- sumAreas :: Area -> Area -> Area
- punindex :: X -> Int -> Point