Qth.Core.Point

Contents

Documentation

point :: Int -> Int -> Point #

pointF :: Double -> Double -> PointF #

pointq :: Point -> IO (QPoint ()) #

pointFq :: PointF -> IO (QPointF ()) #

pointQ :: QPoint () -> IO Point #

pointQF :: QPointF () -> IO PointF #

Orphan instances

Qhdf PointF Double # 
Instance details

Methods

(*~) :: PointF -> Double -> PointF #

(/~) :: PointF -> Double -> PointF #

(~*) :: Double -> PointF -> PointF #

(~/) :: Double -> PointF -> PointF #

Qhdf Point Double # 
Instance details

Methods

(*~) :: Point -> Double -> Point #

(/~) :: Point -> Double -> Point #

(~*) :: Double -> Point -> Point #

(~/) :: Double -> Point -> Point #

(Ord a, Num a) => Eq (IPoint a) # 
Instance details

Methods

(==) :: IPoint a -> IPoint a -> Bool

(/=) :: IPoint a -> IPoint a -> Bool

(Ord a, Num a) => Num (IPoint a) # 
Instance details

Methods

(+) :: IPoint a -> IPoint a -> IPoint a

(-) :: IPoint a -> IPoint a -> IPoint a

(*) :: IPoint a -> IPoint a -> IPoint a

negate :: IPoint a -> IPoint a

abs :: IPoint a -> IPoint a

signum :: IPoint a -> IPoint a

fromInteger :: Integer -> IPoint a

(Ord a, Num a) => Show (IPoint a) # 
Instance details

Methods

showsPrec :: Int -> IPoint a -> ShowS

show :: IPoint a -> String

showList :: [IPoint a] -> ShowS

QhisNull (IPoint a) # 
Instance details

Methods

isNull :: IPoint a -> Bool #

Qhxy (IPoint a) a # 
Instance details

Methods

x :: IPoint a -> a #

y :: IPoint a -> a #

setX :: IPoint a -> a -> IPoint a #

setY :: IPoint a -> a -> IPoint a #