See Andreas' e-mail:
> I just had a look at the code. The problem is that it calls
> incident_cells, which is implemented recursively, and for a
> vertex with many incident cells, as in your case the infinite
> vertex, the stack is full.
>
> We have to put it on our todo list.
I did it for 3D only because the degenerate 2D case should be
handled by the circulator anyway.
I did not add the test which explodes the call stack (in case we plug
the recursive version): too slow for a testsuite. But incident_...
methods are used everywhere in the code anyway.
- all the code is factored around visit_incident_cells.
- incident_edges has been added
- finite versions of all incident_*(vertex) have been added
thanks to a Filter template parameter
mode
- fixed only if dimension()==3. If dimension()<3, tds.print_cells() should
be corrected. The handling of the dimension is ugly (copy-pasting). I
prefere not to fix that code.
Note 1: Test suite is ok.
Note 2: binary i/o operators are tested in Mesh_3