Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Error with new Surface_mesh_simplification package

Subject: CGAL users discussion list

List archive

[cgal-discuss] Error with new Surface_mesh_simplification package


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Error with new Surface_mesh_simplification package
  • Date: Wed, 16 Sep 2009 05:29:19 +0200 (CEST)

Hello,

A number of changes have been made to the interface for the surface mesh
simplification package; specifically in the way the visitor works. While the
changes generally look good (I'm especially fond of the addition of the
OnCollapsed call to the visitor), there seems to be an issue with the new
interface (at least on my platform). I've compiled CGAL-3.5-beta1 on ubuntu
9.04 using g++ 4.3.3. The problem is apparent from the
edge_collapse_enriched_polyhedron example. It seems as though the
simplification is performed, but when the member variables of the user-defined
visitor class are accessed, they all have a value of zero. When I run the
example with the cube.off model in the example directory, I get the following
output:

"
Edges collected: 18
62
Edges collected: 0
Edges proccessed: 0
Edges collapsed: 0

Edges not collapsed due to topological constrians: 0
Edge not collapsed due to cost computation constrians: 0
Edge not collapsed due to placement computation constrians: 0

Finished...
12 edges removed.
6 final edges.
"

As you can see, all of the "Edges *:" lines have a value of 0, which is
clearly
incorrect. Any help getting to the bottom of this issue would be greatly
appreciated.

Thanks,
Rob



Archive powered by MHonArc 2.6.16.

Top of Page