--- trunk/OOPSE/libmdtools/RigidBody.cpp 2004/06/08 16:49:46 1253 +++ trunk/OOPSE/libmdtools/RigidBody.cpp 2004/06/09 16:16:33 1254 @@ -660,4 +660,14 @@ void RigidBody::getAtomPos(double theP[3], int index){ theP[1] = pos[1] + ref[1]; theP[2] = pos[2] + ref[2]; } + +void RigidBody::getAtomRefCoor(double pos[3], int index){ + vec3 ref; + + ref = refCoords[index]; + pos[0] = ref[0]; + pos[1] = ref[1]; + pos[2] = ref[2]; + +}