Subject: CGAL users discussion list
List archive
- From: Wang Hetao <>
- To:
- Subject: [cgal-discuss] How to convert form Circular_arc_point_2 to Point_2
- Date: Sun, 16 Dec 2012 18:22:59 -0800 (PST)
I encountered a problem when converting form Circular_arc_point_2 type to
Point_2 in my program. What I consistently do in the past about this kind
conversion is first converting the X and Y coordinates to double with
CGAL::to_double(), then constructing a regular Point_2 with converted
figures. This method is complex and imprecise, I wander whether there is a
simple and more accurate method.
Another problem that confused me for a long time is CGAL lib borrows many
data types form other libs. e.g., LEDA, GNU::GMP, CORE, and built-in number
types of course. I think this may makes CGAL very hard to use.
many thanks for you reply!
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-convert-form-Circular-arc-point-2-to-Point-2-tp4656403.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] How to convert form Circular_arc_point_2 to Point_2, Wang Hetao, 12/17/2012
- Re: [cgal-discuss] How to convert form Circular_arc_point_2 to Point_2, Sebastien Loriot (GeometryFactory), 12/17/2012
Archive powered by MHonArc 2.6.18.