Cartesian-0.1.0.0: Coordinate systems

LicenseMIT
MaintainerJonatan H Sundqvist
Stabilityexperimental|stable
PortabilityPOSIX (not sure)
Safe HaskellNone
LanguageHaskell2010

Cartesian.Plane.BoundingBox

Description

 

Synopsis

Documentation

fromCorners :: RealFloat f => Complex f -> Complex f -> BoundingBox f Source

TODO: Better name (?) TODO: Don't make assumptions about WHICH corners they are (✓)

fromCornerAndSize :: RealFloat f => Complex f -> Complex f -> BoundingBox f Source

Creates a bounding box from a topleft and size vector.

fromSides :: RealFloat f => f -> f -> f -> f -> BoundingBox f Source

Top Left Bottom Right