Skip to content

Fully introduce Polyhedron representation

Andreas Salzburger requested to merge 699-surfacearray-optimisation into master

Works towards closing #699

It will remove the redundant:

  • binmembers()
  • neighbours()

methods (and the associated register* methods) from the DetectorElementBase, those are not used anymore as the surface handling works differently.

In order to allow automated sorting, the PolyhedronRepresentation already existing for parts of the Surface classes is being expanded for all Surfaces. The class is renamed to Polyhedron and made additive, such that volumes can also return Polyhedron objects.

In addition, an Extent class is introduced that will eventually replace all the object parsing in the GeometryBuilding in a follow-up merge request.

All Surfaces are in addition tested for their Polyhedron representation.

Edited by Andreas Salzburger

Merge request reports