BrunoLevy / geogram

a programming library with geometric algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radial sort with polylines bugs

BrunoLevy opened this issue · comments

The following files crash with an assertion fail with the new radial sort with polylines function:

  • hyperboloid.csg
  • light_saber.csg
  • LED_lamp.csg
  • fractal_sierpinsky.csg
  • test_inclusion4.csg
  • example22.csg

(but they work with the old 'radial sort all bundles' code)

Sort by propagation along radial polyline: need to check that number of incident triangles match. Fixes all of them except:

  • light_saber.csg
  • fractal_sierpinsky3.csg

Additional conditions:

  • check that sorted lists of chart ids match exactly
  • check that the same chart id does not appear more than once (check in both reference and current bundle)
    (fixes light_saber and fractal_sierpinsky3)