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: Atul Thakur <>
  • To:
  • Subject: Re: [cgal-discuss] Re: issues on CGAL::intersection
  • Date: Sun, 14 Jun 2009 22:26:03 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=IQPqNj3Yn2zB2faiW9c0k3s4Njo7LsOoDw5dMD1A+uxr+lNKfxWqshMEWAz4fDSR/9 pd1A3MGlwJ4LtjhUVuzSBimJvPmnO02RIe+RfzDKc3pUoyyRu7dbCQe3lMM3rWvhx+dE rjoX0086QjZcURTfaYFgTq3GmpInHO2ZOY6EQ=

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