EMAN2
Classes | Namespaces | Functions
vecmath.h File Reference
#include <iostream>
#include <cmath>
#include <cstring>
#include "emassert.h"
Include dependency graph for vecmath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EMAN::ScreenVector
 
class  EMAN::ScreenPoint
 
class  EMAN::Vector3
 
class  EMAN::Point3
 
class  EMAN::Matrix3
 
class  EMAN::Vector4
 
class  EMAN::Matrix4
 

Namespaces

namespace  EMAN
 E2Exception class.
 

Functions

bool EMAN::isZero (double in_d, double in_dEps=1e-16)
 
ScreenVector EMAN::operator* (const double s, const ScreenVector &v)
 
std::ostream & EMAN::operator<< (std::ostream &os, const ScreenVector &v)
 
std::ostream & EMAN::operator<< (std::ostream &os, const ScreenPoint &p)
 
Vector3 EMAN::operator* (const double s, const Vector3 &v)
 
double EMAN::dot (const Vector3 &w, const Vector3 &v)
 
Vector3 EMAN::cross (const Vector3 &w, const Vector3 &v)
 
double EMAN::length (const Vector3 &v)
 
Vector3 EMAN::unit (const Vector3 &v)
 
std::ostream & EMAN::operator<< (std::ostream &os, const Vector3 &v)
 
Point3 EMAN::lerp (const Point3 &p0, const Point3 &p1, double dT)
 
std::ostream & EMAN::operator<< (std::ostream &os, const Point3 &p)
 
Vector3 EMAN::operator* (const Vector3 &v, const Matrix3 &m)
 
Point3 EMAN::operator* (const Point3 &p, const Matrix3 &m)
 
std::ostream & EMAN::operator<< (std::ostream &os, const Matrix3 &m)
 
Vector4 EMAN::operator* (const double s, const Vector4 &v)
 
double EMAN::length (const Vector4 &v)
 
Vector4 EMAN::unit (const Vector4 &v)
 
std::ostream & EMAN::operator<< (std::ostream &os, const Vector4 &v)
 
std::ostream & EMAN::operator<< (std::ostream &os, const Matrix4 &m)