--- trunk/SHAPES/RigidBody.cpp 2004/06/21 15:54:27 1283 +++ trunk/SHAPES/RigidBody.cpp 2004/06/23 23:19:43 1292 @@ -48,8 +48,6 @@ void RigidBody::setEuler( double phi, double theta, do A[2][1] = -cos(phi) * sin(theta); A[2][2] = cos(theta); - printf("A[2][x] = %lf\t%lf\t%lf\n", A[2][0], A[2][1], A[2][2]); - } void RigidBody::getQ( double q[4] ){ @@ -320,28 +318,27 @@ void RigidBody::calcRefCoords( ) { pAxisMat[i][0] = sU[i][maxAxis]; } + //calculate the proper rotation matrix transposeMat3(pAxisMat, pAxisRotMat); - for (i=0; isetPos(refCoords[i].vec); } - - for (i=0; igetEps(); } + +char *RigidBody::getAtomBase(int index){ + + return myAtoms[index]->getBase(); + +}