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

Vector2C Class Reference

#include <vectorc.h>

List of all members.

Public Methods

 Vector2C ()
 Vector2C (const double &, const double &)
 Vector2C (float *v)
 Vector2C (double *v)
double & operator[] (long i)
void Set (double xx, double yy)
int operator== (const Vector2C &)
int operator!= (const Vector2C &)
Vector2C & operator= (const Vector2C &)
Vector2C & operator+= (const Vector2C &)
Vector2C & operator-= (const Vector2C &)
Vector2C operator- (const Vector2C &)
Vector2C operator+ (const Vector2C &)
double operator * (const Vector2C &)
Vector2C operator * (double)

Public Attributes

double x
double y

Friends

OAW_DLLMAPPING Vector2C operator * (double a, const Vector2C &A)


Constructor & Destructor Documentation

Vector2C::Vector2C  
 

Vector2C::Vector2C const double &   ,
const double &   
 

Vector2C::Vector2C float *    v [inline]
 

Definition at line 73 of file vectorc.h.

00073 {x=v[0];y=v[1];}

Vector2C::Vector2C double *    v [inline]
 

Definition at line 74 of file vectorc.h.

00074 {x=v[0];y=v[1];}


Member Function Documentation

Vector2C Vector2C::operator * double   
 

double Vector2C::operator * const Vector2C &   
 

int Vector2C::operator!= const Vector2C &   
 

Vector2C Vector2C::operator+ const Vector2C &   
 

Vector2C& Vector2C::operator+= const Vector2C &   
 

Vector2C Vector2C::operator- const Vector2C &   
 

Vector2C& Vector2C::operator-= const Vector2C &   
 

Vector2C& Vector2C::operator= const Vector2C &   
 

int Vector2C::operator== const Vector2C &   
 

double& Vector2C::operator[] long    i [inline]
 

Definition at line 75 of file vectorc.h.

00075 {return ((double*)this)[i];} 

void Vector2C::Set double    xx,
double    yy
[inline]
 

Definition at line 76 of file vectorc.h.

00076 { x=xx;y=yy;}


Friends And Related Function Documentation

OAW_DLLMAPPING Vector2C operator * double    a,
const Vector2C &    A
[friend]
 


Member Data Documentation

double Vector2C::x
 

Definition at line 88 of file vectorc.h.

double Vector2C::y
 

Definition at line 88 of file vectorc.h.


The documentation for this class was generated from the following file:
Generated on Tue Jul 29 14:31:03 2003 for Open ActiveWrl by doxygen1.3-rc2