Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compact_mesh_cell_base_3 in CGAL 4.3-beta

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compact_mesh_cell_base_3 in CGAL 4.3-beta


Chronological Thread 
  • From: Garth Wells <>
  • To:
  • Subject: [cgal-discuss] Compact_mesh_cell_base_3 in CGAL 4.3-beta
  • Date: Tue, 15 Oct 2013 12:57:14 -0700 (PDT)

I've been using Mesh_cell_base_3 to attach an int to mesh cells, but it's
deprecated in CGAL 4.3 and I'm having trouble to the new
Compact_mesh_cell_base_3 class in CGAL 4.3.

Previously, I had

// CGAL 3D triangulation vertex typedefs
typedef CGAL::Triangulation_vertex_base_3<Geom_traits> Tvb3_base;
typedef CGAL::Triangulation_vertex_base_with_info_3<int, Geom_traits,
Tvb3_base> Tvb3;
typedef CGAL::Mesh_vertex_base_3<Geom_traits, Mesh_domain, Tvb3>
Vertex_base;

// CGAL 3D triangulation cell typedefs
typedef CGAL::Triangulation_cell_base_3<Geom_traits> Tcb3_base;
typedef CGAL::Triangulation_cell_base_with_info_3<int, Geom_traits,
Tcb3_base> Tcb3;
typedef CGAL::Mesh_cell_base_3<Geom_traits, Mesh_domain, Tcv3> Cell_base;

typedef CGAL::Triangulation_data_structure_3<Vertex_base, Cell_base>
Tds_mesh;
typedef CGAL::Regular_triangulation_3<Geom_traits, Tds_mesh> Tr;
typedef CGAL::Mesh_complex_3_in_triangulation_3
C3t3;

However the new Compact_mesh_cell_base_3 class wants a triangulation as the
third template argument, but previously Mesh_cell_base_3 was a template
argument to the triangulation class. The new design appears circular - it's
not clear how I can construct a triangulation using cells with info, and
there are no examples. I'd be grateful for an explanation and/or example on
how to use Compact_mesh_cell_base_3.

Garth





--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compact-mesh-cell-base-3-in-CGAL-4-3-beta-tp4658202.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page