Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Delaunay_d not making triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Delaunay_d not making triangulation


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Delaunay_d not making triangulation
  • Date: Thu, 16 Oct 2014 16:27:03 +0200 (CEST)

On Thu, 16 Oct 2014, Adam Getchell wrote:

Marc,
Thanks again for your comments.

I wondered if it were due to using the Homogenous kernel. If I change to a
Cartesian kernel, then the first test fails due to invalid triangulation,
and the second test still yields only 5 vertices instead of 8. I looked at
the cartesian to homogenous point converters, but they only go to three
dimensions. Suggestions?

Ah, it still interprets them as homogeneous coordinates, that sucks... You need to build your points using iterators. For instance:
int arr[]={0,0,0,0};
Point p(4,arr,arr+4);

It works just as well with Cartesian or homogeneous. If the distance between the iterators is larger than the dimension passed as first argument, it will divide everything by that last value.

(Also, how do you switch to debug mode?)

That's a property of your build system, you are supposed to know and I have absolutely no idea.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page