Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] A simple question

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] A simple question


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] A simple question
  • Date: Mon, 10 Dec 2007 14:59:24 +0100 (CET)
  • Importance: Normal

> I know have the explanation... The parameter P of your function app2, is a
> copy: the edges/facets/vertices of the original polyhedron are copied.
> When
> app2 returns, the returned handle is a handle to a facet of a temporary
> object. After the return of app2, the copy is destroyed, and your
> variable
> fd is a handle to an already destroyed object.

Ok, it is a C++ mistake.

> I have attached your example, that I have constify to the most, maybe to
> much. :-)

Thank you.



Archive powered by MHonArc 2.6.16.

Top of Page