Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Construct line through two Circular_arc_point_2's

Subject: CGAL users discussion list

List archive

[cgal-discuss] Construct line through two Circular_arc_point_2's


Chronological Thread 
  • From: Alex Tsui <>
  • To:
  • Subject: [cgal-discuss] Construct line through two Circular_arc_point_2's
  • Date: Wed, 15 Aug 2012 00:36:53 -0700

Hi,

I am using Exact_circular_kernel_2 and I would like to construct a line segment that exactly passes through two Circular_arc_point_2's. It looks like I have a choice between a CircularKernel::Segment_2 or a CircularKernel::Line_arc_2. However, Segment_2's coordinate type (FT) doesn't match the arc point's coordinate type (Root_of_2). It also seems that you can't construct a Line_arc_2 given just two arc points - you also need a Line_2 that contains both of the arc points. But like the Segment_2, Line_2 uses FT coordinates and I'm not sure how to construct one that contains both arc points. How should I do this?

Thanks,

--Alex


Archive powered by MHonArc 2.6.18.

Top of Page