0

I would like to use the surface simplification algorithm of CGAL with C3t3 (Mesh_complex_3_in_triangulation_3) object.

I have the C3t3 object, how do I use this function with this kind of object. The only examples I found were using Polyhedron objects.

More specifically i need to use the SMS::edge_collapse function

Thanks.

squall
  • 13
  • 3
  • A c3t3 object does not represent a surface mesh but a volume mesh so you cannot use the collapse_edge function on it. – sloriot Mar 23 '15 at 11:15

1 Answers1

0

A C3t3 object is first a 3D regular triangulation of the set points in the mesh. We cannot collapse edges in a regular triangulation. All you can do is remove or add new points.

I suggest you export the surface of the C3t3 object to a data structure where you can apply SMS::edge_collapse.

lrineau
  • 6,036
  • 3
  • 34
  • 47