|
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 (Unit3Vec 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 |
| Unit3Vec | FromNative (const G4ThreeVector &v) |
| Length | x () const |
| void | x (const Length &val) |
| Length | y () const |
| void | y (const Length &val) |
| Length | z () const |
| void | z (const Length &val) |
| G4ThreeVector | InUnits () const |
| G4ThreeVector | InUnits (const Length &u) const |
| G4ThreeVector | Native () const |
Public Attributes | |
| double | x |
| double | y |
| double | z |
Protected Attributes | |
| std::optional< G4ThreeVector > | NativeVec_ |
| Length | default_length_ |
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 58 of file VolumeBuildersUnitTypes.hh.
|
inline |
Definition at line 62 of file VolumeBuildersUnitTypes.hh.
|
inlineinherited |
Definition at line 479 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 496 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 498 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 507 of file DLG4Units.hh.
|
delete |
|
inlineinherited |
Definition at line 484 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 488 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 485 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 489 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 486 of file DLG4Units.hh.
|
inlineinherited |
Definition at line 490 of file DLG4Units.hh.
|
protectedinherited |
Definition at line 517 of file DLG4Units.hh.
|
protectedinherited |
Definition at line 516 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.