34#ifndef G4UGENERICPOLYCONE_HH
35#define G4UGENERICPOLYCONE_HH
39#if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
41#include <VecGeom/volumes/UnplacedGenericPolycone.h>
46class G4UGenericPolycone :
public G4UAdapter<vecgeom::UnplacedGenericPolycone>
48 using Shape_t = vecgeom::UnplacedGenericPolycone;
49 using Base_t = G4UAdapter<vecgeom::UnplacedGenericPolycone>;
53 G4UGenericPolycone(
const G4String& name,
60 ~G4UGenericPolycone()
override;
69 G4int GetNumRZCorner()
const;
70 G4PolyconeSideRZ GetCorner(
G4int index)
const;
74 G4VSolid* Clone()
const override;
76 G4UGenericPolycone(__void__&);
81 G4UGenericPolycone(
const G4UGenericPolycone& source );
82 G4UGenericPolycone& operator=(
const G4UGenericPolycone& source);
88 const G4VoxelLimits& pVoxelLimit,
89 const G4AffineTransform& pTransform,
92 G4Polyhedron* CreatePolyhedron()
const override;
98 std::vector<G4TwoVector> rzcorners;
107 return "G4GenericPolycone";
CLHEP::Hep3Vector G4ThreeVector