mirror of https://github.com/CGAL/cgal
Add operator to Compare_squared_distance_3
This commit is contained in:
parent
18084a7fbd
commit
4b10227f1f
|
|
@ -715,6 +715,12 @@ namespace HomogeneousKernelFunctors {
|
||||||
{
|
{
|
||||||
return CGAL_NTS compare(squared_distance(p, q), d2);
|
return CGAL_NTS compare(squared_distance(p, q), d2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result_type
|
||||||
|
operator()(const Point_3& p, const Point_3& q, const Point_3& r, const Point_3& s) const
|
||||||
|
{
|
||||||
|
return CGAL_NTS compare(squared_distance(p, q), squared_distance(r, s));
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename K>
|
template <typename K>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue