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: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Constraned Triangulation 2 problem with remove vertice
  • Date: Tue, 20 Mar 2012 18:57:35 +0100

On 03/20/2012 06:31 PM, mriem wrote:
Hi Sebastien

No, but I will implement a check before any operation.

My problem, after I talked to Winnie, I think is the following:

I have a mesh

Then I analyse it and I produce somehow a list of operations I must do on
that mesh,


for this example the operations can be to remove vertices (altough in my
case its more to remove vertices and add/remove constraints).

I store this as a

std::vector<Vertex_handle> my_list

The problem is, if there are more that 1 operations, i.e., the vector
my_list has size>1, after the first operation of removal

dt.remove(my_list[0])

Since this retriangulated the mesh, actually all the rest of the values on
my_list may be invalid, i.e., I cannot use them.

Does this make sense?
If the vertices in the list have not already been removed, then all the vertices are valid. However, this is not true for faces.
.
Sebastien.


Thanks

Miguel

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Constraned-Triangulation-2-problem-with-remove-vertice-tp4485130p4489669.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.16.

Top of Page