transform3d Class Reference

Handle 3D transformations, such as space group definitions. More...

#include <openbabel/math/transform3d.h>

Inheritance diagram for transform3d:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 transform3d (void)
 transform3d (const matrix3x3 &m, const vector3 &v)
 transform3d (double s)
 transform3d (vector3 row1, vector3 row2, vector3 row3, vector3 translation)
 transform3d (double d[3][3], double t[3])
vector3 operator* (const vector3 &)
transform3d operator* (const transform3d &)
std::string DescribeAsString () const
std::string DescribeAsValues () const
void Normalize ()

Friends

vector3 operator* (const matrix3x3 &, const vector3 &)
matrix3x3 operator* (const matrix3x3 &, const matrix3x3 &)
std::ostream & operator<< (std::ostream &, const matrix3x3 &)


Detailed Description

Handle 3D transformations, such as space group definitions.

Since:
version 2.2
See also:
SpaceGroup

Constructor & Destructor Documentation

transform3d ( void   )  [inline]

Referenced by transform3d::operator*().

transform3d ( const matrix3x3 m,
const vector3 v 
) [inline]

transform3d ( double  s  )  [inline]

transform3d ( vector3  row1,
vector3  row2,
vector3  row3,
vector3  translation 
) [inline]

Constructs a matrix from row vectors.

transform3d ( double  d[3][3],
double  t[3] 
) [inline]

Constructs a matrix from a 3x3-array of doubles.

The first index represents the row, the second index the column


Member Function Documentation

vector3 operator* ( const vector3 v  ) 

transform3d operator* ( const transform3d t  ) 

string DescribeAsString (  )  const

string DescribeAsValues (  )  const

void Normalize (  ) 


Friends And Related Function Documentation

vector3 operator* ( const matrix3x3 m,
const vector3 v 
) [friend, inherited]

Matrix-vector multiplication.

Calculates the product m*v of the matrix m and the column vector represented by v

matrix3x3 operator* ( const matrix3x3 A,
const matrix3x3 B 
) [friend, inherited]

Matrix-matrix multiplication.

std::ostream& operator<< ( std::ostream &  co,
const matrix3x3 m 
) [friend, inherited]

Output a text representation of a matrix.

Print a text representation of the matrix in the standardized form: [ a, b, c ]
[ d, e, f ]
[ g, h, i ]
where the letters represent the appropriate entries in the matrix. Uses the standard output format for the individual entries, separated by ", " for each column, and [ ] indicating each row.


The documentation for this class was generated from the following files: