55 #if defined(G4GEOM_USE_USOLIDS)
56 #define G4GEOM_USE_UTET 1
59 #if defined(G4GEOM_USE_UTET)
101 const G4bool calcNorm=
false,
113 std::ostream&
StreamInfo(std::ostream& os)
const;
136 {
return "$Id: G4Tet.hh 99781 2016-10-05 10:18:54Z gcosmo $"; }
140 { warningFlag=flag; }
150 G4double fCubicVolume, fSurfaceArea;
152 mutable G4bool fRebuildPolyhedron;
157 static const char CVSVers[];
162 G4ThreeVector fNormal123, fNormal142, fNormal134, fNormal234;
166 G4double fCdotN123, fCdotN142, fCdotN134, fCdotN234;
167 G4double fXMin, fXMax, fYMin, fYMax, fZMin, fZMax;
168 G4double fDx, fDy, fDz, fTol, fMaxSize;
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
G4ThreeVector GetPointOnSurface() const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4GeometryType GetEntityType() const
void PrintWarnings(G4bool flag)
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) const
std::vector< G4ThreeVector > GetVertices() const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
static G4bool CheckDegeneracy(G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4)
void Extent(G4ThreeVector &pMin, G4ThreeVector &pMax) const
G4Polyhedron * CreatePolyhedron() const
std::ostream & StreamInfo(std::ostream &os) const
G4double GetCubicVolume()
const char * CVSFileVers()
G4double GetSurfaceArea()
EInside Inside(const G4ThreeVector &p) const
const char * CVSHeaderVers()
G4VisExtent GetExtent() const
G4Tet & operator=(const G4Tet &rhs)
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4Polyhedron * GetPolyhedron() const
G4Tet(const G4String &pName, G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4, G4bool *degeneracyFlag=0)
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const