39#if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
41#include <VecGeom/volumes/UnplacedTrd.h>
45class G4UTrd :
public G4UAdapter<vecgeom::GenericUnplacedTrd>
47 using Shape_t = vecgeom::GenericUnplacedTrd;
48 using Base_t = G4UAdapter<vecgeom::GenericUnplacedTrd>;
52 G4UTrd(
const G4String& pName,
60 void ComputeDimensions( G4VPVParameterisation* p,
62 const G4VPhysicalVolume* pRep)
override;
64 G4VSolid* Clone()
const override;
83 inline G4bool IsFaceted()
const override;
88 const G4VoxelLimits& pVoxelLimit,
89 const G4AffineTransform& pTransform,
92 G4Polyhedron* CreatePolyhedron()
const override;
101 G4UTrd(
const G4UTrd& rhs);
102 G4UTrd& operator=(
const G4UTrd& rhs);
115inline G4bool G4UTrd::IsFaceted()
const
CLHEP::Hep3Vector G4ThreeVector