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: Thu, 22 Oct 2015 07:50:47 +0000
  • Accept-language: de-CH, en-US
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:uXjk2hHcn8oMXF2ZgHFLwp1GYnF86YWxBRYc798ds5kLTJ74pc2wAkXT6L1XgUPTWs2DsrQf27eQ6/urADZYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh730o8aYOl8QzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3Heb8lR+lYECg+KDJyo9b6sAHKCwqJ/HoVFGsM1QFZBhDMqxD8UJC2uSTzsq9x2TKRINbtHowzDH6p4K5vDRPpkywaLCUR8WfNi8U2grgR6EaqqBV7hoLVe4qIL+FWf6XHfNpcS3AXDehLUCkUIYWxcpAUR8UAOeJVtMGphF0DsAClQyaEGOT1zDhTwHTx2PtpgKwaDQja0Vl4TJo1u3POoYCtOQ==

Sebastien,

 

It's created inside the application, I do not save it to a file...

After constructing a simple cube, this portion of code :

 

void Polyhedron_ac::essai(){

 

    Facet_const_iterator f;

    int facesN;

    facesN=1;

 

    for(f = facets_begin();f != facets_end();f++){

 

        qDebug()<<"Face #"<<facesN++;

 

        // on parcours les points de la face

        HF_circulator he = 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_polyhedron tempo (*this); //here it's crashing !

     }

 

}

 

…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:] De la part de Sebastien Loriot (GeometryFactory)
Envoyé : jeudi 22 octobre 2015 09:00
À :
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-Polyhed

> 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

 

 




Archive powered by MHonArc 2.6.18.

Top of Page