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
 

df3 file format (http://www.povray.org/documentation/view/3.6.1/374) Header: The df3 format consists of a 6 byte header of three 16-bit integers with high order byte first.


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)