GeomAlg-0.2.3: Library of geometric algorithms in HaskellSource codeContentsIndex
GeomAlg.Polar
Description
Polar coordinates. See http://en.wikipedia.org/wiki/Polar_coordinate_system.
Synopsis
data Polar = Polar {
len :: Double
angle :: Double
}
fromPolar :: Polar -> Point2 Double
toPolar :: Point2 Double -> Polar
leq :: Polar -> Polar -> Bool
leqInv :: Polar -> Polar -> Bool
geq :: Polar -> Polar -> Bool
geqInv :: Polar -> Polar -> Bool
equalAngle :: Polar -> Polar -> Bool
leqLength :: Polar -> Polar -> Bool
similiarAngle :: Double -> Polar -> Polar -> Bool
Documentation
data Polar Source
Constructors
Polar
len :: Double
angle :: Double
show/hide Instances
fromPolar :: Polar -> Point2 DoubleSource
toPolar :: Point2 Double -> PolarSource
leq :: Polar -> Polar -> BoolSource
leqInv :: Polar -> Polar -> BoolSource
Orderings
geq :: Polar -> Polar -> BoolSource
geqInv :: Polar -> Polar -> BoolSource
equalAngle :: Polar -> Polar -> BoolSource
leqLength :: Polar -> Polar -> BoolSource
similiarAngle :: Double -> Polar -> Polar -> BoolSource
Produced by Haddock version 2.4.2