Skip to content

Revision of volume calculation

Evgueni Tcherniaev requested to merge (removed):evc/volumes into master
  • Revised code of volume() for the following shapes:

GeoPara
GeoTrd
GeoTrap
GeoGenericTrap
GeoTwistedTrap
GeoTorus

GeoPgon
GeoSimplePolygonBrep
GeoTessellatedSolid

  • Checked that the volumes of all non-Boolean shapes are equal to the volumes of corresponding Geant4 shapes

  • Added implementation of GeoTessellatedSolid::isValid(). This method returns true if the solid has at least four facets (tetrahedron), false otherwise

Merge request reports