Yampa-0.12: Library for programming hybrid systems.

Copyright(c) Antony Courtney and Henrik Nilsson Yale University 2003
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainernilsson@cs.yale.edu
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe
LanguageHaskell98

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 details

Defined in FRP.Yampa.Point3

Methods

(==) :: Point3 a -> Point3 a -> Bool #

(/=) :: Point3 a -> Point3 a -> Bool #

Show a => Show (Point3 a) Source # 
Instance details

Defined in FRP.Yampa.Point3

Methods

showsPrec :: Int -> Point3 a -> ShowS #

show :: Point3 a -> String #

showList :: [Point3 a] -> ShowS #

RealFloat a => Forceable (Point3 a) Source # 
Instance details

Defined in FRP.Yampa.Point3

Methods

force :: Point3 a -> Point3 a Source #

RealFloat a => AffineSpace (Point3 a) (Vector3 a) a Source # 
Instance details

Defined in FRP.Yampa.Point3

Methods

origin :: Point3 a Source #

(.+^) :: 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.