2#ifndef FromG4VSolid_HPP
3#define FromG4VSolid_HPP
43 G4VSolid *SolidConstructor(
const G4String &name)
override {
44 throw std::runtime_error(
45 "FromG4VSolid::SolidConstructor(const G4String &name) not implemented.\n"
46 "FromG4VSolid is constructed using prebuilt a G4VSolid pointer.");
A solid buider class that just wrap an existing G4VSolid.
FromG4VSolid & operator=(const FromG4VSolid &other)=delete
A polymorphic, type-erased builder referencing any specialized builder.
VolumeBuilder: Common functionality for volume builder classes.
FromG4VSolidPtr CreateFromG4VSolid(G4VSolid *solid)
Constructor to make a builder from an Existing Geant solid.