mirror of https://github.com/CGAL/cgal
Call opposite() when changing the order of arguments
This commit is contained in:
parent
4b74d71525
commit
dd249bb1f0
|
|
@ -489,7 +489,7 @@ namespace CartesianKernelFunctors {
|
||||||
result_type
|
result_type
|
||||||
operator()(const Point_3& p1, const Segment_3& s2, const Point_3& p2) const
|
operator()(const Point_3& p1, const Segment_3& s2, const Point_3& p2) const
|
||||||
{
|
{
|
||||||
return CGAL::internal::compare_distance_ppsC3(p1,p2,s2, K());
|
return opposite(CGAL::internal::compare_distance_ppsC3(p1,p2,s2, K()));
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T1, class T2, class T3>
|
template <class T1, class T2, class T3>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue