DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
|
Functions | |
DerivedPtr | AddUnion (const BuilderView &other, const Unit3Vec &offset={CLHEP::mm, 0, 0, 0}, G4RotationMatrix *rotation=nullptr) |
DerivedPtr | AddSubtraction (const BuilderView &other, const Unit3Vec &offset={CLHEP::mm, 0, 0, 0}, G4RotationMatrix *rotation=nullptr) |
DerivedPtr | AddIntersection (const BuilderView &other, const Unit3Vec &offset={CLHEP::mm, 0, 0, 0}, G4RotationMatrix *rotation=nullptr) |
Define combination another volume with present one,.
VolumeBuilder< U >::DerivedPtr AddIntersection | ( | const BuilderView & | other, |
const Unit3Vec & | offset = {CLHEP::mm, 0, 0, 0} , |
||
G4RotationMatrix * | rotation = nullptr |
||
) |
Define combination another volume with present one, This does NOT immediately trigger a build on a passed-in builder, just pre-sets the relationship.
other | A VolumeBuilder, G4VSolid, or anything constructable by a VolumeReferencePtr |
offset | Offset applied to solid |
rotation | Applied to solid |
Definition at line 267 of file VolumeBuilder.hpp.
VolumeBuilder< U >::DerivedPtr AddSubtraction | ( | const BuilderView & | other, |
const Unit3Vec & | offset = {CLHEP::mm, 0, 0, 0} , |
||
G4RotationMatrix * | rotation = nullptr |
||
) |
Define combination another volume with present one, This does NOT immediately trigger a build on a passed-in builder, just pre-sets the relationship.
other | A VolumeBuilder, G4VSolid, or anything constructable by a VolumeReferencePtr |
offset | Offset applied to solid |
rotation | Applied to solid |
Definition at line 252 of file VolumeBuilder.hpp.
VolumeBuilder< U >::DerivedPtr AddUnion | ( | const BuilderView & | other, |
const Unit3Vec & | offset = {CLHEP::mm, 0, 0, 0} , |
||
G4RotationMatrix * | rotation = nullptr |
||
) |
Define combination another volume with present one, This does NOT immediately trigger a build on a passed-in builder, just pre-sets the relationship.
other | A VolumeBuilder, G4VSolid, or anything constructable by a VolumeReferencePtr |
offset | Offset applied to solid |
rotation | Applied to solid |
Definition at line 243 of file VolumeBuilder.hpp.