-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | The type for 2D bounding box -- @package boundingboxes @version 0.1 -- | The type and accessors for 2D bounding boxes module Data.BoundingBox.Dim2 data BoundingBox a BoundingBox :: a -> a -> a -> a -> BoundingBox a -- |
--   fst----+
--    |     |
--    +----snd
--   
_TLBR :: Iso' (BoundingBox a) (V2 a, V2 a) -- |
--    +----snd
--    |     |
--   fst----+
--   
_BLTR :: Iso' (BoundingBox a) (V2 a, V2 a) -- | The type of reference points. TL--T--TR | | L C R | | BL--B--BR -- data Reference TL :: Reference T :: Reference TR :: Reference L :: Reference C :: Reference R :: Reference BL :: Reference B :: Reference BR :: Reference position :: Fractional a => Reference -> Lens' (BoundingBox a) (V2 a) size :: Fractional a => Reference -> Lens' (BoundingBox a) (V2 a) instance Typeable BoundingBox instance Show a => Show (BoundingBox a) instance Eq a => Eq (BoundingBox a) instance Ord a => Ord (BoundingBox a) instance Functor BoundingBox instance Foldable BoundingBox instance Traversable BoundingBox instance Read a => Read (BoundingBox a) instance Show Reference instance Eq Reference instance Ord Reference instance Read Reference