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

TVec Class Reference

#include <Vec.h>

List of all members.

Public Members

 TVec ()
 TVec (Int n)
 TVec (Int n, double elt0, ...)
 TVec (Int n, TVReal *data)
 TVec (const TVec &v)
 TVec (const TSubVec &v)
 TVec (const TVec2 &v)
 TVec (const TVec3 &v)
 TVec (const TVec4 &v)
 TVec (Int n, ZeroOrOne)
 TVec (Int n, Axis a)
 ~TVec ()
Int Elts () const
TVReal& operator[] (Int i)
TVReal operator[] (Int i) const
TVReal* Ref () const
TVec& operator= (const TVec &v)
TVec& operator= (const TSubVec &v)
TVec& operator= (ZeroOrOne k)
TVec& operator= (Axis a)
TVec& operator= (const TVec2 &v)
TVec& operator= (const TVec3 &v)
TVec& operator= (const TVec4 &v)
Void SetSize (Int n)
TVec& MakeZero ()
TVec& MakeUnit (Int i, TVReal k = vl_one)
TVec& MakeBlock (TVReal k = vl_one)
TVec& Normalise ()
TVec& Clamp (Real fuzz)
TVec& Clamp ()
Bool IsRef () const

Protected Members

TVReal* data
UInt32 elts


Detailed Description

Definition at line 29 of file Vec.h.


Constructor & Destructor Documentation

TVec::TVec () [inline]

Definition at line 140 of file Vec.h.

TVec::TVec (Int n) [inline]

Definition at line 144 of file Vec.h.

TVec::TVec (Int n, double elt0, ...)

Definition at line 86 of file Vec.cc.

TVec::TVec (Int n, TVReal * data) [inline]

Definition at line 28 of file Vec.cc.

TVec::TVec (const TVec & v)

Definition at line 48 of file Vec.cc.

TVec::TVec (const TSubVec & v)

Definition at line 64 of file Vec.cc.

TVec::TVec (const TVec2 & v)

Definition at line 74 of file Vec.cc.

TVec::TVec (const TVec3 & v)

Definition at line 78 of file Vec.cc.

TVec::TVec (const TVec4 & v)

Definition at line 82 of file Vec.cc.

TVec::TVec (Int n, ZeroOrOne k)

Definition at line 28 of file Vec.cc.

TVec::TVec (Int n, Axis a) [inline]

Definition at line 38 of file Vec.cc.

TVec::~TVec ()

Definition at line 105 of file Vec.cc.


Member Function Documentation

TVec & TVec::Clamp ()

Definition at line 463 of file Vec.cc.

TVec & TVec::Clamp (Real fuzz)

Definition at line 450 of file Vec.cc.

Int TVec::Elts () const [inline]

Definition at line 156 of file Vec.h.

Bool TVec::IsRef () const [inline]

Definition at line 84 of file Vec.h.

TVec & TVec::MakeBlock (TVReal k = vl_one)

Definition at line 229 of file Vec.cc.

TVec & TVec::MakeUnit (Int i, TVReal k = vl_one)

Definition at line 217 of file Vec.cc.

TVec & TVec::MakeZero ()

Definition at line 207 of file Vec.cc.

TVec & TVec::Normalise () [inline]

Definition at line 239 of file Vec.h.

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

Definition at line 175 of file Vec.h.

Void TVec::SetSize (Int n)

Definition at line 185 of file Vec.cc.

TVec & TVec::operator= (const TVec4 & v)

Definition at line 170 of file Vec.cc.

TVec & TVec::operator= (const TVec3 & v)

Definition at line 156 of file Vec.cc.

TVec & TVec::operator= (const TVec2 & v)

Definition at line 143 of file Vec.cc.

TVec & TVec::operator= (Axis a) [inline]

Definition at line 187 of file Vec.h.

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

Definition at line 180 of file Vec.h.

TVec & TVec::operator= (const TSubVec & v)

Definition at line 129 of file Vec.cc.

TVec & TVec::operator= (const TVec & v)

Definition at line 115 of file Vec.cc.

TVReal TVec::operator[] (Int i) const [inline]

Definition at line 168 of file Vec.h.

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

Definition at line 161 of file Vec.h.


Member Data Documentation

TVReal * TVec::data [protected]

Definition at line 87 of file Vec.h.

UInt32 TVec::elts [protected]

Definition at line 88 of file Vec.h.


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