An Implementation of the Marching Cubes Algorithm
1.0
|
The namespace common contains the definition of macros and several utility classes, such as a class for representing 3D vectors and a class for dealing with exceptions in a customized way. More...
Classes | |
class | ExceptionObject |
This class extends the class exception of STL, providing a customized way of dealing with exceptions. More... | |
class | t3DVector |
This class represents a vector in 3D space. More... | |
Functions | |
t3DVector | operator* (double alpha, const t3DVector &v) |
Scales this vector by a constant factor and returns the vector after scaling. |
The namespace common contains the definition of macros and several utility classes, such as a class for representing 3D vectors and a class for dealing with exceptions in a customized way.
t3DVector common::operator* | ( | double | alpha, |
const t3DVector & | v | ||
) | [inline] |
Scales this vector by a constant factor and returns the vector after scaling.
alpha | A scalar. |
v | A vector in 3D space. |
Definition at line 559 of file 3dvector.hpp.
{
return v * alpha ;
}