Yampa-0.12: Library for programming hybrid systems.

Copyright (c) Antony Courtney and Henrik Nilsson Yale University 2003 BSD-style (see the LICENSE file in the distribution) nilsson@cs.yale.edu provisional non-portable (GHC extensions) Safe Haskell98

FRP.Yampa.Point3

Description

3D point abstraction (R^3).

Synopsis

# Documentation

data Point3 a Source #

3D point.

Constructors

 RealFloat a => Point3 !a !a !a
Instances
 Eq a => Eq (Point3 a) Source # Instance detailsDefined in FRP.Yampa.Point3 Methods(==) :: Point3 a -> Point3 a -> Bool #(/=) :: Point3 a -> Point3 a -> Bool # Show a => Show (Point3 a) Source # Instance detailsDefined in FRP.Yampa.Point3 MethodsshowsPrec :: Int -> Point3 a -> ShowS #show :: Point3 a -> String #showList :: [Point3 a] -> ShowS # RealFloat a => Forceable (Point3 a) Source # Instance detailsDefined in FRP.Yampa.Point3 Methodsforce :: Point3 a -> Point3 a Source # RealFloat a => AffineSpace (Point3 a) (Vector3 a) a Source # Instance detailsDefined in FRP.Yampa.Point3 Methods(.+^) :: Point3 a -> Vector3 a -> Point3 a Source #(.-^) :: Point3 a -> Vector3 a -> Point3 a Source #(.-.) :: Point3 a -> Point3 a -> Vector3 a Source #distance :: Point3 a -> Point3 a -> a Source #

point3X :: RealFloat a => Point3 a -> a Source #

X coodinate of a 3D point.

point3Y :: RealFloat a => Point3 a -> a Source #

Y coodinate of a 3D point.

point3Z :: RealFloat a => Point3 a -> a Source #

Z coodinate of a 3D point.