Main Page | Class Hierarchy | Class List | File List | Class Members

Vector3f Class Reference

#include <vector.h>

List of all members.

Public Member Functions

 Vector3f ()
 Vector3f (const Vector3 &v)
Vector3 toVector3 () const
FLT & operator[] (int i)
const FLT & operator[] (int i) const
bool equals (const Vector3f &v) const
unsigned int hashValue () const


Detailed Description

Single-precision version of vector. For storage purposes only.


Constructor & Destructor Documentation

Vector3f::Vector3f  )  [inline]
 

Constructor without initialisation.

Vector3f::Vector3f const Vector3 v  )  [inline]
 

Constructor from DBL Vector3.


Member Function Documentation

bool Vector3f::equals const Vector3f v  )  const [inline]
 

Comparing against other FLT-vector.

Returns:
true if its equal to the given vector else false

unsigned int Vector3f::hashValue  )  const [inline]
 

Calucates hash-value for the vector.

const FLT& Vector3f::operator[] int  i  )  const [inline]
 

Access to the const vector's components.

FLT& Vector3f::operator[] int  i  )  [inline]
 

Access to the vector components.

Vector3 Vector3f::toVector3  )  const [inline]
 

Returns:
a DBL-valued Vector3.


The documentation for this class was generated from the following file:
Generated on Thu Jan 27 12:16:07 2005 for raytracer.kdevelop by doxygen 1.3.8