mirror of https://github.com/CGAL/cgal
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:
parent
e40aaafd28
commit
ba2f2c1c20
|
|
@ -119,7 +119,7 @@ CGAL_Kernel_pred(Compare_dihedral_angle_3,
|
||||||
compare_dihedral_angle_3_object)
|
compare_dihedral_angle_3_object)
|
||||||
CGAL_Kernel_pred(Compare_distance_2,
|
CGAL_Kernel_pred(Compare_distance_2,
|
||||||
compare_distance_2_object)
|
compare_distance_2_object)
|
||||||
CGAL_Kernel_pred_RT(Compare_distance_3,
|
CGAL_Kernel_pred(Compare_distance_3,
|
||||||
compare_distance_3_object)
|
compare_distance_3_object)
|
||||||
CGAL_Kernel_pred_RT(Compare_power_distance_2,
|
CGAL_Kernel_pred_RT(Compare_power_distance_2,
|
||||||
compare_power_distance_2_object)
|
compare_power_distance_2_object)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue