27 out << tessellatedSolid;
47 out <<
NofFacets() <<
" facets:" << std::endl;
49 out <<
"Facet #" << i <<
": " << std::endl;
51 out <<
" " <<
NofVertices(i) <<
" vertices:" << std::endl;
55 out <<
" mm" << std::endl;
std::ostream & operator<<(std::ostream &out, const VGM::ITessellatedSolid &tessellated)
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
virtual ~VTessellatedSolid()
The VGM interface to solids.
The VGM interface to extruded solids.
virtual int NofVertices(int ifacet) const =0
Return the number of vertices in the the ifacet-th facet.
virtual ThreeVector Vertex(int ifacet, int index) const =0
Return the index-th vertex in the ifacet-th facet.
virtual int NofFacets() const =0
Return the number of facets.