Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: segment_3 sphere intersection

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: segment_3 sphere intersection


Chronological Thread 
  • From: mriem <>
  • To:
  • Subject: [cgal-discuss] Re: segment_3 sphere intersection
  • Date: Tue, 14 May 2013 11:39:33 -0700 (PDT)

Hello Everyone

I just wanted to say I already found the solution, so don't waist your time
on me, at least not this time :)

The problem was I was not adding the third argument to the function ...

The following code compiles ...

#include <CGAL/Spherical_kernel_intersections.h>

CGAL::Exact_spherical_kernel_3::Line_arc_3 cgal_seg;

CGAL::Exact_spherical_kernel_3::Sphere_3 cgal_sphere;

std::vector< CGAL::Object > intersecs;
CGAL::intersection(cgal_seg, cgal_sphere,std::back_inserter(intersecs));

Thanks to all

Miguel



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/segment-3-sphere-intersection-tp4657426p4657435.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page