Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Does import_from_triangulation initializes info() of cells ?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Does import_from_triangulation initializes info() of cells ?


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] Does import_from_triangulation initializes info() of cells ?
  • Date: Fri, 23 Jan 2015 08:40:37 +0100

Hi,


Le 21/01/2015 12:17, Pranav a écrit :
Hi,

I have a Delaunay triangulation *DT* which has a unique tag(as an additional
information) associated with each of its vertex. I want to use
*import_from_triangulation_3* function to import DT into corresponding
Linear cell complex representation.

I want to know whether all 0-cells will be implicitly initialized with tags
which were associated with them in DT?

No, only points are copied.

You have 2 solutions:

1) use the std::map between cells of the triangulation and dart_handle of the LCC (third parameter of import_from_triangulation_3) to initialize the information of 0-cells after the conversion;

2) copy/paste the import_from_triangulation_3 to make your own function which does the copy of information.

Best
Guillaume







-----
Thanks in advance,
Pranav
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Does-import-from-triangulation-initializes-info-of-cells-tp4660339.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



--
===================================================================
Guillaume DAMIAND

CNRS - LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36
Mail:

Web: http://liris.cnrs.fr/guillaume.damiand/
===================================================================


Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.18.

Top of Page