Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Crash by transforming Polyhedron_3 to Nef_Polyhedron_3

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Crash by transforming Polyhedron_3 to Nef_Polyhedron_3


Chronological Thread 
  • From: Kneuss Gilles <>
  • To: "" <>
  • Subject: RE: [cgal-discuss] Crash by transforming Polyhedron_3 to Nef_Polyhedron_3
  • Date: Fri, 23 Oct 2015 11:02:01 +0000
  • Accept-language: de-CH, en-US
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:mtZVbRZ5gduBytrA9Lp5ZJv/LSx+4OfEezUN459isYplN5qZpcq8bnLW6fgltlLVR4KTs6sC0LqL9fi+Ejddqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh730o8OYOFgArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Ku4zQrVcSTgnKGso/9bDtB/ZTALJ6GFWGjEdnRNMRgTE9xrnRYzZsy3gt+M71jPMbuPsSrVhejKv8rxwADDpjCMKLHZt02fal9dryo1zvBW7oRtkhYXTZdfGZ7JFYqrBcIZCFiJ6VcFLWnkZDw==

Hello Sebastien,

Setting the compilation flag CGAL_NDEBUG, the problem has disappeared !
(using compiler MinGW 4.8 32b, W7).

Have a nice week end.

Gilles

-----Message d'origine-----
De :


[mailto:]
De la part de Sebastien Loriot (GeometryFactory)
Envoyé : jeudi 22 octobre 2015 11:32
À :

Objet : Re: [cgal-discuss] Crash by transforming Polyhedron_3 to
Nef_Polyhedron_3

I won't because I think the error is in your code.
Have a look at the example I provided in my previous message and compare it
to the relevant part in your code.

Sebastien.

