Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] question about mesh simplification and invalid halfedge handle

Subject: CGAL users discussion list

List archive

[cgal-discuss] question about mesh simplification and invalid halfedge handle


Chronological Thread 
  • From: "Shi Yan" <>
  • To:
  • Subject: [cgal-discuss] question about mesh simplification and invalid halfedge handle
  • Date: Wed, 30 Jul 2008 09:03:24 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=nrOqZet0vFx4DRv8XDVFVmMseChAxE11vHSKpHoUox+DHpQ5zF/Viz/Y4wayxX4yXS ptwecKKQd97Xf6zxdS5xdyXQCB5pWVAYmsmNZhvLoiqViw8E6RapApWoOm95usfnVnDd dAXBjloG0WL6LWogYz87/6T2LMzgLdL9DlKZ4=

hello guys,


i need to implement a mesh simplification program with the quadric
error matrics.

basically this algorithm involves a lot of edge collapsing. it first
test each edge and measure the error of collapsing that edge, and pick
up all the edges with small errors as collapsing candidates, so as to
preserve the original shape of the input mesh.

suppose i've tested all the errors and picked up 1000 candidate edges
to collapse ( i pushed the candidate edges' half-edge handle into a
std::vector )

but if i collapse an edge A , some other candidate edges which are
also in the candidate std::vector may become invalid. for example,
collapsing edge A will destroy two adjacent triangles, and remove 2
adjacent edges.

what will happen if i collapse an invalid half-edge handle?

thank you very much.


  • [cgal-discuss] question about mesh simplification and invalid halfedge handle, Shi Yan, 07/30/2008

Archive powered by MHonArc 2.6.16.

Top of Page