39#if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
41#include <VecGeom/volumes/UnplacedBox.h>
45class G4UBox :
public G4UAdapter<vecgeom::UnplacedBox>
47 using Shape_t = vecgeom::UnplacedBox;
48 using Base_t = G4UAdapter<vecgeom::UnplacedBox>;
57 void ComputeDimensions( G4VPVParameterisation* p,
59 const G4VPhysicalVolume* pRep)
override;
61 G4VSolid* Clone()
const override;
73 inline G4bool IsFaceted()
const override;
78 const G4VoxelLimits& pVoxelLimit,
79 const G4AffineTransform& pTransform,
82 G4Polyhedron* CreatePolyhedron()
const override;
91 G4UBox(
const G4UBox& rhs);
92 G4UBox& operator=(
const G4UBox& rhs);
105inline G4bool G4UBox::IsFaceted()
const
CLHEP::Hep3Vector G4ThreeVector