47 out <<
" (" <<
Vertex(i).first <<
", " <<
Vertex(i).second <<
")";
49 out <<
" mm" << std::endl;
50 out <<
" twist angles:";
51 for (
int i = 0; i < 4; i++) {
54 out <<
" rad" << std::endl;
55 out <<
" hz = " <<
ZHalfLength() <<
"mm" << std::endl;
std::ostream & operator<<(std::ostream &out, const VGM::IArb8 &arb8)
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
The VGM interface to Arb8 solids.
virtual double ZHalfLength() const =0
Return the half-length along the z axis in mm.
virtual int NofVertices() const =0
Return the number of vertices.
virtual TwoVector Vertex(int index) const =0
Return the index-th vertex.
virtual double TwistAngle(int index) const =0
Return the index-th twist angle.
The VGM interface to solids.