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

TVec2 Class Reference

#include <Vec2.h>

List of all members.

Public Members

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

Protected Members

TVReal elt [2]


Detailed Description

Definition at line 21 of file Vec2.h.


Constructor & Destructor Documentation

TVec2::TVec2 () [inline]

Definition at line 114 of file Vec2.h.

TVec2::TVec2 (TVReal x, TVReal y) [inline]

Definition at line 118 of file Vec2.h.

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

Definition at line 124 of file Vec2.h.

TVec2::TVec2 (ZeroOrOne k) [inline]

Definition at line 333 of file Vec2.h.

TVec2::TVec2 (Axis k) [inline]

Definition at line 339 of file Vec2.h.


Member Function Documentation

Int TVec2::Elts () const [inline]

Definition at line 38 of file Vec2.h.

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

Definition at line 319 of file Vec2.h.

TVec2 & TVec2::MakeUnit (Int i, TVReal k = vl_one) [inline]

Definition at line 302 of file Vec2.h.

TVec2 & TVec2::MakeZero () [inline]

Definition at line 313 of file Vec2.h.

TVec2 & TVec2::Normalise () [inline]

Definition at line 325 of file Vec2.h.

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

Definition at line 130 of file Vec2.h.

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

Definition at line 231 of file Vec2.h.

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

Definition at line 221 of file Vec2.h.

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

Definition at line 167 of file Vec2.h.

TVec2 & TVec2::operator *= (const TVec2 & v) [inline]

Definition at line 159 of file Vec2.h.

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

Definition at line 363 of file Vec2.h.

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

Definition at line 191 of file Vec2.h.

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

Definition at line 143 of file Vec2.h.

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

Definition at line 211 of file Vec2.h.

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

Definition at line 201 of file Vec2.h.

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

Definition at line 151 of file Vec2.h.

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

Definition at line 256 of file Vec2.h.

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

Definition at line 246 of file Vec2.h.

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

Definition at line 183 of file Vec2.h.

TVec2 & TVec2::operator/= (const TVec2 & v) [inline]

Definition at line 175 of file Vec2.h.

TVec2 & TVec2::operator= (Axis k) [inline]

Definition at line 351 of file Vec2.h.

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

Definition at line 344 of file Vec2.h.

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

Definition at line 135 of file Vec2.h.

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

Definition at line 358 of file Vec2.h.

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

Definition at line 108 of file Vec2.h.

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

Definition at line 102 of file Vec2.h.


Member Data Documentation

TVReal TVec2::elt[2] [protected]

Definition at line 81 of file Vec2.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