35
35
//move and rotate 2nd the CGAL structure Polyhedron
36
36
rot_mat = (se32.orientation).toRotationMatrix();
38
38
t_rot_trans = Transformation(rot_mat(0,0),rot_mat(0,1),rot_mat(0,2), trans_vec[0],rot_mat(1,0),rot_mat(1,1),rot_mat(1,2),trans_vec[1],rot_mat(2,0),rot_mat(2,1),rot_mat(2,2),trans_vec[2],1.);
39
39
Polyhedron PB = B->GetPolyhedron();
40
40
std::transform( PB.points_begin(), PB.points_end(), PB.points_begin(), t_rot_trans);