Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] create a new Triangulation_data_structure


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] create a new Triangulation_data_structure
  • Date: Fri, 31 Oct 2008 10:36:52 +0100 (CET)
  • Importance: Normal

>
> wrote:
>> 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
>
> Hi,
>
> I am sorry I don't quite remember the details of that old paper.
> I would advise to look directly into the CGAL user manual (both chapters
> 3D triangulations and 3D triangulation data structures), that explains
> how flexibility is offered to users by CGAL.
>
> Best,
> Monique Teillaud
>
>> 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
>>
>>
>>
>>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
I've already looked to Triangulation and Triangulation_data_structure but
Trangulation_data_structure is only parametrized with Cell_base and
Vertex_base and I need one that could also use some "Facet_base" so
deriving a new one from it could it be the right answer given that I still
want to use the other structures like Cell_hendle, Vertex_handle, etc.

Best,
Nizar




Archive powered by MHonArc 2.6.16.

Top of Page