Subject: CGAL users discussion list
List archive
- From: Peter Hachenberger <>
- To:
- Subject: Re: [cgal-discuss] known issue with Nef_polyhedron_3.is_convex() ?
- Date: Fri, 20 Jul 2007 14:16:04 +0200
There is no funtion Nef_polyhedron_3::is_convex.
Where did you find that? No idea why the compiler just does not
tell you that the function does not exist.
Peter
On Fri, 2007-07-20 at 12:07 +0200, Zorg wrote:
> Hi,
>
> I use the example given with CGAL-3.3
> "examples/Nef_3/point_set_operations.cpp",
>
> with adding only one line before "return 0;", which line is
> "CGAL_assertion(Cube2.is_convex());"
>
>
>
> Compilation fails with the following message:
>
>
>
> g++ -Wall -frounding-math '-I/usr/local/include' -I/usr/include/Qt
> -g g++ -ggdb -I/usr/local/include/crystalspace -ggdb -c X2.cc -o X2.o
> -Wall -frounding-math -DCGAL_USE_CGAL_CORE
>
> /usr/local/include/CGAL/Nef_3/Infimaximal_box.h: In static member
> function ‘static typename SNC_structure::Volume_handle
> CGAL::Infimaximal_box<CGAL::Boolean_tag<true>,
>
> Kernel>::getNirvana(SNC_structure&) [with SNC_structure = const
>
> CGAL::SNC_structure<CGAL::Extended_homogeneous<CGAL::Gmpz>,
> CGAL::SNC_items,
>
> bool>, Kernel = CGAL::Extended_homogeneous<CGAL::Gmpz>]’:
>
> /usr/local/include/CGAL/Nef_polyhedron_3.h:668: instantiated from
> ‘bool
>
> CGAL::Nef_polyhedron_3<K, I, Mk>::is_convex() const [with Kernel_ =
> CGAL::Extended_homogeneous<CGAL::Gmpz>, Items_ = CGAL::SNC_items,
> Mark_ = bool]’
>
> X2.cc:32: instantiated from here
>
> /usr/local/include/CGAL/Nef_3/Infimaximal_box.h:362: erreur:
> conversion from
> ‘CGAL::CGALi::In_place_list_const_iterator<CGAL::SNC_in_place_list_volume<CGAL::SNC_items::Volume<CGAL::SNC_structure<CGAL::Extended_homogeneous<CGAL::Gmpz>,
>
> CGAL::SNC_items, bool> > >,
>
> std::allocator<CGAL::SNC_in_place_list_volume<CGAL::SNC_items::Volume<CGAL::SNC_structure<CGAL::Extended_homogeneous<CGAL::Gmpz>,
>
> CGAL::SNC_items, bool> > > > >’ to non-scalar type
> ‘CGAL::CGALi::In_place_list_iterator<CGAL::SNC_in_place_list_volume<CGAL::SNC_items::Volume<CGAL::SNC_structure<CGAL::Extended_homogeneous<CGAL::Gmpz>,
>
> CGAL::SNC_items, bool> > >,
>
> std::allocator<CGAL::SNC_in_place_list_volume<CGAL::SNC_items::Volume<CGAL::SNC_structure<CGAL::Extended_homogeneous<CGAL::Gmpz>,
>
> CGAL::SNC_items, bool> > > > >’ requested
>
> make: *** [X2.o] Erreur 1
>
>
>
> Is there any known issue with Nef_polyhedron_3.is_convex()?
>
>
>
> CGAL is configured as this:
>
> ****************************************************************
>
> ** **
>
> ** Compiling CGAL 3.3 **
>
> ** ================== **
>
> ** **
>
> ****************************************************************
>
>
>
> OS: i686_Linux-2.6
>
> COMPILER: GNU 4.1.2
>
> BOOST: supported (1.33.1)
>
> BOOST_PROGRAM_OPTIONS: supported (1.33.1)
>
> BOOST_BIMAP: not supported
>
> X11: supported (11.0)
>
> GMP: supported (4.1.4)
>
> GMPXX: supported (4.1.4)
>
> MPFR: supported (2.2.1)
>
> ZLIB: supported (1.2.3)
>
> BLAS: not supported
>
> LAPACK: not supported
>
> ATLAS: not supported
>
> LEDA: not supported
>
> LEDAWIN: not supported
>
> OPENGL: supported (2.1)
>
> QT: supported (3.3.8)
>
> TAUCS: not supported
>
>
>
>
>
> Thanks for help.
>
>
>
>
>
>
>
>
>
>
>
>
>
- known issue with Nef_polyhedron_3.is_convex() ?, Zorg, 07/20/2007
- Re: [cgal-discuss] known issue with Nef_polyhedron_3.is_convex() ?, Peter Hachenberger, 07/20/2007
- RE: [cgal-discuss] known issue with Nef_polyhedron_3.is_convex() ?, Zorg, 07/20/2007
- Re: [cgal-discuss] known issue with Nef_polyhedron_3.is_convex() ?, Peter Hachenberger, 07/20/2007
Archive powered by MHonArc 2.6.16.