Main Page   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

vector< t > Class Template Reference

This class represents a three dimensional vector. More...

#include <vector.h>

List of all members.

Public Methods

const vector operator * (const t s) const
 Multiplicate actual vector with a scalar.

const vector operator * (const vector &v) const
 Multiplication with a vector.

const t operator^ (const vector &v) const
 Dot product of vector.

const vector operator+ (const vector &v) const
 Add a vector v to this vector.

void rotx (t val)
 Rotate vector around x axis.


Private Methods

_length ()
 Calculate the length of the vector.


Detailed Description

template<class t>
class vector< t >

This class represents a three dimensional vector.

Definition at line 12 of file vector.h.


Member Function Documentation

template<class t>
const vector vector< t >::operator * const t    s const [inline]
 

Multiplicate actual vector with a scalar.

Parameters:
s  scalar

Definition at line 59 of file vector.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 06:17:40 2003 for Vol by doxygen1.2.18