vector3.h File Reference

Handle 3D coordinates. More...

#include <ostream>
#include <math.h>
#include <openbabel/rand.h>

Include dependency graph for vector3.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OpenBabel

Classes

class  vector3
 Represents a vector in 3-dimensional real space. More...

Defines

#define RAD_TO_DEG   (180.0/M_PI)
#define DEG_TO_RAD   (M_PI/180.0)

Functions

std::ostream & operator<< (std::ostream &, const vector3 &)
vector3 operator+ (const vector3 &v1, const vector3 &v2)
vector3 operator- (const vector3 &v1, const vector3 &v2)
vector3 operator- (const vector3 &v)
vector3 operator * (const double &c, const vector3 &v)
vector3 operator * (const vector3 &v, const double &c)
vector3 operator/ (const vector3 &v, const double &c)
vector3 operator * (const matrix3x3 &m, const vector3 &v)
double dot (const vector3 &v1, const vector3 &v2)
vector3 cross (const vector3 &, const vector3 &)
double vectorAngle (const vector3 &v1, const vector3 &v2)
double CalcTorsionAngle (const vector3 &a, const vector3 &b, const vector3 &c, const vector3 &d)
double Point2Plane (vector3 a, vector3 b, vector3 c, vector3 d)
double Point2PlaneAngle (const vector3 a, const vector3 b, const vector3 c, const vector3 d)

Variables

const vector3 VZero
const vector3 VX
const vector3 VY
const vector3 VZ


Detailed Description

Handle 3D coordinates.


Define Documentation

#define RAD_TO_DEG   (180.0/M_PI)

#define DEG_TO_RAD   (M_PI/180.0)