Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] OK => polyhedron_3 2 nef and GMP

Subject: CGAL users discussion list

List archive

[cgal-discuss] OK => polyhedron_3 2 nef and GMP


Chronological Thread 
  • From: olivier stab <>
  • To:
  • Subject: [cgal-discuss] OK => polyhedron_3 2 nef and GMP
  • Date: Thu, 22 Mar 2007 09:15:44 +0100

I found my bug :-(.
In fact everything is in order :
With <double> in the Kernel : a point of a triangle is not (exactly) in the plane of its own face.
If I use <gmpq> Kernel the point is on the plane (53bits it is enough) !


olivier stab a écrit :
I still have the problem with my polyhedron : a point is not (exactly) on the plane of its own face :-(

CGAL error: assertion violation!
Expr: pe_prev->facet()->plane().has_on(pv.point())

even if I set the precision with mpfr_set_default_prec(500) instead of 53 !!!
I think I am not getting the right way...
If somebody has an idea...

Thanks.


--
---------------------------------------------------------
Stab Olivier
Ecole des Mines de Paris / GEOSCIENCES
35, rue saint honoré, 77305 Fontainebleau Cedex - France

Tel : +33 1 64 69 48 29 Fax : +33 1 64 69 47 11

Email :

Secr: +33 1 64 69 48 97
---------------------------------------------------------




Archive powered by MHonArc 2.6.16.

Top of Page