void Miller::rotateMatrixHKL(double hRot, double kRot, double lRot, MatrixPtr oldMatrix, MatrixPtr *newMatrix) { (*newMatrix) = oldMatrix->copy(); double hRad = hRot * M_PI / 180; double kRad = kRot * M_PI / 180; double lRad = lRot * M_PI / 180; (*newMatrix)->rotate(hRad, kRad, lRad); }
void Miller::rotateMatrixABC(double aRot, double bRot, double cRot, MatrixPtr oldMatrix, MatrixPtr *newMatrix) { (*newMatrix) = oldMatrix->copy(); (*newMatrix)->rotateABC(oldMatrix, aRot, bRot, cRot); }