#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) |
| #define VEC4D_HPP 1 |
Only valid for vectors. Output is guaranteed to be a vector.
| double norm2 | ( | const Vec4D & | vec | ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Vec4D & | vec | |||
| ) | [inline] |
1.4.7