Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Invalid TDS after inserting vertices and creating cells & neighbors

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Invalid TDS after inserting vertices and creating cells & neighbors


Chronological Thread 
  • From: Adam Getchell <>
  • To:
  • Subject: Re: [cgal-discuss] Invalid TDS after inserting vertices and creating cells & neighbors
  • Date: Thu, 7 May 2015 08:57:21 -0700


> On May 7, 2015, at 4:40 AM, Olivier Devillers
> <>
> wrote:
>
>
>
> Le 07/05/15 10:17, Adam Getchell a écrit :
>>
>> 3. Which modifiers affect the validity of the TDS?
>>
>>> look for create_vertex in
>>> http://doc.cgal.org/latest/TDS_3/classTriangulationDataStructure__3.html
>>> Other modifiers
>>> The following modifiers can affect the validity of the triangulation data
>>> structure.
>> What modifiers?
>
> The modifiers in the section "Other modifiers" of that page

Thank you.

After I added the call:

v_center->set_cell(bottom_12)

I now have a valid vertex. This answers my questions: my vertex didn’t have
an incident cell. The next set of errors come from neighbor relations, which
I will review, along with the flip_really() and set_adjacency() functions.

Inserted vertex -1.32816 5.74258 -1.06896 with timeslice 6
top31 has v_center
v_center->is_valid is true
Number of vertices after = 15012
Classifying simplices....
neighbor of c has not c as neighbor
CGAL error: assertion violation!
Expression : false
File :
/usr/local/Cellar/cgal/4.6/include/CGAL/Triangulation_data_structure_3.h
Line : 3655
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
unknown file: Failure
C++ exception with description "CGAL ERROR: assertion violation!
Expr: false
File: /usr/local/Cellar/cgal/4.6/include/CGAL/Triangulation_data_structure_3.h
Line: 3655" thrown in the test body.


Thanks again!

Adam Getchell
about.me/adamgetchell




Archive powered by MHonArc 2.6.18.

Top of Page