Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TVec3 Class Reference

#include <Vec3.h>

List of all members.

Public Members

 TVec3 ()
 TVec3 (TVReal x, TVReal y, TVReal z)
 TVec3 (const TVec3 &v)
 TVec3 (const TVec2 &v, TVReal w)
 TVec3 (ZeroOrOne k)
 TVec3 (Axis a)
Int Elts () const
TVReal& operator[] (Int i)
const TVReal& operator[] (Int i) const
TVReal* Ref () const
TVec3& operator= (const TVec3 &a)
TVec3& operator= (ZeroOrOne k)
TVec3& operator+= (const TVec3 &a)
TVec3& operator-= (const TVec3 &a)
TVec3& operator *= (const TVec3 &a)
TVec3& operator *= (TVReal s)
TVec3& operator/= (const TVec3 &a)
TVec3& operator/= (TVReal s)
Bool operator== (const TVec3 &a) const
Bool operator!= (const TVec3 &a) const
Bool operator< (const TVec3 &a) const
Bool operator>= (const TVec3 &a) const
TVec3 operator+ (const TVec3 &a) const
TVec3 operator- (const TVec3 &a) const
TVec3 operator- () const
TVec3 operator * (const TVec3 &a) const
TVec3 operator * (TVReal s) const
TVec3 operator/ (const TVec3 &a) const
TVec3 operator/ (TVReal s) const
TVec3& MakeZero ()
TVec3& MakeUnit (Int i, TVReal k = vl_one)
TVec3& MakeBlock (TVReal k = vl_one)
TVec3& Normalise ()

Protected Members

TVReal elt [3]


Detailed Description

Definition at line 23 of file Vec3.h.


Constructor & Destructor Documentation

TVec3::TVec3 () [inline]

Definition at line 121 of file Vec3.h.

TVec3::TVec3 (TVReal x, TVReal y, TVReal z) [inline]

Definition at line 125 of file Vec3.h.

TVec3::TVec3 (const TVec3 & v) [inline]

Definition at line 132 of file Vec3.h.

TVec3::TVec3 (const TVec2 & v, TVReal w) [inline]

Definition at line 139 of file Vec3.h.

TVec3::TVec3 (ZeroOrOne k) [inline]

Definition at line 329 of file Vec3.h.

TVec3::TVec3 (Axis a) [inline]

Definition at line 341 of file Vec3.h.


Member Function Documentation

Int TVec3::Elts () const [inline]

Definition at line 38 of file Vec3.h.

TVec3 & TVec3::MakeBlock (TVReal k = vl_one) [inline]

Definition at line 315 of file Vec3.h.

TVec3 & TVec3::MakeUnit (Int n, TVReal k = vl_one) [inline]

Definition at line 296 of file Vec3.h.

TVec3 & TVec3::MakeZero () [inline]

Definition at line 309 of file Vec3.h.

TVec3 & TVec3::Normalise () [inline]

Definition at line 321 of file Vec3.h.

TVReal * TVec3::Ref () const [inline]

Definition at line 146 of file Vec3.h.

TVec3 TVec3::operator * (TVReal s) const [inline]

Definition at line 258 of file Vec3.h.

TVec3 TVec3::operator * (const TVec3 & a) const [inline]

Definition at line 247 of file Vec3.h.

TVec3 & TVec3::operator *= (TVReal s) [inline]

Definition at line 187 of file Vec3.h.

TVec3 & TVec3::operator *= (const TVec3 & a) [inline]

Definition at line 178 of file Vec3.h.

Bool TVec3::operator!= (const TVec3 & a) const [inline]

Definition at line 352 of file Vec3.h.

TVec3 TVec3::operator+ (const TVec3 & a) const [inline]

Definition at line 214 of file Vec3.h.

TVec3 & TVec3::operator+= (const TVec3 & v) [inline]

Definition at line 160 of file Vec3.h.

TVec3 TVec3::operator- () const [inline]

Definition at line 236 of file Vec3.h.

TVec3 TVec3::operator- (const TVec3 & a) const [inline]

Definition at line 225 of file Vec3.h.

TVec3 & TVec3::operator-= (const TVec3 & v) [inline]

Definition at line 169 of file Vec3.h.

TVec3 TVec3::operator/ (TVReal s) const [inline]

Definition at line 280 of file Vec3.h.

TVec3 TVec3::operator/ (const TVec3 & a) const [inline]

Definition at line 269 of file Vec3.h.

TVec3 & TVec3::operator/= (TVReal s) [inline]

Definition at line 205 of file Vec3.h.

TVec3 & TVec3::operator/= (const TVec3 & a) [inline]

Definition at line 196 of file Vec3.h.

Bool TVec3::operator< (const TVec3 & a) const [inline]

Definition at line 357 of file Vec3.h.

TVec3 & TVec3::operator= (ZeroOrOne k) [inline]

Definition at line 334 of file Vec3.h.

TVec3 & TVec3::operator= (const TVec3 & v) [inline]

Definition at line 151 of file Vec3.h.

Bool TVec3::operator== (const TVec3 & a) const [inline]

Definition at line 347 of file Vec3.h.

Bool TVec3::operator>= (const TVec3 & a) const [inline]

Definition at line 362 of file Vec3.h.

const TVReal & TVec3::operator[] (Int i) const [inline]

Definition at line 115 of file Vec3.h.

TVReal & TVec3::operator[] (Int i) [inline]

Definition at line 109 of file Vec3.h.


Member Data Documentation

TVReal TVec3::elt[3] [protected]

Definition at line 86 of file Vec3.h.


The documentation for this class was generated from the following file:
Generated at Sat Aug 5 00:16:51 2000 for Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000