FieldTrip-0.2: Functional 3DSource codeContentsIndex
Graphics.FieldTrip.Point2
Stabilityexperimental
Maintainerconal@conal.net, andygill@ku.edu
Description
Points in 3D
Synopsis
type Point2 = Vertex2
point2 :: s -> s -> Vertex2 s
origin2 :: Num s => Point2 s
point2Polar :: Floating s => s -> s -> Point2 s
point2PolarCoords :: (InnerSpace s s, Floating s) => Point2 s -> (s, s)
Documentation
type Point2 = Vertex2Source
Synonym for Vertex2, a 2D point, parameterized over coordinate type.
point2 :: s -> s -> Vertex2 sSource
Construct a 2D point in rectangular coordinates.
origin2 :: Num s => Point2 sSource
point2Polar :: Floating s => s -> s -> Point2 sSource
Vector from polar coordinates. See also vectorPolarCoords.
point2PolarCoords :: (InnerSpace s s, Floating s) => Point2 s -> (s, s)Source
Polar coordinates of a point. See also point2Polar.
Produced by Haddock version 2.3.0