47 for (
int i = 0; i < NofSolids(); ++i) {
48 out << i <<
"th constituent = " << *ConstituentSolid(i) << std::endl
49 <<
" Displacement translation (object): ( "
51 <<
", " << Transformation(i)[
VGM::kDz] <<
") mm " << std::endl
52 <<
" Displacement rotation (object): ("
56 if (
Round(Transformation(i)[6]) == 0)
57 out <<
" no reflectionZ";
59 out <<
" reflectionZ";
std::ostream & operator<<(std::ostream &out, const VGM::IMultiUnion &boolean)
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
The VGM interface to Boolean solids.
The VGM interface to solids.
double Round(double x)
Round number.