Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] NaN calculating intersection point of plane and line

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] NaN calculating intersection point of plane and line


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] NaN calculating intersection point of plane and line
  • Date: Fri, 27 Sep 2013 17:08:31 +0200
  • Organization: GeometryFactory

On 09/27/2013 03:38 PM, Martin Uhrin wrote:
Wow, fantastic, this seems to have worked perfectly. Thanks Sebastien!

No, this isn't from an example, this is my mistake. I started from:

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Convex_hull_3/Chapter_main.html#Subsection_16.3.1

Which uses

typedef CGAL::Quotient<CGAL::MP_Float> RT;

Which I then expanded to encompass the ring type I needed.

So to clarify my mistake: From your answer and my now working code I
presume Expr already supports quotients. In which case my code was
unnecessarily wrapping Expr in a CGAL::Quotient resulting in the strange
output (but otherwise functioning code). Is this all correct?
Yep.

Sebastien.


Again, thanks for your speedy reply.

-Martin



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/NaN-calculating-intersection-point-of-plane-and-line-tp4658086p4658088.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page