mirror of https://github.com/CGAL/cgal
overloads: template <typename T1, typename T2> Comparison_result operator()(T1, T2, Kernel::FT); and template <typename T1, typename T2, typename T3, typename T4> Comparison_result operator()(T1, T2, T3, T4); // compare distances |t1, t2|^2 and |t3, t4|^2. Before that revision, the types T_i were hardcoded to Kernel::Point_3 without any reason. And Kernel::Compare_Squared_distance_2 and Kernel::Compare_Squared_distance_3 now have the same implementation, and almost the same documentation (but the set of admitted input types). The implementations could even have been factorized. (The Kernel_23 testsuite passes on Linux, as well as the doc_tex testsuite.) |
||
|---|---|---|
| .. | ||
| CGAL | ||