3.1.1.4.1.19. opengate.geometry.helpers_geometry

3.1.1.4.1.19.1. Module Contents

3.1.1.4.1.19.1.1. Functions

box_add_size(box, thickness)

cons_add_size(cons, thickness)

get_volume_bounding_limits(simulation, volume_name)

Return the min and max 3D points of the bounding box of the given volume

get_volume_bounding_box_size(simulation, volume_name)

Return the size of the bounding box of the given volume

translate_point_to_volume(simulation, volume, top, x)

Consider the point x in the current volume and return the coordinate of x in the top volume

render_tree(tree, geometry)

Print a tree of volume

build_tree(simulation)

add_volume_to_tree(user_info_volumes, already_done, ...)

copy_volume_user_info(ref_volume, target_volume)

3.1.1.4.1.19.1.2. Attributes

volume_type_names

volume_builders

http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/html/Detector/Geometry/geomSolids.html#constructed-solid-geometry-csg-solids

elements_name_symbol

opengate.geometry.helpers_geometry.volume_type_names[source]
opengate.geometry.helpers_geometry.volume_builders[source]

http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/html/Detector/Geometry/geomSolids.html#constructed-solid-geometry-csg-solids

opengate.geometry.helpers_geometry.box_add_size(box, thickness)[source]
opengate.geometry.helpers_geometry.cons_add_size(cons, thickness)[source]
opengate.geometry.helpers_geometry.get_volume_bounding_limits(simulation, volume_name)[source]

Return the min and max 3D points of the bounding box of the given volume

opengate.geometry.helpers_geometry.get_volume_bounding_box_size(simulation, volume_name)[source]

Return the size of the bounding box of the given volume

opengate.geometry.helpers_geometry.translate_point_to_volume(simulation, volume, top, x)[source]

Consider the point x in the current volume and return the coordinate of x in the top volume (that must be an ancestor). Translation only, do not consider rotation.

opengate.geometry.helpers_geometry.elements_name_symbol[source]
opengate.geometry.helpers_geometry.render_tree(tree, geometry)[source]

Print a tree of volume

opengate.geometry.helpers_geometry.build_tree(simulation)[source]
opengate.geometry.helpers_geometry.add_volume_to_tree(user_info_volumes, already_done, tree, vol)[source]
opengate.geometry.helpers_geometry.copy_volume_user_info(ref_volume, target_volume)[source]