Subject: CGAL users discussion list
List archive
- From: Menelaos Karavelas <>
- To:
- Subject: Re: [cgal-discuss] Apollonius Graph -- Segmentation fault
- Date: Fri, 11 Oct 2013 11:17:02 +0300
Hi Stefan.
If I remember correctly circulators are only defined for 2-dimensional
triangulations (and thus Apollonius graphs as well).
In that respect, you really cannot avoid testing for the dimension of your
Apollonius graph.
- m.
On 11 Oct 2013, at 01:18, Stefan Salewski wrote:
> On Thu, 2013-10-10 at 22:54 +0200, Stefan Salewski wrote:
>> May the problem be simple that the output loop fails when we have only
>> one visible site?
>
> After reading (again) some documentation about CGAL's circulators, I
> really guess that there is a bug.
>
> It is clear that I have to test for empty graph, maybe something like
> circ == NULL (I read about tests for empty ranges, but I guess that will
> not work well for hulls.)
>
> But ++circ should never give invalid values for circulators, from my
> understanding of the documentation. But segmentation fault indicates
> that there is an undefined value.
>
> So it seems that I really have to handle the case with only one visible
> side separately, which makes my code a bit ugly.
>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
- [cgal-discuss] Apollonius Graph -- Segmentation fault, Stefan Salewski, 10/10/2013
- Re: [cgal-discuss] Apollonius Graph -- Segmentation fault, Stefan Salewski, 10/10/2013
- Re: [cgal-discuss] Apollonius Graph -- Segmentation fault, Stefan Salewski, 10/11/2013
- Re: [cgal-discuss] Apollonius Graph -- Segmentation fault, Menelaos Karavelas, 10/11/2013
- Re: [cgal-discuss] Apollonius Graph -- Segmentation fault, Stefan Salewski, 10/11/2013
- Re: [cgal-discuss] Apollonius Graph -- Segmentation fault, Stefan Salewski, 10/10/2013
Archive powered by MHonArc 2.6.18.