cgma
|
#include "geometry.hpp"
#include <cfloat>
#include <iostream>
#include <cassert>
#include "options.hpp"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &str, const Vector3d &v) |
double | matrix_det (double mat[9]) |
std::ostream & | operator<< (std::ostream &str, const Transform &t) |
double matrix_det | ( | double | mat[9] | ) |
Definition at line 13 of file geometry.cpp.
{
return (mat[0]*mat[4]*mat[8] -
mat[0]*mat[5]*mat[7] -
mat[1]*mat[3]*mat[8] +
mat[1]*mat[5]*mat[6] +
mat[2]*mat[3]*mat[7] -
mat[2]*mat[4]*mat[6]);
}
std::ostream& operator<< | ( | std::ostream & | str, |
const Vector3d & | v | ||
) |
Definition at line 8 of file geometry.cpp.
std::ostream& operator<< | ( | std::ostream & | str, |
const Transform & | t | ||
) |
Definition at line 219 of file geometry.cpp.
{ t.print(str); return str; }