FieldTrip-0.2.1: Functional 3DSource codeContentsIndex
Graphics.FieldTrip.Transform2
Stabilityexperimental
Maintainerconal@conal.net, andygill@ku.edu
Description
3D transforms
Synopsis
data Transform2 s
translate2 :: Num s => Vector2 s -> Transform2 s
rotate2 :: Num s => s -> Transform2 s
scale2 :: Num s => s -> s -> Transform2 s
uscale2 :: Num s => s -> Transform2 s
tweakMatrix2 :: (Floating s, MatrixComponent s) => Transform2 s -> IO ()
tweakError2 :: (Real s, Fractional s) => Transform2 s -> ErrorBound -> ErrorBound
toT3 :: Transform2 s -> Transform3 s
Documentation
data Transform2 s Source
3D affine transform
show/hide Instances
translate2 :: Num s => Vector2 s -> Transform2 sSource
Translation (motion) in 3D
rotate2 :: Num s => s -> Transform2 sSource
Rotation in 3D, with angle theta in radians.
scale2 :: Num s => s -> s -> Transform2 sSource
Scaling in 3D
uscale2 :: Num s => s -> Transform2 sSource
Uniform scale in 2D.
tweakMatrix2 :: (Floating s, MatrixComponent s) => Transform2 s -> IO ()Source
Change the matrix state, according to the given transform.
tweakError2 :: (Real s, Fractional s) => Transform2 s -> ErrorBound -> ErrorBoundSource
Change the required upper error bound, to one that applies before transforming. Hack for now.
toT3 :: Transform2 s -> Transform3 sSource
Produced by Haddock version 2.3.0