Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Re: Constraned Triangulation 2 problem with remove vertice

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Re: Constraned Triangulation 2 problem with remove vertice


Chronological Thread 
  • From: "Miguel Armando Riem de Oliveira" <>
  • To: <>
  • Subject: RE: [cgal-discuss] Re: Constraned Triangulation 2 problem with remove vertice
  • Date: Tue, 20 Mar 2012 14:54:03 -0000
  • Organization: UA

Hi Winnie

Do you think I should test the validity of the face

CDT::Face_handle fh;
fh->is_valid();

or you think I should assess the validity of the whole triangulation
CDT cdt;
cdt->is_valid();

Because I used the previous and at some point it crashes in an assertion.

Perhaps as you say somehow I brake the TDS at some point.

One question about the handles (Face_handle and Vertex_handle)

Are they copy constructable? Can I put them in an STL container like
std::vector<Face_handle>

Also, in which occasions are handles invalidated?
Obviously when the TDS changes somehow, which includes insertion/removal of
vertices.

But does TDS change when I add/remove constraints?

Thanks for the help

Miguel

-----Original Message-----
From: Winnie Hellmann
[mailto:]
On Behalf Of
Winnie Hellmann
Sent: Tuesday, March 20, 2012 2:44 PM
To:

Subject: Re: [cgal-discuss] Re: Constraned Triangulation 2 problem with
remove vertice

> The triangulation is invalid as it is ...
For me, it looks like the triangulation data structure is broken. Have
you checked that fh is valid as I said. Or do you maybe use a face
handle which has been invalidated by removing a vertex?

--
PGP key: http://www.winniehell.de/0xA8FE4F09.pub.asc





Archive powered by MHonArc 2.6.16.

Top of Page