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: Thu, 19 Feb 2015 11:28:09 +0100

Le 19/02/2015 11:00, Pranav a écrit :
Guillaume Damiand wrote
You have 12 triangles, 3 sides, you need 12*3/2=18 sew<2> (because one
sew<2> sews two triangles).
As an exercise to understand sew operation I added all required sew
operations in the code
<https://gist.github.com/pranavkantgaur/54ec0c019422a5377d35#file-cubelcc-cpp>
. Although, it now returns the correct number of segments and faces(18 and
12 respectively), number of vertices are reported to be 4.

Could you please suggest what might be the possible reason behind it?

A sew<2> between the wrong pair of darts.
You need to make a picture with all the triangles and check each sew<2>.






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