Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] FW: The dD-Triangulation seems to be incorrect, CGAL version 5.6.1
Chronological Thread
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] FW: The dD-Triangulation seems to be incorrect, CGAL version 5.6.1
- Date: Fri, 8 Mar 2024 10:50:55 +0100 (CET)
- Authentication-results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail ; dmarc=fail (p=none dis=none) d=inria.fr
On Fri, 8 Mar 2024, CGAL_problem wrote:
My codes are as follows :
Please always provide a complete testcase, with #include and function, to make it easier for us to reproduce the issue (and preferably as an attachment or a github gist because some email programs do unspeakable things to the main text).
2. why the order of input finite vertices are changed?
CGAL first sorts the points according to some particular order (though in Triangulation_3 that's only done for Delaunay and not for a plain triangulation).
Points are then stored in a triangulation where they don't have any order. What you get is the order in which a graph traversal happens to visit those vertices.
If you want to remember information about vertices (say an int corresponding to their initial index), the doc has information about how to achieve that.
3. The expected results would contain the following tetrahedra, but I can not
find them in the output file.
There are several possible triangulations, there is no reason to expect one in particular.
3The results in the output file are as follows:
8
3 1 2 -3
3 1 -2 -3
3 -1 -2 -3
3 1 2 3
3 -1 2 -3
3 1 -2 3
3 -1 -2 3
3 -1 2 3
3 1 2 -3
Notice that it announces 8 points and then proceeds to print 9. My guess is that one (the first) is the infinite vertex, which does not have a point associated to it, so the coordinates it prints are read from a random place in memory (happens to be the point of another vertex here). Maybe we could improve that in CGAL, I didn't check what Triangulation_3 does.
Does that help interpret the output you get?
--
Marc Glisse
- [cgal-discuss] The dD-Triangulation seems to be incorrect, my CGAL version is 5.1.1, CGAL_problem, 03/08/2024
- [cgal-discuss] FW: The dD-Triangulation seems to be incorrect, CGAL version 5.6.1, CGAL_problem, 03/08/2024
- Re: [cgal-discuss] FW: The dD-Triangulation seems to be incorrect, CGAL version 5.6.1, Marc Glisse, 03/08/2024
- [cgal-discuss] FW: The dD-Triangulation seems to be incorrect, CGAL version 5.6.1, CGAL_problem, 03/08/2024
Archive powered by MHonArc 2.6.19+.