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>;
55 ZSection() : fZ(0.), fOffset(0.,0.), fScale(1.) {}
57 : fZ(z), fOffset(offset), fScale(scale) {}
66 G4UExtrudedSolid(
const G4String& pName,
67 const std::vector<G4TwoVector>& polygon,
68 const std::vector<ZSection>& zsections);
71 G4UExtrudedSolid(
const G4String& pName,
72 const std::vector<G4TwoVector>& polygon,
82 G4int GetNofVertices()
const;
84 std::vector<G4TwoVector> GetPolygon()
const;
85 G4int GetNofZSections()
const;
86 ZSection GetZSection(
G4int index)
const;
87 std::vector<ZSection> GetZSections()
const;
93 G4UExtrudedSolid(__void__&);
98 G4UExtrudedSolid(
const G4UExtrudedSolid& source );
99 G4UExtrudedSolid &
operator=(
const G4UExtrudedSolid& source);
117 return "G4ExtrudedSolid";
CLHEP::Hep2Vector G4TwoVector
yystype & operator=(const yystype &right)