Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] Delaunay_d not making triangulation
- Date: Thu, 16 Oct 2014 10:39:07 +0200 (CEST)
On Thu, 16 Oct 2014, Adam Getchell wrote:
Hi Marc,
Thanks for the suggestion. I wrote a function to iterate on the vertices and
counted them, and I still only ever get two, for both my test cases where I
insert 4 for a
tetrahedron and 8 for a 16cell:
https://github.com/acgetchell/CDT-plusplus/blob/master/src/Delaunay.h
https://github.com/acgetchell/CDT-plusplus/blob/master/unittests/SdTriangulationTest.cpp
Point(0,0,0,0)
are you expecting this to be the origin in R^4? Since you are using a Homogeneous kernel, I would expect it to be a point in R^3, of coordinates (0./0.,0./0.,0./0.). And indeed in debug mode (which you should be using when writing new code) I am getting:
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: (w!=0)
File: /usr/include/CGAL/Kernel_d/PointHd.h
Line: 162
Explanation: PointHd::construction: w == 0.
--
Marc Glisse
- [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/15/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/15/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Marc Glisse, 10/15/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Marc Glisse, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Marc Glisse, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/23/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Marc Glisse, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Marc Glisse, 10/16/2014
- Re: [cgal-discuss] Delaunay_d not making triangulation, Adam Getchell, 10/16/2014
Archive powered by MHonArc 2.6.18.