use FT instead of RT

Compare_distance_3 is a generic functor that is comparing
the returned value of Squared_distance_3. If called to
compare the distance of a point to a plane/segment/triangle
a division is used leading to runtime error.
This commit is contained in:
Sébastien Loriot 2020-02-25 14:25:20 +01:00
parent e40aaafd28
commit ba2f2c1c20
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ CGAL_Kernel_pred(Compare_dihedral_angle_3,
compare_dihedral_angle_3_object)
CGAL_Kernel_pred(Compare_distance_2,
compare_distance_2_object)
CGAL_Kernel_pred_RT(Compare_distance_3,
compare_distance_3_object)
CGAL_Kernel_pred(Compare_distance_3,
compare_distance_3_object)
CGAL_Kernel_pred_RT(Compare_power_distance_2,
compare_power_distance_2_object)
CGAL_Kernel_pred_RT(Compare_power_distance_3,