vec4d.hpp File Reference

Homogenous vectors for three dimensional space. More...

#include <math.h>
#include <stdint.h>
#include <iostream>
#include <iomanip>
#include "vec3d.hpp"
#include "file.hpp"

Go to the source code of this file.

Classes

class  Vec4D
 Homogenous vector for three dimensional space. More...

Defines

#define VEC4D_HPP   1

Functions

double norm2 (const Vec4D &vec)
Vec4D cross (const Vec4D &vec1, const Vec4D &vec2)
Vec4D operator * (double x, const Vec4D &vec)
std::ostream & operator<< (std::ostream &os, const Vec4D &vec)


Detailed Description

Homogenous vectors for three dimensional space.


Define Documentation

#define VEC4D_HPP   1


Function Documentation

Vec4D cross ( const Vec4D vec1,
const Vec4D vec2 
) [inline]

Only valid for vectors. Output is guaranteed to be a vector.

double norm2 ( const Vec4D vec  )  [inline]

Vec4D operator * ( double  x,
const Vec4D vec 
) [inline]

Does not affect w.

std::ostream& operator<< ( std::ostream &  os,
const Vec4D vec 
) [inline]


Generated on Thu Apr 21 13:39:21 2011 for IBSimu by  doxygen 1.4.7