Mentions légales du service

Skip to content

Add a histogram counter for 2d ray shooting (and fix a memory leak)

Andreas Fabri requested to merge Profile-shooting into develop

We currently shoot 3 rays in order to determine if a point is inside or outside a 2d polygon (with cuurved arcs). By adding a histogram we can see how often the 3 tests do not have the same result. If that happens rarely we may take a closer look to identify when this happens.

At the same time I replaced a new/delete and another new without delete switching to std::array

Merge request reports