¤ padd, psub, et al

Geometry, part 2

Types

padd :: Point -> Point -> Point
psub :: Point -> Point -> Point
inRect :: Point -> Rect -> Bool
=.> :: Point -> Point -> Bool
scale :: (RealFrac a, Integral c, Integral b) => a -> b -> c
scalePoint :: (RealFrac a) => a -> Point -> Point
rectMiddle :: Rect -> Point
posrect :: Rect -> Point -> Rect
moverect :: Rect -> Point -> Rect
sizerect :: Rect -> Size -> Rect
growrect :: Rect -> Point -> Rect
moveline :: Line -> Point -> Line
freedom :: Rect -> Rect -> Point
confine :: Rect -> Rect -> Rect
pmin :: Point -> Point -> Point
pmax :: Point -> Point -> Point
pMin :: [Point] -> Point
pMax :: [Point] -> Point
plim :: Point -> Point -> Point -> Point
rsub :: Rect -> Rect -> Point

Description

Various geometry support.

See Also

Point et al.

Bugs

Incomlete documentation.