Correct bug in CSQ Triangle_Triangle

This commit is contained in:
Léo Valque 2025-02-27 18:00:40 +01:00
parent fbf588e936
commit 833a2bb4d0
1 changed files with 4 additions and 0 deletions

View File

@ -243,6 +243,10 @@ compare_squared_distance_disjoint(const typename K::Triangle_3& tr1,
return SMALLER;
res=smaller_of(res, temp_res_v_pl);
temp_res_v_pl= csq_dist(vertex(tr2, i), tr1,d2);
if(temp_res_v_pl==SMALLER)
return SMALLER;
res=smaller_of(res, temp_res_v_pl);
}
return res;