Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Circle_2 and Segment_2 intersection

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Circle_2 and Segment_2 intersection


Chronological Thread 
  • From: Dylan Lawrence <>
  • To:
  • Subject: Re: [cgal-discuss] Circle_2 and Segment_2 intersection
  • Date: Tue, 7 Jul 2015 01:56:38 -0500

After quite a bit of rewrites I was able to actually get the intersections running using CGAL::intersection() I know my vector contains the intersections however what exactly is in that vector. It seems to be an extension of a boost type but it's unclear what it is. Essentially I have my intersections, but I do not understand how to access them to get the point of incidence for an intersection.

On Tue, Jun 23, 2015 at 12:55 PM, Laurent Rineau (CGAL/GeometryFactory) <> wrote:
Le Tuesday 23 June 2015 16:22:27 Monique Teillaud a écrit :
> a Line_arc_2 can be constructed from a Segment_2
> http://doc.cgal.org/latest/Circular_kernel_2/classCGAL_1_1Line__arc__2.html
>
> then you can intersect it with a circle or a circular arc
> http://doc.cgal.org/latest/Circular_kernel_2/classCircularKernel_1_1DoInters
> ect__2.html
> Le 23/06/15 04:22, dlawre14 a écrit :
> > I've done some searching of the docs but cannot find any entry of a
> > Circle_2 and Segment_2 intersecting. Can such a thing be done or do I
> > need to convert the Segment_2 to another type?

See also :

  - the Intersect_2 functor:

http://doc.cgal.org/latest/Circular_kernel_2/classCircularKernel_1_1Intersect__2.html

  - the corresponding 'do_intersect' and 'intersection' global functions
overloads:

http://doc.cgal.org/latest/Kernel_23/group__do__intersect__circular__grp.html
http://doc.cgal.org/latest/Kernel_23/group__intersection__circular__grp.html

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





--
Dylan Lawrence
Masters Student
Bioinformatics and Computational Biology



Archive powered by MHonArc 2.6.18.

Top of Page