boundingboxes-0.1: The type for 2D bounding box

Copyright(C) 2014 Fumiaki Kinoshita
LicenseBSD-style (see the file LICENSE)
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Stabilityprovisional
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.BoundingBox.Dim2

Description

The type and accessors for 2D bounding boxes

Synopsis

Documentation

_TLBR :: Iso' (BoundingBox a) (V2 a, V2 a) Source

fst----+
 |     |
 +----snd

_BLTR :: Iso' (BoundingBox a) (V2 a, V2 a) Source

 +----snd
 |     |
fst----+

data Reference Source

The type of reference points. TL--T--TR | | L C R | | BL--B--BR

Constructors

TL 
T 
TR 
L 
C 
R 
BL 
B 
BR