34#ifndef G4UEXTRUDEDSOLID_HH
35#define G4UEXTRUDEDSOLID_HH
39#if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
41#include <VecGeom/volumes/UnplacedExtruded.h>
46class G4UExtrudedSolid :
public G4UAdapter<vecgeom::UnplacedExtruded>
48 using Shape_t = vecgeom::UnplacedExtruded;
49 using Base_t = G4UAdapter<vecgeom::UnplacedExtruded>;
56 : fZ(z), fOffset(offset), fScale(scale) {}
65 G4UExtrudedSolid(
const G4String& pName,
66 const std::vector<G4TwoVector>& polygon,
67 const std::vector<ZSection>& zsections);
70 G4UExtrudedSolid(
const G4String& pName,
71 const std::vector<G4TwoVector>& polygon,
79 G4int GetNofVertices()
const;
81 std::vector<G4TwoVector> GetPolygon()
const;
82 G4int GetNofZSections()
const;
83 ZSection GetZSection(
G4int index)
const;
84 std::vector<ZSection> GetZSections()
const;
90 G4UExtrudedSolid(__void__&);
95 G4UExtrudedSolid(
const G4UExtrudedSolid&
source );
96 G4UExtrudedSolid &operator=(
const G4UExtrudedSolid&
source);
114 return "G4ExtrudedSolid";
static const G4double pMax
static const G4double pMin