Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] SK::circular_arc_point_3 to SK::point_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] SK::circular_arc_point_3 to SK::point_3


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] SK::circular_arc_point_3 to SK::point_3
  • Date: Wed, 08 Feb 2012 08:21:10 +0100

On 02/07/2012 06:47 PM, AdamMiller wrote:
Hi

is there any way I can make a point_3 or vector_3 from circular_arc_point_3?
I cannot just use the access functions as they return a Root_of_2<NT>, which
I can't use in the point or vector constructors.

Coordinates of Circular_arc_point_3 are algebraic numbers of degree 2,
so they don't fit exactly inside a Point_3 (which coordinates are rational numbers).

You get get an approximation by using the function CGAL::to_double on each coordinates.

Sebastien.

thanks and regards,

Adam Miller

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/SK-circular-arc-point-3-to-SK-point-3-tp4365572p4365572.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.16.

Top of Page