An Implementation of the Marching Cubes Algorithm  1.0
common Namespace Reference

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.

Detailed Description

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.


Function Documentation

t3DVector common::operator* ( double  alpha,
const t3DVector &  v 
) [inline]

Scales this vector by a constant factor and returns the vector after scaling.

Parameters:
alphaA scalar.
vA vector in 3D space.
Returns:
This vector after scaling.

Definition at line 559 of file 3dvector.hpp.

  {
    return v * alpha ;
  }