Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VExternalNavigation Class Referenceabstract

#include <G4VExternalNavigation.hh>

+ Inheritance diagram for G4VExternalNavigation:

Public Member Functions

 G4VExternalNavigation ()
 
virtual ~G4VExternalNavigation ()
 
virtual G4VExternalNavigationClone ()=0
 
virtual EInside Inside (const G4VSolid *solid, const G4ThreeVector &position, const G4ThreeVector &direction)
 
virtual void RelocateWithinVolume (G4VPhysicalVolume *motherPhysical, const G4ThreeVector &localPoint)
 
- Public Member Functions inherited from G4VNavigation
virtual ~G4VNavigation ()
 
virtual G4bool LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint)=0
 
virtual G4double ComputeStep (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo)=0
 
virtual G4double ComputeSafety (const G4ThreeVector &globalpoint, const G4NavigationHistory &history, const G4double pMaxLength=DBL_MAX)=0
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int level)
 
void CheckMode (G4bool mode)
 

Additional Inherited Members

- Protected Attributes inherited from G4VNavigation
G4int fVerbose = 0
 
G4bool fCheck = false
 

Detailed Description

Definition at line 45 of file G4VExternalNavigation.hh.

Constructor & Destructor Documentation

◆ G4VExternalNavigation()

G4VExternalNavigation::G4VExternalNavigation ( )
default

◆ ~G4VExternalNavigation()

G4VExternalNavigation::~G4VExternalNavigation ( )
virtualdefault

Member Function Documentation

◆ Clone()

virtual G4VExternalNavigation * G4VExternalNavigation::Clone ( )
pure virtual

◆ Inside()

EInside G4VExternalNavigation::Inside ( const G4VSolid * solid,
const G4ThreeVector & position,
const G4ThreeVector & direction )
virtual

Definition at line 49 of file G4VExternalNavigation.cc.

53{
54 return solid->Inside(pos);
55}
virtual EInside Inside(const G4ThreeVector &p) const =0

Referenced by G4Navigator::LocateGlobalPointAndSetup().

◆ RelocateWithinVolume()

void G4VExternalNavigation::RelocateWithinVolume ( G4VPhysicalVolume * ,
const G4ThreeVector &  )
virtual

Update internal navigation state to take into account that location has been moved, but remains within the motherPhysical volume.

Parameters
[in]motherPhysicalCurrent physical volume.
[in]localPointLocal point.

Reimplemented from G4VNavigation.

Definition at line 60 of file G4VExternalNavigation.cc.

62{
63 // Default action is do-nothing
64 // A concrete external navigation class must update any relevant
65 // internal state to take account that
66 // - the location has been moved to 'localPoint'
67 // - which remains in the current (mother) physical volume motherPhysical
68 // ( provided for fast access and/or checking. )
69}

Referenced by G4Navigator::LocateGlobalPointWithinVolume(), and G4SafetyCalculator::QuickLocateWithinVolume().


The documentation for this class was generated from the following files: