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

Vector3C Class Reference

#include <vectorc.h>

List of all members.

Public Methods

 Vector3C ()
 Vector3C (double x, double y, double z)
 Vector3C (double *v)
 Vector3C (float *v)
 ~Vector3C ()
double & operator[] (long i)
void Set (double xx, double yy, double zz)
void Rotate (const Vector3C &ri, double om)
void Rotate (const Vector3C &ri, const Vector3C &ap, double om)
int operator== (const Vector3C &)
int operator!= (const Vector3C &)
Vector3C & operator= (const Vector3C &)
Vector3C & operator+= (const Vector3C &)
Vector3C & operator-= (const Vector3C &)
Vector3C operator- (const Vector3C &)
Vector3C operator+ (const Vector3C &)
double operator * (const Vector3C &)
Vector3C operator * (double)
void vkrp (const Vector3C &, const Vector3C &)
double Normalize ()
double Length ()
void Write () const
void Writeln () const

Public Attributes

double x
double y
double z

Friends

OAW_DLLMAPPING Vector3C operator * (double a, const Vector3C &A)
OAW_DLLMAPPING Vector3C operator+ (const Vector3C &A, const Vector3C &B)
OAW_DLLMAPPING Vector3C operator- (const Vector3C &A, const Vector3C &B)


Constructor & Destructor Documentation

Vector3C::Vector3C   [inline]
 

Definition at line 39 of file vectorc.h.

00039 {x=0;y=0;z=0;}

Vector3C::Vector3C double    x,
double    y,
double    z
 

Vector3C::Vector3C double *    v [inline]
 

Definition at line 41 of file vectorc.h.

00041 {x=v[0];y=v[1];z=v[2];}

Vector3C::Vector3C float *    v [inline]
 

Definition at line 42 of file vectorc.h.

00042 {x=v[0];y=v[1];z=v[2];}

Vector3C::~Vector3C   [inline]
 

Definition at line 43 of file vectorc.h.

00043 {}


Member Function Documentation

double Vector3C::Length  
 

double Vector3C::Normalize  
 

Vector3C Vector3C::operator * double   
 

double Vector3C::operator * const Vector3C &   
 

int Vector3C::operator!= const Vector3C &   
 

Vector3C Vector3C::operator+ const Vector3C &   
 

Vector3C& Vector3C::operator+= const Vector3C &   
 

Vector3C Vector3C::operator- const Vector3C &   
 

Vector3C& Vector3C::operator-= const Vector3C &   
 

Vector3C& Vector3C::operator= const Vector3C &   
 

int Vector3C::operator== const Vector3C &   
 

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

Definition at line 44 of file vectorc.h.

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

void Vector3C::Rotate const Vector3C &    ri,
const Vector3C &    ap,
double    om
 

void Vector3C::Rotate const Vector3C &    ri,
double    om
 

void Vector3C::Set double    xx,
double    yy,
double    zz
[inline]
 

Definition at line 45 of file vectorc.h.

00045 { x=xx;y=yy;z=zz;}

void Vector3C::vkrp const Vector3C &   ,
const Vector3C &   
 

void Vector3C::Write   const
 

void Vector3C::Writeln   const
 


Friends And Related Function Documentation

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

OAW_DLLMAPPING Vector3C operator+ const Vector3C &    A,
const Vector3C &    B
[friend]
 

OAW_DLLMAPPING Vector3C operator- const Vector3C &    A,
const Vector3C &    B
[friend]
 


Member Data Documentation

double Vector3C::x
 

Definition at line 66 of file vectorc.h.

double Vector3C::y
 

Definition at line 66 of file vectorc.h.

double Vector3C::z
 

Definition at line 66 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