Subject: CGAL users discussion list
List archive
- From: Philipp Moeller <>
- To: mriem <>
- Cc:
- Subject: Re: [cgal-discuss] Re: segment_3 sphere intersection
- Date: Tue, 14 May 2013 19:41:45 +0200
- Organization: GeometryFactory
mriem
<>
writes:
> Thank you Monique and Sebastien for your answers.
>
> Following your comments I am now trying to test an intersection between a
>
> sphere_3 and a line_arc3.
>
> The problem is the compiler continues to say there is no intersection
> function for these types...
>
> Here is the new code
>
> CGAL::Line_arc_3<CGAL::Exact_spherical_kernel_3> cgal_seg;
> CGAL::Sphere_3<CGAL::Exact_spherical_kernel_3> cgal_sphere;
This should be:
CGAL::Exact_spherical_kernel_3::Line_arc_3 cgal_seg;
CGAL::Exact_spherical_kernel_3::Sphere_3 cgal_sphere;
The two types should be identical in most cases but this can lead to
ugly surprises with some Kernels.
> CGAL::Object result = CGAL::intersection(cgal_seg, cgal_sphere);
>
> This does not compile, saying
>
> error: no matching function for call to
> ‘intersection(CGAL::Line_arc_3<CGAL::Spherical_kernel_3<CGAL::Cartesian<CGAL::Gmpq>,
> CGAL::Algebraic_kernel_for_spheres_2_3<CGAL::Gmpq> > >&,
> CGAL::Sphere_3<CGAL::Spherical_kernel_3<CGAL::Cartesian<CGAL::Gmpq>,
> CGAL::Algebraic_kernel_for_spheres_2_3<CGAL::Gmpq> > >&)
>
> and then list all the possibilities ... Can you help me?
>
> regards
>
> Miguel
- [cgal-discuss] segment_3 sphere intersection, mriem, 05/14/2013
- Re: [cgal-discuss] segment_3 sphere intersection, Sebastien Loriot (GeometryFactory), 05/14/2013
- Re: [cgal-discuss] segment_3 sphere intersection, Monique Teillaud, 05/14/2013
- [cgal-discuss] Re: segment_3 sphere intersection, mriem, 05/14/2013
- Re: [cgal-discuss] Re: segment_3 sphere intersection, Monique Teillaud, 05/14/2013
- Re: [cgal-discuss] Re: segment_3 sphere intersection, Philipp Moeller, 05/14/2013
- [cgal-discuss] Re: segment_3 sphere intersection, mriem, 05/14/2013
- [cgal-discuss] Re: segment_3 sphere intersection, mriem, 05/14/2013
- Re: [cgal-discuss] Re: segment_3 sphere intersection, Pedro Machado Manhaes de Castro, 05/14/2013
- [cgal-discuss] Re: segment_3 sphere intersection, mriem, 05/14/2013
- [cgal-discuss] Re: segment_3 sphere intersection, mriem, 05/14/2013
- [cgal-discuss] Re: segment_3 sphere intersection, mriem, 05/14/2013
- Re: [cgal-discuss] segment_3 sphere intersection, Monique Teillaud, 05/14/2013
- Re: [cgal-discuss] segment_3 sphere intersection, Sebastien Loriot (GeometryFactory), 05/14/2013
Archive powered by MHonArc 2.6.18.