IBSimu  1.0.4
Classes | Functions
vec3d.hpp File Reference

Three dimensional vectors. More...

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

Go to the source code of this file.

Classes

class  Vec3D
 Three dimensional vector. More...
class  Int3D
 3D Integer vector class. More...

Functions

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

Detailed Description

Three dimensional vectors.


Function Documentation

Vec3D cross ( const Vec3D vec1,
const Vec3D vec2 
) [inline]
double norm2 ( const Vec3D vec) [inline]
Vec3D operator* ( double  x,
const Vec3D vec 
) [inline]
Vec3D operator* ( double  x,
const Int3D i 
) [inline]
std::ostream& operator<< ( std::ostream &  os,
const Vec3D vec 
) [inline]
std::ostream& operator<< ( std::ostream &  os,
const Int3D vec 
) [inline]