Skip to content

Lima/trap fix for geant4test

Guilherme Lima requested to merge lima/trap-fixForGeant4test into master

Fixes to a bug, in which trapezoid constructor based on 8-point list of corners were not properly building the side planes when called through the USolids interface (Thanks to Evgueni for this bug report).

In addition, improved the normal kernel, so points around edges and corners are averages of the normals of all surfaces around the edges or corners. This averaging was added with hopefully as minimal impact on performance as possible.

Merge request reports