mirror of https://github.com/CGAL/cgal
remove duplicated operator() in Has_on_3
This commit is contained in:
parent
d61f26ea11
commit
88f5116094
|
|
@ -3571,22 +3571,6 @@ namespace CartesianKernelFunctors {
|
|||
&& ((alpha+beta+gamma == FT(1)));
|
||||
}
|
||||
|
||||
result_type
|
||||
operator()(const Sphere_3 &a, const Point_3 &p) const
|
||||
{ return a.rep().has_on_boundary(p); }
|
||||
|
||||
result_type
|
||||
operator()(const Sphere_3 &s, const Circle_3 &c) const
|
||||
{
|
||||
Point_3 proj = c.supporting_plane().projection(s.center());
|
||||
if(!(proj == c.center())) return false;
|
||||
const FT d2 = CGAL::squared_distance(s.center(),c.center());
|
||||
return ((s.squared_radius() - d2) == c.squared_radius());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
result_type
|
||||
operator()(const Circle_3 &a, const Point_3 &p) const
|
||||
{ return a.rep().has_on(p); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue