Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Representing a cube as Linear cell complex

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Representing a cube as Linear cell complex


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] Representing a cube as Linear cell complex
  • Date: Mon, 23 Feb 2015 08:57:56 +0100

Le 22/02/2015 12:19, Pranav a écrit :
Guillaume Damiand wrote
A sew<2> between the wrong pair of darts.
Yes, I traced the sewing operations and found that there were some wrong sew
operations. Now I have corrected the code
<https://gist.github.com/pranavkantgaur/54ec0c019422a5377d35#file-cubelcc-cpp>

Congratulation ;)

. Would it be of any value in CGAL's Linear Cell Complex package
documentation(coming under example section)?

Not sure; this is a "basic" example, there is always such an example here

http://doc.cgal.org/latest/Combinatorial_map/index.html#title22

for tetrahedra, and the function make_tetrahedron exists in CMap and LCC.


Further, can you suggest any approach for automating sewing of triangles in a
set? For example, Given a set of polygons in an input file, I need to read
the polygons and sew them to create the corresponding Linear cell complex.

You can either use the undocumented class Linear_cell_complex_incremental_builder_3, or make your own function by hand. Have a look at the function sew3_same_facets in Linear cell complex which does a similar process but for faces in 3D.






--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Representing-a-cube-as-Linear-cell-complex-tp4660454p4660509.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