On 10/22/2015 11:27 AM, Kneuss Gilles wrote:
> Thank you.
> In case you have an idea, coming afterward, let me know !
>
> Have a nice day
>
> Gilles
>
> -----Message d'origine-----
> De :
>
>
> [mailto:]
> De la part de Sebastien Loriot
> (GeometryFactory) Envoyé : jeudi 22 octobre 2015 11:05 À :
>
> Objet : Re: [cgal-discuss] Crash by transforming
> Polyhedron_3 to Nef_Polyhedron_3
>
> No sorry no idea, I can load your input without problem as a Nef polyhedron.
>
> Sebastien.
>
> On 10/22/2015 10:14 AM, Kneuss Gilles wrote:
>> Sebastien,
>>
>> I construct a simpler forme (a cube).
>>
>> The screenshot look like this :
>>
>> Giving a (simple) program you can compile will bring me hours of work !
>>
>> Don’t you have a clue/a beginning of a clue, despite ?
>>
>> Gilles
>>
>> -----Message d'origine-----
>> De :
>>
>> [mailto:]
>> De la part de Sebastien Loriot
>> (GeometryFactory)
>> Envoyé : jeudi 22 octobre 2015 09:55
>> À :
>>
>> Objet : Re: [cgal-discuss] Crash by transforming Polyhedron_3 to
>> Nef_Polyhedron_3
>>
>> I don't understand.
>>
>> In your first bug report you showed a screenshot that has nothing to
>> do with the input you provide in your latest message.
>>
>> Could you please provide a minimal and complete program I can compile
>> and run, and that is showing the problem?
>>
>> Thanks,
>>
>> Sebastien.
>>
>> On 10/22/2015 09:50 AM, Kneuss Gilles wrote:
>>
>> > Sebastien,
>>
>> >
>>
>> > It's created inside the application, I do not save it to a file...
>>
>> >
>>
>> > After constructing a simple cube, this portion of code :
>>
>> >
>>
>> > voidPolyhedron_ac::/essai/(){
>>
>> >
>>
>> > Facet_const_iteratorf;
>>
>> >
>>
>> > intfacesN;
>>
>> >
>>
>> > facesN=1;
>>
>> >
>>
>> > for(f=facets_begin();f!=facets_end();f++){
>>
>> >
>>
>> > qDebug()<<"Face#"<<facesN++;
>>
>> >
>>
>> > //onparcourslespointsdelaface
>>
>> >
>>
>> > HF_circulatorhe=f->facet_begin();
>>
>> >
>>
>> > do{
>>
>> >
>>
>> > qDebug()<<"x:"<<CGAL::to_double(he->vertex()->point().x())
>>
>> >
>>
>> > <<";y:"<<CGAL::to_double(he->vertex()->point().y())
>>
>> >
>>
>> > <<";z:"<<CGAL::to_double(he->vertex()->point().z())<<";";
>>
>> >
>>
>> > }
>>
>> >
>>
>> > while(++he!=f->facet_begin());
>>
>> >
>>
>> > }
>>
>> >
>>
>> > if(this->is_closed()){
>>
>> >
>>
>> > Nef_polyhedrontempo(*this);//hereit'scrashing!
>>
>> >
>>
>> > }
>>
>> >
>>
>> > }
>>
>> >
>>
>> > //
>>
>> >
>>
>> > …gives this output, just before it crashes :
>>
>> >
>>
>> > Face # 1
>>
>> >
>>
>> > x : -5 ; y : -5 ; z : 0 ;
>>
>> >
>>
>> > x : -5 ; y : 5 ; z : 0 ;
>>
>> >
>>
>> > x : 5 ; y : 5 ; z : 0 ;
>>
>> >
>>
>> > x : 5 ; y : -5 ; z : 0 ;
>>
>> >
>>
>> > Face # 2
>>
>> >
>>
>> > x : 5 ; y : -5 ; z : 10 ;
>>
>> >
>>
>> > x : 5 ; y : 5 ; z : 10 ;
>>
>> >
>>
>> > x : -5 ; y : 5 ; z : 10 ;
>>
>> >
>>
>> > x : -5 ; y : -5 ; z : 10 ;
>>
>> >
>>
>> > Face # 3
>>
>> >
>>
>> > x : 5 ; y : 5 ; z : 0 ;
>>
>> >
>>
>> > x : 5 ; y : 5 ; z : 10 ;
>>
>> >
>>
>> > x : 5 ; y : -5 ; z : 10 ;
>>
>> >
>>
>> > x : 5 ; y : -5 ; z : 0 ;
>>
>> >
>>
>> > Face # 4
>>
>> >
>>
>> > x : -5 ; y : 5 ; z : 0 ;
>>
>> >
>>
>> > x : -5 ; y : 5 ; z : 10 ;
>>
>> >
>>
>> > x : 5 ; y : 5 ; z : 10 ;
>>
>> >
>>
>> > x : 5 ; y : 5 ; z : 0 ;
>>
>> >
>>
>> > Face # 5
>>
>> >
>>
>> > x : -5 ; y : -5 ; z : 0 ;
>>
>> >
>>
>> > x : -5 ; y : -5 ; z : 10 ;
>>
>> >
>>
>> > x : -5 ; y : 5 ; z : 10 ;
>>
>> >
>>
>> > x : -5 ; y : 5 ; z : 0 ;
>>
>> >
>>
>> > Face # 6
>>
>> >
>>
>> > x : 5 ; y : -5 ; z : 0 ;
>>
>> >
>>
>> > x : 5 ; y : -5 ; z : 10 ;
>>
>> >
>>
>> > x : -5 ; y : -5 ; z : 10 ;
>>
>> >
>>
>> > x : -5 ; y : -5 ; z : 0 ;
>>
>> >
>>
>> > *Le programme s'est terminé subitement.*
>>
>> >
>>
>> > **
>>
>> >
>>
>> > //
>>
>> >
>>
>> > Gilles//
>>
>> >
>>
>> > -----Message d'origine-----
>>
>> > De :
>>
>>
>> <mailto:>
>>
>> >
>> [mailto:]
>> De la part de Sebastien
>> Loriot
>>
>> > (GeometryFactory)
>>
>> > Envoyé : jeudi 22 octobre 2015 09:00
>>
>> > À :
>>
>>
>> <mailto:>
>>
>> > Objet : Re: [cgal-discuss] Crash by transforming Polyhedron_3 to
>>
>> > Nef_Polyhedron_3
>>
>> >
>>
>> > On 10/22/2015 08:42 AM, Gilles wrote:
>>
>> >
>>
>> > > Hello Sébastien,
>>
>> >
>>
>> > >
>>
>> >
>>
>> > > I can share anything !
>>
>> >
>>
>> > > What do you need ?
>>
>> >
>>
>> > >
>>
>> >
>>
>> > the input polyhedron.
>>
>> >
>>
>> > Sebastien.
>>
>> >
>>
>> > > Gilles
>>
>> >
>>
>> > >
>>
>> >
>>
>> > >
>>
>> >
>>
>> > >
>>
>> >
>>
>> > > --
>>
>> >
>>
>> > > View this message in context:
>>
>> >
>>
>> > >
>>
>> >
>> http://cgal-discuss.949826.n4.nabble.com/Crash-by-transforming-Polyhe
>> d
>>
>> >
>>
>> > > ron-3-to-Nef-Polyhedron-3-tp4661258p4661261.html
>>
>> >
>>
>> > > Sent from the cgal-discuss mailing list archive at Nabble.com.
>>
>> >
>>
>> > >
>>
>> >
>>
>> > --
>>
>> >
>>
>> > You are currently subscribed to cgal-discuss.
>>
>> >
>>
>> > To unsubscribe or access the archives, go to
>>
>> > https://sympa.inria.fr/sympa/info/cgal-discuss
>>
>> >
>>
>> --
>>
>> You are currently subscribed to cgal-discuss.
>>
>> To unsubscribe or access the archives, go to
>> https://sympa.inria.fr/sympa/info/cgal-discuss
>>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
>


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.18.

Top of Page