RDKit
Open-source cheminformatics and machine learning.
Transform3D.h File Reference
#include "Transform.h"
#include <Numerics/SquareMatrix.h>

Go to the source code of this file.

Classes

class  RDGeom::Transform3D
 

Namespaces

 RDGeom
 

Functions

RDGeom::Transform3D operator* (const RDGeom::Transform3D &t1, const RDGeom::Transform3D &t2)
 Combine two transforms and return the results as a new transform. More...
 
RDGeom::Point3D operator* (const RDGeom::Transform3D &t, const RDGeom::Point3D &pt)
 Transform a point: More...
 

Variables

const unsigned int RDGeom::DIM_3D = 4
 

Function Documentation

RDGeom::Transform3D operator* ( const RDGeom::Transform3D t1,
const RDGeom::Transform3D t2 
)

Combine two transforms and return the results as a new transform.

The order is important here, on two transforms t1 and t2 t3 = t1*t2 The resulting transform t3 has the folliwng effect t3(point) = t1(t2(point))

RDGeom::Point3D operator* ( const RDGeom::Transform3D t,
const RDGeom::Point3D pt 
)

Transform a point: