98#if defined(G4GEOM_USE_USOLIDS)
99#define G4GEOM_USE_UTRAP 1
102#if defined(G4GEOM_USE_UTRAP)
103 #define G4UTrap G4Trap
216 const G4bool calcNorm =
false,
217 G4bool* validNorm =
nullptr,
228 std::ostream&
StreamInfo( std::ostream& os )
const;
259 void CheckParameters();
272 G4double fDz,fTthetaCphi,fTthetaSphi;
G4ThreeVector GetPointOnSurface() const
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)
G4Polyhedron * CreatePolyhedron() const
G4double GetTanAlpha2() const
G4double GetXHalfLength2() const
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4ThreeVector GetSymAxis() const
G4double GetXHalfLength4() const
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
void BoundingLimits(G4ThreeVector &pMin, G4ThreeVector &pMax) const
G4double GetSurfaceArea()
G4double GetZHalfLength() const
G4double GetYHalfLength2() const
EInside Inside(const G4ThreeVector &p) const
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4double GetTanAlpha1() const
TrapSidePlane GetSidePlane(G4int n) const
G4double GetCubicVolume()
G4bool MakePlane(const G4ThreeVector &p1, const G4ThreeVector &p2, const G4ThreeVector &p3, const G4ThreeVector &p4, TrapSidePlane &plane)
G4GeometryType GetEntityType() const
std::ostream & StreamInfo(std::ostream &os) const
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const
G4double GetXHalfLength3() const
G4double GetXHalfLength1() const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
G4Trap & operator=(const G4Trap &rhs)