Triangulation_3: Store subdeterminant for in_sphere predicate#9495
Triangulation_3: Store subdeterminant for in_sphere predicate#9495afabri wants to merge 10 commits into
Conversation
|
Rather frustrating it seems to be 10% slower. Although with |
The "true" computations are just pt* and det, all the rest is overhead in some sense. |
|
Successfully tested in CGAL-6.3-Ic-6 |
I gave a quick try what @sloriot suggested me today: The max values computed in the static filter can be upper bounded by the span of the bounding box of the input points. That leads to 10% filter failures in the in-sphere predicate for a random point cloud in a unit cube and to 75% filter failures for points forming a surface Nefertiti (rescaled to be also in the unit cube). |
Summary of Changes
Following [Marot &al] we store four sub determinants in each cell to accelerate the in sphere test needed for the Delaunay property.
This is only a draft pull request as currently I store the four sub determinants as
info()and the code is in an#ifdefmacro. We should test at compile time for the presence of a member functionsub_determinants()to conditionally activate code.Todo
#ifdefRelease Management