20#ifndef GEANT4_GM_BOOLEAN_SOLID_H
21#define GEANT4_GM_BOOLEAN_SOLID_H
31class G4DisplacedSolid;
32class G4ReflectedSolid;
41 const CLHEP::Hep3Vector& translation);
43 G4BooleanSolid* booleanSolid, G4ReflectedSolid* reflectedBoolean);
47 virtual std::string
Name()
const;
65 G4BooleanSolid* fBooleanSolid;
73 return fToBeReflected;
The ABC for Boolean solids.
VGM implementation for Geant4 Boolean solid.
virtual VGM::ISolid * ConstituentSolidA() const
Return the first constituent solid.
virtual std::string Name() const
Return the name of this solid.
virtual VGM::Transform Displacement() const
Return the 3D displacement of the second constituent solid with respect to the first one.
static G4VSolid * GetConstituentSolid(int index, G4BooleanSolid *booleanSolid)
virtual VGM::BooleanType BoolType() const
Return the Boolean type of this solid.
virtual VGM::ISolid * ConstituentSolidB() const
Return the second constituent solid.
virtual bool ToBeReflected() const
Return true if the solid has to be first reflected before being placed.
VGM implementation for Geant4 displaced solid.
The VGM interface to solids.
VGM implementation for Geant4.
std::vector< double > Transform