20#ifndef ROOT_GM_TESSELLATED_SOLID_H
21#define ROOT_GM_TESSELLATED_SOLID_H
36 std::vector<std::vector<VGM::ThreeVector> > facets);
41 virtual std::string
Name()
const;
52 void CheckFacetIndex(
int ifacet)
const;
53 void CheckVertexIndex(
int ifacet,
int index)
const;
56 TGeoTessellated* fTessellated;
The ABC for tessellated solid.
VGM implementation for Root tessellated solid.
virtual ~TessellatedSolid()
virtual VGM::ThreeVector Vertex(int ifacet, int index) const
Return the index-th vertex in the ifacet-th facet.
virtual std::string Name() const
Return the name of this solid.
virtual int NofVertices(int ifacet) const
Return the number of vertices in the the ifacet-th facet.
virtual int NofFacets() const
Return the number of facets.
VGM implementation for Root.
std::vector< double > ThreeVector