vector3.h File Reference

Handle 3D coordinates. More...

#include <iostream>
#include <fstream>
#include <math.h>
#include "obutil.h"

Go to the source code of this file.

Namespaces

namespace  OpenBabel

Classes

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

Defines

#define PI   3.1415926535897932384626433
#define RAD_TO_DEG   180.0/PI
#define DEG_TO_RAD   PI/180.0

Functions

double Point2Plane (vector3 a, vector3 b, vector3 c, vector3 d)
 Calculate the distance of point a to the plane determined by b,c,d.
vector3 center_coords (double *, int)

Variables

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


Detailed Description

Handle 3D coordinates.


Define Documentation

#define PI   3.1415926535897932384626433

#define RAD_TO_DEG   180.0/PI

#define DEG_TO_RAD   PI/180.0