Skip to Content.
Sympa Menu

cgal-discuss - fix border edges for mesh simplification

Subject: CGAL users discussion list

List archive

fix border edges for mesh simplification


Chronological Thread 
  • From: Qianqian Fang <>
  • To:
  • Subject: fix border edges for mesh simplification
  • Date: Fri, 28 Mar 2008 17:16:06 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=dpgimhmn8ft6jZ6Jcxr1/iseZRwYtYEsqYyqNZbH0rHmZyjooA2d/IjlwUVL5id287ACFyqX4WOYcb5OalM66uoG0U0Kp8hzfpdNW8uumkIiFlz7ULHnbA0bw2UdNGfa3nhhmE99ZSlSnb4eV+nxniKzJ7XE4YOwVtMHHhB3vxE=

hi

I was able to compile the mesh-simplification example at
example/Surface_mesh_simplification/edge_collapse_enriched_polyhedron.cpp
with the help from the list this morning.

Here I got another quick question. I am trying to simplify a surface mesh.
This mesh has multiple borders. For example, one of the border is marked
as green dots on this plot:

http://nmr.mgh.harvard.edu/~fangq/temp/oldmesh.png

after the simplification , I found that the border nodes were moved, for the above example,
a plot of the new mesh is shown at

http://nmr.mgh.harvard.edu/~fangq/temp/newmesh.png

I found that the number of the border nodes are identical before and
after the simplification, however, their positions were slightly moved,
(the original border nodes are plotted as green dots, the new border
nodes are marked as blue circles)

For my specific application, I want to keep (fix) all border nodes, so that before and after
the simplification, these nodes are identical.

I searched the source code in CGAL and found "EdgeIsBorderMap" for the simplification units,
I am not entirely sure whether that is related to my purpose. If it is not, is there another
flag that I can set in edge_collapse_enriched_polyhedron.cpp so that the simplification only
touches the internal edges?

thank you very much

Qianqian




Archive powered by MHonArc 2.6.16.

Top of Page