Import Geant4 11.0.1 source tree
This commit is contained in:
@@ -19,6 +19,11 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
January 10, 2022, G.Cosmo geom-bool-V10-07-04
|
||||
- Added alternative signature for AddNode() taking a pointer to solid.
|
||||
Added 'const' qualification to transformation passed as argument.
|
||||
Addressing problem report #2457.
|
||||
|
||||
October 12, 2021 G.Cosmo geom-bool-V10-07-03
|
||||
- In G4BooleanSolid, use G4RecursiveMutex in place of G4Mutex in GetPolyhedron()
|
||||
to avoid potential deadlocks in recursive Boolean operations.
|
||||
|
||||
@@ -61,7 +61,8 @@ class G4MultiUnion : public G4VSolid
|
||||
~G4MultiUnion();
|
||||
|
||||
// Build the multiple union by adding nodes
|
||||
void AddNode(G4VSolid& solid, G4Transform3D& trans);
|
||||
void AddNode(G4VSolid& solid, const G4Transform3D& trans);
|
||||
void AddNode(G4VSolid* solid, const G4Transform3D& trans);
|
||||
|
||||
G4MultiUnion(const G4MultiUnion& rhs);
|
||||
G4MultiUnion& operator=(const G4MultiUnion& rhs);
|
||||
|
||||
@@ -66,12 +66,19 @@ G4MultiUnion::~G4MultiUnion()
|
||||
}
|
||||
|
||||
//______________________________________________________________________________
|
||||
void G4MultiUnion::AddNode(G4VSolid& solid, G4Transform3D& trans)
|
||||
void G4MultiUnion::AddNode(G4VSolid& solid, const G4Transform3D& trans)
|
||||
{
|
||||
fSolids.push_back(&solid);
|
||||
fTransformObjs.push_back(trans); // Store a local copy of transformations
|
||||
}
|
||||
|
||||
//______________________________________________________________________________
|
||||
void G4MultiUnion::AddNode(G4VSolid* solid, const G4Transform3D& trans)
|
||||
{
|
||||
fSolids.push_back(solid);
|
||||
fTransformObjs.push_back(trans); // Store a local copy of transformations
|
||||
}
|
||||
|
||||
//______________________________________________________________________________
|
||||
G4VSolid* G4MultiUnion::Clone() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user