Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] create a new Triangulation_data_structure

Subject: CGAL users discussion list

List archive

[cgal-discuss] create a new Triangulation_data_structure


Chronological Thread 
  • From:
  • To:
  • Subject: [cgal-discuss] create a new Triangulation_data_structure
  • Date: Thu, 30 Oct 2008 19:31:59 +0100 (CET)
  • Importance: Normal

Hi,

I was reading this article since I am facing the same problem "How to add
attributes to CGAL's 3D geometric triangulations"
(http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.57.7581). I
read it but still have some blanks if you can help me fill them it would
be great.
In section 3.3 authors end up with new class
Triangulation_with_facets_data_structure. I have understood the principles
that yield to this solution (on which I agree) but I don't know if this
class should inherit from Triangulation_data_structure_3 or not.
I guess that's the case because the signature is different and mainly
because Facet_handler namely should go there (may be I'm wrong) but I
couldn't find the answer by my self and I hope you can help me.
Another question is about the signature itself. The class
Triangulation_data_structure_3 is parametrized this way template < class
Vb = Triangulation_ds_vertex_base_3<>, class Cb =
Triangulation_ds_cell_base_3<> >, so why doesn't new class take template <
class Vertex_base, class Cell_base, class Facet_base > in other words what
does template class Traits refer to?

I hope I didn't bother you with my own problems.
Thanks







Archive powered by MHonArc 2.6.16.

Top of Page