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

VGM implementation for Root tessellated solid. More...

#include <TessellatedSolid.h>

Inheritance diagram for RootGM::TessellatedSolid:

Public Member Functions

 TessellatedSolid (const std::string &name, std::vector< std::vector< VGM::ThreeVector > > facets)
 
 TessellatedSolid (TGeoTessellated *tessellated)
 
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 Root tessellated solid.

Author
Ivana Hrivnacova; IJCLab Orsay

Definition at line 32 of file TessellatedSolid.h.

Constructor & Destructor Documentation

◆ TessellatedSolid() [1/4]

RootGM::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 34 of file TessellatedSolid.cxx.

◆ TessellatedSolid() [2/4]

RootGM::TessellatedSolid::TessellatedSolid ( TGeoTessellated * tessellated)

Standard constructor to define TessellatedSolid from Root object

Definition at line 105 of file TessellatedSolid.cxx.

◆ ~TessellatedSolid()

RootGM::TessellatedSolid::~TessellatedSolid ( )
virtual

Definition at line 132 of file TessellatedSolid.cxx.

◆ TessellatedSolid() [3/4]

RootGM::TessellatedSolid::TessellatedSolid ( )
protected

Protected default constructor

Definition at line 115 of file TessellatedSolid.cxx.

◆ TessellatedSolid() [4/4]

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

Protected copy constructor

Definition at line 122 of file TessellatedSolid.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ITessellatedSolid.

Definition at line 161 of file TessellatedSolid.cxx.

◆ NofFacets()

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

Return the number of facets.

Implements VGM::ITessellatedSolid.

Definition at line 164 of file TessellatedSolid.cxx.

◆ NofVertices()

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

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

Implements VGM::ITessellatedSolid.

Definition at line 167 of file TessellatedSolid.cxx.

◆ Vertex()

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

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

Implements VGM::ITessellatedSolid.

Definition at line 177 of file TessellatedSolid.cxx.


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