Subject: CGAL users discussion list
List archive
- From: Ashwin Nanjappa <>
- To: CGAL Discuss <>
- Subject: Bbox_3 and Segment_3 intersection
- Date: Wed, 24 Oct 2007 13:21:59 +0800
Hi,
I get the following (see below) compile time error message when I do an intersection of a Bbox_3 and a Segment_3. What type do I change to get it working? What is the problem here?
My current types are as follows:
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef CGAL::Segment_3<K> Segment_3;
typedef CGAL::Bbox_3 Bbox_3;
TIA,
~ash
============================================================
1>c:\program files\cgal-3.3.1\include\cgal\lazy.h(1655) : error C2665: 'CGAL::exact' : none of the 8 overloads could convert all the argument types
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(83): could be 'const double &CGAL::exact(const double &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(84): or 'const float &CGAL::exact(const float &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(85): or 'const int &CGAL::exact(const int &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(86): or 'const unsigned int &CGAL::exact(const unsigned int &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(87): or 'const CGAL::Return_base_tag &CGAL::exact(const CGAL::Return_base_tag &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(88): or 'const CGAL::Null_vector &CGAL::exact(const CGAL::Null_vector &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(89): or 'const CGAL::Origin &CGAL::exact(const CGAL::Origin &)'
1> c:\program files\cgal-3.3.1\include\cgal\lazy.h(90): or 'const CGAL::Orientation &CGAL::exact(const CGAL::Orientation &)'
1> while trying to match the argument list '(const CGAL::Bbox_3)'
1> c:\program files\cgal-3.3.1\include\cgal\intersections_3\intersection_3_1_impl.h(831) : see reference to function template instantiation 'CGAL::Lazy_construction_object<LK,AC,EC>::result_type CGAL::Lazy_construction_object<LK,AC,EC>::operator ()<CGAL::Segment_3<R_>,CGAL::Bbox_3>(const L1 &,const L2 &) const' being compiled
1> with
1> [
1> LK=CGAL::Lazy_kernel<CGAL::Simple_cartesian<CGAL::Gmpq>>,
1> AC=CGAL::CommonKernelFunctors::Intersect_3<CGAL::Simple_cartesian<CGAL::Interval_nt_advanced>>,
1> EC=CGAL::CommonKernelFunctors::Intersect_3<CGAL::Simple_cartesian<CGAL::Gmpq>>,
1> R_=K,
1> L1=CGAL::Segment_3<K>,
1> L2=CGAL::Bbox_3
1> ]
============================================================
- Bbox_3 and Segment_3 intersection, Ashwin Nanjappa, 10/24/2007
- Re: [cgal-discuss] Bbox_3 and Segment_3 intersection, Andreas Fabri, 10/24/2007
- Re: [cgal-discuss] Bbox_3 and Segment_3 intersection, Ashwin Nanjappa, 10/24/2007
- Re: [cgal-discuss] Bbox_3 and Segment_3 intersection, Andreas Fabri, 10/24/2007
Archive powered by MHonArc 2.6.16.