107 #if defined(G4GEOM_USE_USOLIDS)
108 #define G4GEOM_USE_UTRAP 1
111 #if defined(G4GEOM_USE_UTRAP)
112 #define G4UTrap G4Trap
225 const G4bool calcNorm=
false,
236 std::ostream&
StreamInfo( std::ostream& os )
const;
286 #include "G4Trap.icc"
G4double GetTanAlpha1() const
G4bool MakePlane(const G4ThreeVector &p1, const G4ThreeVector &p2, const G4ThreeVector &p3, const G4ThreeVector &p4, TrapSidePlane &plane)
void SetAllParameters(G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
void GetVertices(G4ThreeVector pt[8]) const
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
G4ThreeVector ApproxSurfaceNormal(const G4ThreeVector &p) const
G4double GetXHalfLength1() const
G4double GetXHalfLength4() const
G4double GetZHalfLength() const
G4double GetYHalfLength2() const
G4ThreeVector GetSymAxis() const
G4double GetXHalfLength3() const
EInside Inside(const G4ThreeVector &p) const
G4double GetXHalfLength2() const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4Polyhedron * CreatePolyhedron() const
G4Trap & operator=(const G4Trap &rhs)
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
G4GeometryType GetEntityType() const
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4ThreeVector GetPointOnSurface() const
void BoundingLimits(G4ThreeVector &pMin, G4ThreeVector &pMax) const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
G4double GetTanAlpha2() const
G4double GetYHalfLength1() const
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4double GetCubicVolume()
std::ostream & StreamInfo(std::ostream &os) const
G4double halfCarTolerance
G4double GetSurfaceArea()
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)
TrapSidePlane GetSidePlane(G4int n) const