VGM Version 5.3
|
VGM implementation for Geant4 tessellated solid. More...
#include <TessellatedSolid.h>
Public Member Functions | |
TessellatedSolid (const std::string &name, std::vector< std::vector< VGM::ThreeVector > > facets) | |
TessellatedSolid (G4TessellatedSolid *tessellated, G4ReflectedSolid *reflTessellated=0) | |
virtual | ~TessellatedSolid () |
virtual std::string | Name () const |
Return the name of this solid. | |
virtual int | NofFacets () const |
Return the number of facets. | |
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. | |
Public Member Functions inherited from BaseVGM::VTessellatedSolid | |
VTessellatedSolid () | |
virtual | ~VTessellatedSolid () |
virtual VGM::SolidType | Type () const |
Return the type of this solid. | |
virtual std::ostream & | Put (std::ostream &out) const |
Put the printing of the solid parameters in the out stream. | |
Public Member Functions inherited from VGM::ITessellatedSolid | |
virtual | ~ITessellatedSolid () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
TessellatedSolid () | |
TessellatedSolid (const TessellatedSolid &rhs) | |
VGM implementation for Geant4 tessellated solid.
Definition at line 37 of file TessellatedSolid.h.
Geant4GM::TessellatedSolid::TessellatedSolid | ( | const std::string & | name, |
std::vector< std::vector< VGM::ThreeVector > > | facets ) |
Standard constructor to define TessellatedSolid from parameters
facets | the vector of facets defined as a vector of three vectors representing the facet points in mm |
Definition at line 36 of file TessellatedSolid.cxx.
Geant4GM::TessellatedSolid::TessellatedSolid | ( | G4TessellatedSolid * | tessellated, |
G4ReflectedSolid * | reflTessellated = 0 ) |
Standard constructor to define TessellatedSolid from Geant4 object
Definition at line 112 of file TessellatedSolid.cxx.
|
virtual |
Definition at line 157 of file TessellatedSolid.cxx.
|
protected |
Protected default constructor
Definition at line 133 of file TessellatedSolid.cxx.
|
protected |
Protected copy constructor
Definition at line 145 of file TessellatedSolid.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::ITessellatedSolid.
Definition at line 194 of file TessellatedSolid.cxx.
|
virtual |
Return the number of facets.
Implements VGM::ITessellatedSolid.
Definition at line 200 of file TessellatedSolid.cxx.
|
virtual |
Return the number of vertices in the the ifacet-th facet.
Implements VGM::ITessellatedSolid.
Definition at line 206 of file TessellatedSolid.cxx.
|
virtual |
Return the index-th vertex in the ifacet-th facet.
Implements VGM::ITessellatedSolid.
Definition at line 216 of file TessellatedSolid.cxx.