Skip to content
Snippets Groups Projects

VP1HepVis: Assertion / error message fix

Merged Scott Snyder requested to merge ssnyder/athena:err.VP1HEPVis-20210901 into master
  1. Sep 01, 2021
    • scott snyder's avatar
      VP1HepVis: Assertion / error message fix · 60e3e36a
      scott snyder authored
      We were tripping the assertion in  SbPolyhedronPolygonXSect::Internals::setData
      because it could be called with three points (n=3).  But that case seems
      to be handled ok, so change the assertion to n>2.
      
      We also got a bunch of errors from SbPolyhedronCons::SbPolyhedronCons
      because the tracking geometry can produce zero-height cones.
      Just ignore those cases.
      60e3e36a
Loading