9 #ifndef IMPALGEBRA_TRANSFORMATION_3D_H
10 #define IMPALGEBRA_TRANSFORMATION_3D_H
12 #include <IMP/algebra/algebra_config.h>
18 IMPALGEBRA_BEGIN_NAMESPACE
20 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
21 class Transformation3D;
22 Transformation3D
compose(
const Transformation3D &a,
23 const Transformation3D &b);
46 return rot_.get_rotated(o) + trans_;
50 return get_transformed(v);
75 const Rotation3D& get_rotation()
const {
78 const Vector3D& get_translation()
const{
return trans_;}
85 Transformation3D get_inverse()
const;
107 inline Transformation3D
123 class Transformation2D;
131 const Transformation2D &t2d);
143 double max_translation=5.,
144 double max_angle_in_rad=0.26);
153 for (
unsigned int i=0; i< 2; ++i) {
154 for (
unsigned int j=0; j< 2; ++j) {
155 for (
unsigned int k=0; k< 2; ++k) {
166 IMPALGEBRA_END_NAMESPACE