|
DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
|
#include <VolumeBuildersUnitTypes.hh>
Public Member Functions | |
| ThreeVecDimensioner ()=default | |
| ThreeVecDimensioner (const ThreeVecDimensioner &)=delete | |
| ThreeVecDimensioner & | operator= (const ThreeVecDimensioner &)=delete |
| ThreeVecDimensioner (Length3Vec v) | |
| ThreeVecDimensioner (G4ThreeVector v, const Length &u) | |
| ThreeVecDimensioner (double x, double y, double z, const Length &u) | |
| ThreeVecDimensioner (double x, double y, double z) | |
| ThreeVecDimensioner (G4ThreeVector v) | |
| G4ThreeVector | apply_units (const Length dflt_unit) const |
| Length | x () const |
| void | x (const Length &val) |
| Length | y () const |
| void | y (const Length &val) |
| Length | z () const |
| void | z (const Length &val) |
| void | CheckValue (const G4String &context) const |
| void | CheckUnit (const G4String &context) const |
Static Public Member Functions | |
| static Length3Vec | FromNative (const G4ThreeVector &v) |
| static Length3Vec | FromNative (G4ThreeVector native_value) |
| static Length3Vec | GetGlobalDefault () |
Public Attributes | |
| double | x |
| double | y |
| double | z |
| NativeVectorProxy | Native {*this} |
| ScalableProxy< Length > | InUnits {*this} |
| DefaultUnitsProxy | InDefaultUnits |
Static Public Attributes | |
| static Length3Vec | native |
Protected Attributes | |
| Length | default_length_ {Length::native} |
| std::optional< G4ThreeVector > | NativeValue_ |
A 3D vector that manages unit policy for parameter passing If constructed with a unit, that's it.
If not the user has implicitly requested use of the receiver's units. The receiver is expected to call apply_unit(default) to get the reconciled result.
Stores unit, x, y, z as separate values.
Definition at line 34 of file VolumeBuildersUnitTypes.hh.
|
default |
|
delete |
|
inline |
Definition at line 43 of file VolumeBuildersUnitTypes.hh.
|
inline |
Definition at line 46 of file VolumeBuildersUnitTypes.hh.
|
inline |
Definition at line 49 of file VolumeBuildersUnitTypes.hh.
|
inline |
Definition at line 52 of file VolumeBuildersUnitTypes.hh.
|
inline |
Definition at line 57 of file VolumeBuildersUnitTypes.hh.
|
inline |
Definition at line 61 of file VolumeBuildersUnitTypes.hh.
|
inlineinherited |
Definition at line 271 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 260 of file DLG4Units.hh.
|
inlinestaticinherited |
Definition at line 515 of file DLG4Units.hh.
|
inlinestaticinherited |
Definition at line 232 of file DLG4Units.hh.
|
inlinestaticinherited |
Definition at line 258 of file DLG4Units.hh.
|
delete |
|
inlineinherited |
Definition at line 521 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 536 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 526 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 541 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 531 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 546 of file DLG4Units.hh.
|
protectedinherited |
Definition at line 559 of file DLG4Units.hh.
|
inherited |
Definition at line 228 of file DLG4Units.hh.
|
inherited |
Definition at line 465 of file DLG4Units.hh.
|
inlinestaticinherited |
Definition at line 231 of file DLG4Units.hh.
|
inherited |
Definition at line 463 of file DLG4Units.hh.
|
protectedinherited |
Definition at line 98 of file DLG4Units.hh.
| double x |
Definition at line 36 of file VolumeBuildersUnitTypes.hh.
| double y |
Definition at line 36 of file VolumeBuildersUnitTypes.hh.
| double z |
Definition at line 36 of file VolumeBuildersUnitTypes.hh.