VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::TessellatedSolid Class Reference

VGM implementation for Geant4 tessellated solid. More...

#include <TessellatedSolid.h>

Inheritance diagram for Geant4GM::TessellatedSolid:

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)
 

Detailed Description

VGM implementation for Geant4 tessellated solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 37 of file TessellatedSolid.h.

Constructor & Destructor Documentation

◆ TessellatedSolid() [1/4]

Geant4GM::TessellatedSolid::TessellatedSolid ( const std::string & name,
std::vector< std::vector< VGM::ThreeVector > > facets )

Standard constructor to define TessellatedSolid from parameters

Parameters
facetsthe vector of facets defined as a vector of three vectors representing the facet points in mm

Definition at line 36 of file TessellatedSolid.cxx.

◆ TessellatedSolid() [2/4]

Geant4GM::TessellatedSolid::TessellatedSolid ( G4TessellatedSolid * tessellated,
G4ReflectedSolid * reflTessellated = 0 )

Standard constructor to define TessellatedSolid from Geant4 object

Definition at line 112 of file TessellatedSolid.cxx.

◆ ~TessellatedSolid()

Geant4GM::TessellatedSolid::~TessellatedSolid ( )
virtual

Definition at line 157 of file TessellatedSolid.cxx.

◆ TessellatedSolid() [3/4]

Geant4GM::TessellatedSolid::TessellatedSolid ( )
protected

Protected default constructor

Definition at line 133 of file TessellatedSolid.cxx.

◆ TessellatedSolid() [4/4]

Geant4GM::TessellatedSolid::TessellatedSolid ( const TessellatedSolid & rhs)
protected

Protected copy constructor

Definition at line 145 of file TessellatedSolid.cxx.

Member Function Documentation

◆ Name()

std::string Geant4GM::TessellatedSolid::Name ( ) const
virtual

Return the name of this solid.

Implements VGM::ITessellatedSolid.

Definition at line 194 of file TessellatedSolid.cxx.

◆ NofFacets()

int Geant4GM::TessellatedSolid::NofFacets ( ) const
virtual

Return the number of facets.

Implements VGM::ITessellatedSolid.

Definition at line 200 of file TessellatedSolid.cxx.

◆ NofVertices()

int Geant4GM::TessellatedSolid::NofVertices ( int ifacet) const
virtual

Return the number of vertices in the the ifacet-th facet.

Implements VGM::ITessellatedSolid.

Definition at line 206 of file TessellatedSolid.cxx.

◆ Vertex()

VGM::ThreeVector Geant4GM::TessellatedSolid::Vertex ( int ifacet,
int index ) const
virtual

Return the index-th vertex in the ifacet-th facet.

Implements VGM::ITessellatedSolid.

Definition at line 216 of file TessellatedSolid.cxx.


The documentation for this class was generated from the following files: