mirror of https://github.com/CGAL/cgal
Merge pull request #5984 from MaelRL/FK-Complete_static_filter_profiler_-GF
Add missing profiler macros in the static filter of Collinear_3 (5.2)
This commit is contained in:
commit
2773ed09fb
|
|
@ -54,6 +54,8 @@ public:
|
||||||
fit_in_double(get_approx(r).x(), rx) && fit_in_double(get_approx(r).y(), ry) &&
|
fit_in_double(get_approx(r).x(), rx) && fit_in_double(get_approx(r).y(), ry) &&
|
||||||
fit_in_double(get_approx(r).z(), rz))
|
fit_in_double(get_approx(r).z(), rz))
|
||||||
{
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_1(tmp);
|
||||||
|
|
||||||
double dpx = (px - rx);
|
double dpx = (px - rx);
|
||||||
double dqx = (qx - rx);
|
double dqx = (qx - rx);
|
||||||
double dpy = (py - ry);
|
double dpy = (py - ry);
|
||||||
|
|
@ -78,11 +80,17 @@ public:
|
||||||
|
|
||||||
int int_tmp_result;
|
int int_tmp_result;
|
||||||
if (lower_bound_1 < 5.00368081960964635413e-147)
|
if (lower_bound_1 < 5.00368081960964635413e-147)
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (upper_bound_1 > 1.67597599124282407923e+153)
|
if (upper_bound_1 > 1.67597599124282407923e+153)
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
|
|
||||||
double eps = (8.88720573725927976811e-16 * (max1 * max2));
|
double eps = (8.88720573725927976811e-16 * (max1 * max2));
|
||||||
if (double_tmp_result > eps)
|
if (double_tmp_result > eps)
|
||||||
|
|
@ -90,9 +98,14 @@ public:
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (double_tmp_result < -eps)
|
if (double_tmp_result < -eps)
|
||||||
|
{
|
||||||
int_tmp_result = -1;
|
int_tmp_result = -1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -118,21 +131,34 @@ public:
|
||||||
upper_bound_1 = max3;
|
upper_bound_1 = max3;
|
||||||
|
|
||||||
if (lower_bound_1 < 5.00368081960964635413e-147)
|
if (lower_bound_1 < 5.00368081960964635413e-147)
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (upper_bound_1 > 1.67597599124282407923e+153)
|
if (upper_bound_1 > 1.67597599124282407923e+153)
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
|
|
||||||
double eps = (8.88720573725927976811e-16 * (max1 * max3));
|
double eps = (8.88720573725927976811e-16 * (max1 * max3));
|
||||||
if (double_tmp_result_k3Lzf6g > eps)
|
if (double_tmp_result_k3Lzf6g > eps)
|
||||||
|
{
|
||||||
int_tmp_result_3SPBwDj = 1;
|
int_tmp_result_3SPBwDj = 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (double_tmp_result_k3Lzf6g < -eps)
|
if (double_tmp_result_k3Lzf6g < -eps)
|
||||||
|
{
|
||||||
int_tmp_result_3SPBwDj = -1;
|
int_tmp_result_3SPBwDj = -1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -150,26 +176,41 @@ public:
|
||||||
upper_bound_1 = max3;
|
upper_bound_1 = max3;
|
||||||
|
|
||||||
if (lower_bound_1 < 5.00368081960964635413e-147)
|
if (lower_bound_1 < 5.00368081960964635413e-147)
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (upper_bound_1 > 1.67597599124282407923e+153)
|
if (upper_bound_1 > 1.67597599124282407923e+153)
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
|
|
||||||
double eps = (8.88720573725927976811e-16 * (max2 * max3));
|
double eps = (8.88720573725927976811e-16 * (max2 * max3));
|
||||||
if (double_tmp_result_AvrrXBP > eps)
|
if (double_tmp_result_AvrrXBP > eps)
|
||||||
|
{
|
||||||
int_tmp_result_Gx4H = 1;
|
int_tmp_result_Gx4H = 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (double_tmp_result_AvrrXBP < -eps)
|
if (double_tmp_result_AvrrXBP < -eps)
|
||||||
|
{
|
||||||
int_tmp_result_Gx4H = -1;
|
int_tmp_result_Gx4H = -1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
CGAL_BRANCH_PROFILER_BRANCH_2(tmp);
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int sign_of_determinant_return_value_k60Ocge = int_tmp_result_Gx4H;
|
int sign_of_determinant_return_value_k60Ocge = int_tmp_result_Gx4H;
|
||||||
return ((sign_of_determinant_return_value_FFWKCAA == 0) && (sign_of_determinant_return_value_k60Ocge == 0));
|
return ((sign_of_determinant_return_value_FFWKCAA == 0) && (sign_of_determinant_return_value_k60Ocge == 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
return Base::operator()(p, q, r);
|
return Base::operator()(p, q, r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue