Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -28,14 +28,15 @@
|
||||
// Author: P.Kent, 1996
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
#include <ostream>
|
||||
|
||||
#include "G4VoxelNavigation.hh"
|
||||
#include "G4GeometryTolerance.hh"
|
||||
#include "G4VoxelSafety.hh"
|
||||
|
||||
#include "G4AuxiliaryNavServices.hh"
|
||||
|
||||
#include <cassert>
|
||||
#include <ostream>
|
||||
|
||||
// ********************************************************************
|
||||
// Constructor
|
||||
// ********************************************************************
|
||||
@@ -761,6 +762,17 @@ G4VoxelNavigation::ComputeSafety(const G4ThreeVector& localPoint,
|
||||
return ourSafety;
|
||||
}
|
||||
|
||||
void G4VoxelNavigation::RelocateWithinVolume( G4VPhysicalVolume* motherPhysical,
|
||||
const G4ThreeVector& localPoint )
|
||||
{
|
||||
auto motherLogical = motherPhysical->GetLogicalVolume();
|
||||
|
||||
assert(motherLogical != nullptr);
|
||||
|
||||
if ( auto pVoxelHeader = motherLogical->GetVoxelHeader() )
|
||||
VoxelLocate( pVoxelHeader, localPoint );
|
||||
}
|
||||
|
||||
// ********************************************************************
|
||||
// SetVerboseLevel
|
||||
// ********************************************************************
|
||||
|
||||
Reference in New Issue
Block a user