20#ifndef GEANT4_GM_TESSELLATED_SOLID_H
21#define GEANT4_GM_TESSELLATED_SOLID_H
31class G4TessellatedSolid;
32class G4ReflectedSolid;
41 std::vector<std::vector<VGM::ThreeVector> > facets);
43 G4TessellatedSolid* tessellated, G4ReflectedSolid* reflTessellated = 0);
47 virtual std::string
Name()
const;
58 void CheckFacetIndex(
int ifacet)
const;
59 void CheckVertexIndex(
int ifacet,
int index)
const;
64 G4TessellatedSolid* fTessellatedSolid;
The ABC for tessellated solid.
VGM implementation for Geant4 tessellated solid.
virtual int NofVertices(int ifacet) const
Return the number of vertices in the the ifacet-th facet.
virtual VGM::ThreeVector Vertex(int ifacet, int index) const
Return the index-th vertex in the ifacet-th facet.
virtual int NofFacets() const
Return the number of facets.
virtual std::string Name() const
Return the name of this solid.
virtual ~TessellatedSolid()
VGM implementation for Geant4.
std::vector< double > ThreeVector