Safe Haskell  Safe 

Language  Haskell98 
A module with types to use in a 3D system, and various helper functions. Several more functions are available for use in the Data.SG.Geometry module.
Documentation
A point in 3D space.
Point3 (a, a, a) 
Functor Point3' Source #  
Applicative Point3' Source #  
Foldable Point3' Source #  
Traversable Point3' Source #  
VectorNum Point3' Source #  
Coord3 Point3' Source #  
Coord2 Point3' Source #  
Coord Point3' Source #  
IsomorphicVectors Triple Point3' Source #  
IsomorphicVectors Rel3' Point3' Source #  
IsomorphicVectors Point3' Triple Source #  
IsomorphicVectors Point3' Rel3' Source #  
Geometry Rel3' Point3' Line3' Source #  
Eq a => Eq (Point3' a) Source #  
Ord a => Ord (Point3' a) Source #  
Read a => Read (Point3' a) Source #  
Show a => Show (Point3' a) Source #  
A relative vector (free vector) in 3D space. The triple is the x, y, z components,
and the last item is the squared magnitude of the vector, which is stored
with it to speed up various operations. It is suggested you use makeRel3
to create one of these, unless the magnitude is easily apparent, e.g. Rel3
(0, 1, 1) 2
Rel3 (a, a, a) a 
Foldable Rel3' Source #  
VectorNum Rel3' Source #  
Coord3 Rel3' Source #  
Coord2 Rel3' Source #  
Coord Rel3' Source #  
IsomorphicVectors Triple Rel3' Source #  
IsomorphicVectors Rel3' Triple Source #  
IsomorphicVectors Rel3' Point3' Source #  
IsomorphicVectors Point3' Rel3' Source #  
Geometry Rel3' Point3' Line3' Source #  
Eq a => Eq (Rel3' a) Source #  
(Show a, Eq a, Num a) => Num (Rel3' a) Source #  
Ord a => Ord (Rel3' a) Source #  
Read a => Read (Rel3' a) Source #  
Show a => Show (Rel3' a) Source #  
A line in 3D space. A line is a point and a free vector indicating direction. A line may be treated by a function as either finite (taking the magnitude of the free vector as the length) or infinite (ignoring the magnitude of the direction vector).
Line3  
