98#if defined(G4GEOM_USE_USOLIDS)
99#define G4GEOM_USE_UTRAP 1
102#if defined(G4GEOM_USE_UTRAP)
103 #define G4UTrap G4Trap
223 const G4bool calcNorm =
false,
224 G4bool* validNorm =
nullptr,
235 std::ostream&
StreamInfo( std::ostream& os )
const override;
264 void CheckParameters();
277 G4double fDz,fTthetaCphi,fTthetaSphi;
G4double GetCubicVolume() override
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep) override
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const override
G4GeometryType GetEntityType() const override
G4double GetYHalfLength1() const
void SetAllParameters(G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
G4ThreeVector GetPointOnSurface() const override
G4double GetAlpha2() const
G4double GetTanAlpha2() const
G4double GetAlpha1() const
G4double GetTheta() const
G4double GetXHalfLength2() const
G4VSolid * Clone() const override
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const override
G4ThreeVector GetSymAxis() const
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const override
std::ostream & StreamInfo(std::ostream &os) const override
G4double GetXHalfLength4() const
EInside Inside(const G4ThreeVector &p) const override
G4double GetSurfaceArea() override
G4double GetZHalfLength() const
G4double GetYHalfLength2() const
G4Polyhedron * CreatePolyhedron() const override
G4double GetTanAlpha1() const
TrapSidePlane GetSidePlane(G4int n) const
G4Trap(const G4String &pName, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const override
G4bool MakePlane(const G4ThreeVector &p1, const G4ThreeVector &p2, const G4ThreeVector &p3, const G4ThreeVector &p4, TrapSidePlane &plane)
void DescribeYourselfTo(G4VGraphicsScene &scene) const override
G4double GetXHalfLength3() const
G4double GetXHalfLength1() const
void BoundingLimits(G4ThreeVector &pMin, G4ThreeVector &pMax) const override
G4Trap & operator=(const G4Trap &rhs)