Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] issues on CGAL::intersection


Chronological Thread 
  • From: Joe C <>
  • To:
  • Subject: [cgal-discuss] issues on CGAL::intersection
  • Date: Fri, 12 Jun 2009 02:28:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=S8FwvPNqHz5EvqRkIRAEbvciuNLVWLvJWERTWkBrjlWNGVCaalu6jFBeBU/txJQmDi 3bwlqPytp2aiVcfPz3JWGnMvgRuJzjrliMRSqwHIGwdrPtn1ygAnrM5OLxyhMXA/ewJd C5F1LwBkXfKjvuDSV4kUJhtyLrk2W2YKYqeoU=

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