mirror of https://github.com/CGAL/cgal
Add squared radius for a point to make kernels model of the alpha shape traits class
This commit is contained in:
parent
354b232deb
commit
477980f0f4
|
|
@ -1328,6 +1328,10 @@ namespace HomogeneousKernelFunctors {
|
|||
operator()( const Circle_2& c) const
|
||||
{ return c.rep().squared_radius(); }
|
||||
|
||||
FT
|
||||
operator()( const Point_2& p) const
|
||||
{ return FT(0); }
|
||||
|
||||
FT
|
||||
operator()( const Point_2& p, const Point_2& q) const
|
||||
{
|
||||
|
|
@ -1354,6 +1358,10 @@ namespace HomogeneousKernelFunctors {
|
|||
operator()( const Sphere_3& s) const
|
||||
{ return s.rep().squared_radius(); }
|
||||
|
||||
FT
|
||||
operator()( const Point_3& p) const
|
||||
{ return FT(0); }
|
||||
|
||||
FT
|
||||
operator()( const Point_3& p, const Point_3& q) const
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue