Portability | not portable |
---|---|
Stability | experimental |
Maintainer | Birte Wagner, Sebastian Philipp (sebastian@spawnhost.de) |
Safe Haskell | Safe-Inferred |
This module provides a minimal bounding box.
Documentation
Minimal bounding box
:: Double | x - coordinate of first point |
-> Double | y - coordinate of first point |
-> Double | x - coordinate of second point |
-> Double | x - coordinate of second point |
-> MBB |
created a minimal bounding box (or a rectangle) The first point must be smaller, than the second one. This is unchecked.
containsMBB :: MBB -> MBB -> BoolSource
returns True, when the first mbb contains the secons