66 if( values.size() == 3 ) {
68 }
else if( values.size() == 6 ) {
70 }
else if( values.size() == 9 ) {
75 G4String ErrMessage =
"Number of values is: "
77 +
G4String(
". It should be 3, 6, or 9 !");
78 G4Exception(
"G4tgbRotationMatrix::BuildG4RotMatrix()",
98 G4cout <<
" Constructing new G4RotationMatrix from 3 numbers "
120 std::sin(thetaX)*std::sin(phiX),std::cos(thetaX));
122 std::sin(thetaY)*std::sin(phiY),std::cos(thetaY));
124 std::sin(thetaZ)*std::sin(phiZ),std::cos(thetaZ));
131 colx.
y(),coly.
y(),colz.
y(),
132 colx.
z(),coly.
z(),colz.
z());
139 G4cout <<
" Constructing new G4RotationMatrix from 6 numbers "
161 colx.
y(),coly.
y(),colz.
y(),
162 colx.
z(),coly.
z(),colz.
z());
169 G4cout <<
" Constructing new G4RotationMatrix from 9 numbers "