Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Items with id in LinearCellComplex

Subject: CGAL users discussion list

List archive

[cgal-discuss] Items with id in LinearCellComplex


Chronological Thread 
  • From: Guillaume Gay <>
  • To:
  • Subject: [cgal-discuss] Items with id in LinearCellComplex
  • Date: Mon, 22 Jun 2015 10:09:00 +0200

Hi all,

I'm new to CGAL, so apologies in advance if I ask obvious questions.

I'm starting to use LinearCellComplex to model biological epitheliums (those are one cell thick sheets of tissues).
I need to attach ids to faces, vertices and edges, as done in Polyhedron_Items_with_id :
http://doc.cgal.org/latest/BGL/classCGAL_1_1Polyhedron__items__with__id__3.html

If I understand correctly, this can be done in the definition of CellAttributes. What I'm unsure of is how one can access the DartHandle of a cell with a given id latter on, and the correct strategy to make sure ids are unique and no collision occur.

So my question is: has anybody already coded ids attributes for LCC? If not, what do you advise?
Subsidiary question: I understand ids help interface Polyhedron_3 with the boost graph library, is this achievable for LCC?

The code base is here: https://github.com/CellModels/tyssue/tree/linearcellcomplew.

Thank you for your input,

Best,

Guillaume



--

--
Guillaume Gay, PhD

http://damcb.com

43 rue Horace Bertin
13005 Marseille

+33 953 55 98 89
+33 651 95 94 00

n°SIRET 751 175 233 00020




Archive powered by MHonArc 2.6.18.

Top of Page