|
DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
|
Functions | |
| DerivedPtr | SetDefaultUnit (G4double unit) |
| DerivedPtr | SetDefaultUnit (G4double unit) |
| G4double | GetEffectiveDefaultUnit () const |
| void | SetGlobalDefaultUnit (G4double unit) |
Methods to set units used in geometry methods.
Methods are available for both VolumeBuilder and StructureBuilder (ie builders and assemblies).
| G4double GetEffectiveDefaultUnit | ( | ) | const |
Get the builder default unit or global if not set.
Definition at line 908 of file VolumeBuilder.hpp.
| DerivedPtr SetDefaultUnit | ( | G4double | unit | ) |
Set the per-Structure default unit for all later non-factory offsets.
Use DLG4::VolumeBuilders::SetGlobalDefaultUnit() to set a default for all builders, or fall back to the initial default of CLHEP::mm.
| unit | The unit to set, ex: CLHEP::mm |
| VolumeBuilder< U >::DerivedPtr SetDefaultUnit | ( | G4double | unit | ) |
Set the per-Builder default unit for all later non-factory offsets.
Use DLG4::VolumeBuilders::SetGlobalDefaultUnit() to set a default for all builders, or fall back to the initial default of CLHEP::mm.
| unit | The unit to set, ex: CLHEP::mm |
Definition at line 902 of file VolumeBuilder.hpp.
|
inline |
Set the default unit for all VolumeBuilder methods.
Definition at line 58 of file VolumeBuilderConfigs.hh.