Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Combinatorial Maps: Getting runtime assertation errors while using marks

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Combinatorial Maps: Getting runtime assertation errors while using marks


Chronological Thread 
  • From: Pranav <>
  • To:
  • Subject: Re: [cgal-discuss] Combinatorial Maps: Getting runtime assertation errors while using marks
  • Date: Thu, 26 Feb 2015 02:04:28 -0800 (PST)

Guillaume Damiand wrote
> 1) You need to add
>
> if (!cubeLCC.is_marked(segIter2, sewedMark))// not sewed till now
>
>
> inside the 4th loop.
>
>
> 2) You need to add a test on the geometry in order to sew<2> edges
> having same extremities.
>
> 3) You can simplify your code. Instead of iterating through one dart per
> 2-cell, then iterating through all the darts of this 2-cell, you can
> simply iterate through all the darts of the map (both for segIter1 and
> segIter2).

Applied all your suggestions and now it is working
<https://gist.github.com/pranavkantgaur/740a086f06248265a63d#file-autocubelcc-cpp>

. Thanks!!




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Combinatorial-Maps-Getting-runtime-assertation-errors-while-using-marks-tp4660525p4660533.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page