Skip to content

[VECGEOM-375] Fix invalid normal vectors from trapezoid

Guilherme Lima requested to merge lima/vecgeom-375 into master

This branch adds a test case in the trapezoid unit test, which showed the original problem, and fixed the problem in both PLANESHELL=ON,OFF configurations.

Fixing this bug requires relaxing the criteria for a point being on the surface, using the new argument for MakeMinus,PlusTolerant(refValue, tolerance=1.0e-9) templated function, now the tolerance is reset to 1.0e-6 for the trapezoid's GenericKernelForContainsAndInside().

Merge request reports