diagrams-lib-1.3.0.6: Embedded domain-specific language for declarative graphics

Copyright(c) 2013 diagrams-lib team (see LICENSE)
LicenseBSD-style (see LICENSE)
Maintainerdiagrams-discuss@googlegroups.com
Safe HaskellNone
LanguageHaskell2010

Diagrams.ThreeD.Vector

Contents

Description

Three-dimensional vectors.

Synopsis

Special 3D vectors

unitX :: (R1 v, Additive v, Num n) => v n Source

The unit vector in the positive X direction.

unitY :: (R2 v, Additive v, Num n) => v n Source

The unit vector in the positive Y direction.

unitZ :: (R3 v, Additive v, Num n) => v n Source

The unit vector in the positive Y direction.

unit_X :: (R1 v, Additive v, Num n) => v n Source

The unit vector in the negative X direction.

unit_Y :: (R2 v, Additive v, Num n) => v n Source

The unit vector in the negative Y direction.

unit_Z :: (R3 v, Additive v, Num n) => v n Source

The unit vector in the negative X direction.

xDir :: (R1 v, Additive v, Num n) => Direction v n Source

A Direction pointing in the X direction.

yDir :: (R2 v, Additive v, Num n) => Direction v n Source

A Direction pointing in the Y direction.

zDir :: (R3 v, Additive v, Num n) => Direction v n Source

A Direction pointing in the Z direction.