Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: issues on CGAL::intersection

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: issues on CGAL::intersection


Chronological Thread 
  • From: Joe C <>
  • To:
  • Subject: Re: [cgal-discuss] Re: issues on CGAL::intersection
  • Date: Sun, 14 Jun 2009 19:46:01 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BOQzAzYrMOkWl/idiD9fbRI6EKn8ijW6su2a1B55zG0+ZivYKGC3gbSdAACAUEDQpv shLSI2UpGCEAVHPgkGrKGIl4Ggvukg08W8gEDMVqWE+ir/Pr42zp3AyV0FpxkyXCTVfs egeBQryo/kvDpvm1OFlg/Ya7JjGjmoPpbfD6M=

Thanks, Atul. I just found out that I am mixing the usage of different kernels for my Plane_3 and Segment_3. Now the consistent kernel resolved the problem :-)

Cheers.
Joe

2009/6/14 Atul Thakur <>
For me this function works fine.
Which Kernel you are using?
I am using

typedef CGAL::Simple_cartesian<CGAL::Gmpq>  Kernel;

-Atul


2009/6/14 Joe C <>

any hints? probably just one simple setting or something, but don't know how...

Joe


On Fri, Jun 12, 2009 at 2:28 AM, Joe C <> wrote:
Hi

I run into a strange issue when using CGAL::intersection(Plane_3, Segment_3) in version 3.4. The visual studio 2008 compiler keeps giving me this error message:

Error    84    error C2664: 'CGAL::Object CGAL::intersection<Kernel_>(const CGAL::Bbox_3 &,const CGAL::Segment_3<R_> &)' : cannot convert parameter 1 from 'Plane_3' to 'const CGAL::Bbox_3 &'    ...

It requires the first input is the type of CGAL::Bbox_3, but the manual on CGAL::intersection clearly states that I can have two input objects : type 1 as Plane_3 and type 2 as Segment_3. This happens no matter I add a header file <CGAL/intersections.h> or not... Any ideas why it fails on Plane_3 input?

Thanks.
Joe







Archive powered by MHonArc 2.6.16.

Top of Page