19 #include <utility/vector1.hh>
20 #include <numeric/xyz.functions.hh>
25 namespace kinematics {
28 M( rt.get_rotation() ),
29 v( rt.get_translation() )
37 for (
int i=1; i<= 3; ++i ) {
38 for (
int j=1; j<= 3; ++j ) {
39 os <<
' ' << a.
M(i,j);
42 for (
int i=1; i<= 3; ++i ) {
66 Vector e3( cross( e1, c - b ) );
69 Vector e2( cross( e3,e1) );
70 M.col_x( e1 ).col_y( e2 ).col_z( e3 );
78 Real const length( 1.4 );
79 Real const angle( numeric::conversions::radians( 120.0 ) );
82 Vector const xyz3( xyz2 + length *
M *
Vector( std::cos( angle ), std::sin( angle ), 0 ) );
92 utility_exit_with_message(
"Stub::build_fake_xyz must be called with 1<= index <= 3" );