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: Pranav <>
  • To:
  • Subject: Re: [cgal-discuss] Representing a cube as Linear cell complex
  • Date: Thu, 19 Feb 2015 02:00:57 -0800 (PST)

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?




--
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.



Archive powered by MHonArc 2.6.18.

Top of Page