Classes | Namespaces | Defines | Functions | Variables

vector3.h File Reference

Handle 3D coordinates. More...

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

Go to the source code of this file.

Classes

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

Namespaces

namespace  OpenBabel

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 Point2PlaneSigned (vector3 a, vector3 b, vector3 c, 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)
double Point2Line (const vector3 &a, const vector3 &b, const vector3 &c)

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)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines