Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Linear cell complex: Segmentation fault while accessing vertex of a 2-cell

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Linear cell complex: Segmentation fault while accessing vertex of a 2-cell


Chronological Thread 
  • From: Pranav <>
  • To:
  • Subject: Re: [cgal-discuss] Linear cell complex: Segmentation fault while accessing vertex of a 2-cell
  • Date: Thu, 25 Jun 2015 06:19:23 -0700 (PDT)

Hi Guilliame,


Guillaume Damiand wrote
> Hi pravav,
>
> Without more code, it is impossible for me to suggest anything...

Specifically, the segmentation fault occurs at this line
<https://github.com/pranavkantgaur/CDTGenerator/blob/TDD/src/cdtGen.cpp#L1295>

, but the code is a mess so meanwhile, I am trying to create a minimal code
example demonstrating this problem.


Guillaume Damiand wrote
> A last remark: if you are in 3D and if you want to have one dart per
> each vertex of a given face, a better possibility is to use:
>
>
> for (LCC::Dart_of_orbit_range<1>::iterator pHandleBegin =
> lcc.darts_of_orbit<1>(fHandle).begin(), pHandleEnd =
> lcc.darts_of_orbit<1>(fHandle).end(); pHandleBegin !=
> pHandleEnd; pHandleBegin++)

Segmentation fault disappeared using Dart_of_orbit_range as you suggested.




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Linear-cell-complex-Segmentation-fault-while-accessing-vertex-of-a-2-cell-tp4660939p4660941.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page