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: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Crash by transforming Polyhedron_3 to Nef_Polyhedron_3
  • Date: Thu, 22 Oct 2015 11:32:15 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:rgqfAx9IJW7jJv9uRHKM819IXTAuvvDOBiVQ1KB91e4cTK2v8tzYMVDF4r011RmSDdids64P07uempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lR8iK04/vhqibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V0/MFJVeD2fr8zUKdDJDUgKWE8osPx5jfZSg7arEARWGwNjhtFBUDh6wv7WYu58gT3se9wxDOLE8T9UbcuSHXop/NwTBjyiSAbcTs92G7Sg810yqlcpUTy9FRE34fIbdTNZ7JFdaTHcIZCSA==
  • Organization: GeometryFactory

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-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

>

--

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