Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] another extended kernel question

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] another extended kernel question


Chronological Thread 
  • From: Peter Sadrozinski <>
  • To:
  • Subject: Re: [cgal-discuss] another extended kernel question
  • Date: Fri, 17 Jun 2016 08:02:40 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:+1kQbxPrATsF8jO+M3gl6mtUPXoX/o7sNwtQ0KIMzox0KPj8rarrMEGX3/hxlliBBdydsKIVzbuO+Py+EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35Xxhrj5p8ObSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBK71dqB9Qb1DByk9KEg04tfqvF/NV1ih/HwZB10bjhdSSzPM4Av9TJb3qSj7/r5lwyCWJ8rkTLYvWjWK4KJiSRuugyACYW1quFrLg9B92foI6CmqoAZyltbZ

Thanks!

Without pulling the patch, I just added the const to my ()(Pt,int) function,
and verified no more infinite loop.

Pete

On 06/14/2016 02:46 AM, Sebastien Loriot (GeometryFactory) wrote:
This commit [1] highlights that you were missing a const for
operator()(Pt,int) of the Construct_cartesian iterator class.

I've open this PR [2] to prevent this to happen again.

Sebastien.

[1]
https://github.com/CGAL/cgal/pull/1169/commits/31d2638b47e202fa80105e5d94b8dd29201675d6
[2] https://github.com/CGAL/cgal/pull/1169

On 05/22/2016 09:00 PM, Peter Sadrozinski wrote:
Hello,

I have snaprounding working well with my custom point, now I am having
difficulty with kd-tree.

I've used this construct a lot with EPECK and EPICK, but with my custom
kernel, the search traits adaptor is calling itself over and over until
stack overflow.

I've created a gist at
https://gist.github.com/petersadro/9e25f44c5bc09f7a00038fbc8b92c012

Is there something I'm missing in my kernel?

Pete






Archive powered by MHonArc 2.6.18.

Top of Page