Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compilation error in boundig_box_3.h when using Polyhedron_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compilation error in boundig_box_3.h when using Polyhedron_3


Chronological Thread 
  • From: shenga <>
  • To:
  • Subject: Re: [cgal-discuss] Compilation error in boundig_box_3.h when using Polyhedron_3
  • Date: Mon, 19 Oct 2009 00:32:18 -0700 (PDT)


No one got an idea ?


shenga wrote:
>
> Hi,
>
> I am using CGAL in order to make boolean operations on 3D mesh and I would
> like to use CGAL Polyhedrons to do that (according to SIGGRAPH 2008
> course, slide #63 to be more specific).
>
> My code is :
>
> #include "CGAL/Cartesian.h"
> #include "CGal/Polyhedron_3.h"
> #include "CGal/Nef_Polyhedron_3.h"
> #include "CGal/IO/Polyhedron_iostream.h"
>
> typedef CGAL::Cartesian<double> Kernel;
> typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
> typedef CGAL::Nef_polyhedron_3<Kernel> Nef;
>
> class MyClass
> {
> public:
> static Nef* create_nef ();
> }
>
> Nef* MyClass::create_nef ()
> {
> Polyhedron p;
> return new Nef (p);
> }
>
> I got these compilation errors with MS Visual Studio 2008 :
> Erreur 63 error C2039: 'lo' : n'est pas membre de
> 'CGAL::Box_intersection_d::Box_d<NT_,N>'
> cgal\include\cgal\nef_3\bounding_box_3.h 89
> Erreur 64 error C2065: 'lo' : identificateur non déclaré
> cgal\include\cgal\nef_3\bounding_box_3.h 89
> Erreur 65 error C2039: 'hi' : n'est pas membre de
> 'CGAL::Box_intersection_d::Box_d<NT_,N>'
> cgal\include\cgal\nef_3\bounding_box_3.h 90
> Erreur 66 error C2065: 'hi' : identificateur non déclaré
> cgal\include\cgal\nef_3\bounding_box_3.h 90
>
> I inspected the cgal/box_intersection/box_d.h file and in fact, one Box_d
> class has those two attributes, but not the other ones. I think that the
> class choice, made with template parameters is wrong.
>
> Has anyone ever got that problem and know how to fix that issue ?
>
>

--
View this message in context:
http://www.nabble.com/Compilation-error-in-boundig_box_3.h-when-using-Polyhedron_3-tp25921691p25954202.html
Sent from the cgal-discuss mailing list archive at Nabble.com.




Archive powered by MHonArc 2.6.16.

Top of Page