public static void RotateFigure(CadFigure fig, Vector3d org, Vector3d axis, double t) { CadQuaternion q = CadQuaternion.RotateQuaternion(axis, t); CadQuaternion r = q.Conjugate();; fig.Rotate(org, q, r); }