Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Converting Tetgen triangulation to CGAL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Converting Tetgen triangulation to CGAL


Chronological Thread 
  • From: Monique Teillaud <>
  • To:
  • Subject: Re: [cgal-discuss] Converting Tetgen triangulation to CGAL
  • Date: Thu, 8 Dec 2016 09:51:07 +0100

Hi,

Maybe read the code of the input stream operator in Triangulation_3.h and check what you have missed. 

best,
--
Monique Teillaud 
https://members.loria.fr/Monique.Teillaud/
INRIA Nancy - Grand Est, LORIA 
Institut National de Recherche en Informatique et Automatique 

On 01 Dec 2016, at 10:54, Thomas Holzmann <> wrote:

Hi,

So I now also created infinite cells, set all neighbors correctly (index on the opposite side of vertex index) and set an incident cell for each vertex (an arbitrary cell including this vertex).

However, i still have the same result:

number_of_finite_cells () = 0

and cgalTriangulation.is_valid(true) says:
valid data structure
valid triangulation

Any other advice? Or some hints how I could debug the problem?

Thomas


On 11/30/2016 09:06 AM, Thomas Holzmann wrote:


On 11/30/2016 08:19 AM, Andreas Fabri wrote:

On 30/11/2016 08:16, Thomas Holzmann wrote:
So if I additionally add the cell neighbors and the infinite cells, it
should work like I did it?

Does tetgen produce a tetrahedrization of the convex hull of the points?
The infinite cells are outside of the convex hull.
Yes, it produces a tetrahedrization of the convex hull. So I will also create infinite cells and add it with their neighbors.

You probably also have to set the cell incident to each vertex.

Ok, I'll do that.

I'll let you know if it worked.

Thanks!

Thomas


-- 
====================================================
Dipl.-Ing. Thomas Holzmann
TU Graz - Institut fuer Maschinelles Sehen und Darstellen
Graz University of Technology - Institute for Computer Graphics & Vision
Inffeldgasse 16/II, 8010 Graz, Austria

http://www.icg.tugraz.at/
phone: +43 316 873 5091
==================================================== 




Archive powered by MHonArc 2.6.18.

Top of Page