20#ifndef VGM_I_TESSELLATED_SOLID_H
21#define VGM_I_TESSELLATED_SOLID_H
38 virtual std::string
Name()
const = 0;
51 virtual std::ostream&
Put(std::ostream& out)
const = 0;
std::ostream & operator<<(std::ostream &out, const VGM::ITessellatedSolid &xtru)
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 std::ostream & Put(std::ostream &out) const =0
Put the printing of the solid parameters in the out stream.
virtual ~ITessellatedSolid()
virtual SolidType Type() const =0
Return the type of this solid.
virtual ThreeVector Vertex(int ifacet, int index) const =0
Return the index-th vertex in the ifacet-th facet.
virtual std::string Name() const =0
Return the name of this solid.
virtual int NofFacets() const =0
Return the number of facets.
std::vector< double > ThreeVector