Subject: CGAL users discussion list
List archive
- From: Chris Theis <>
- To:
- Subject: [cgal-discuss] Extended polyhedra & nef_polyhedra
- Date: Thu, 14 Feb 2013 06:36:39 -0800 (PST)
Hello,
I'm currently trying to implement a module which needs to perform boolean
operations on polyhedra.
In general I'm using a class which is derived from CGAL::Polyhedron_3 for
managing my solids and for the boolean ops I would like to convert the
polyhedra to nef_polyhedra and then back.
If I do something like this:
CSGPolyhedron<Kernel, CGAL::Polyhedron_items_3> TestPoly;
CGAL::Nef_polyhedron_3<Kernel> TestSolid( TestPoly );
then the compiler is happy. However, I have extended my polyhedron items so
my actual conversion would look like:
CSGPolyhedron<Kernel, CItemsEx> TestPoly;
CGAL::Nef_polyhedron_3<Kernel> TestSolid( TestPoly );
CItemsEx is derived from CGAL::Polyhedron_items_3 and handles the
information for vertex & face normals. However, when I'm using my extended
items then the compiler starts complaining:
snc_structure.h(174): error C2903: 'Halffacet' : symbol is neither a class
template nor a function template
....and many more error messages
I could trace this problem back to the use of the extended items. In
principle I would not need the extended functionality within the nef
polyhedra. But I don't know how to do the conversion of my extended
polyhedron to the nef_polyhedron. The available constructors do not seem to
work.
Is there any other way to do this? I'd greatly appreciate any hint in this
direction because I would really like to keep my extended items for the
polyhedra.
Thanks a lot
Chris
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Extended-polyhedra-nef-polyhedra-tp4656726.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Extended polyhedra & nef_polyhedra, Chris Theis, 02/14/2013
- Re: [cgal-discuss] Extended polyhedra & nef_polyhedra, Sebastien Loriot (GeometryFactory), 02/14/2013
- RE: [cgal-discuss] Extended polyhedra & nef_polyhedra, Chris Theis, 02/14/2013
- Re: [cgal-discuss] Extended polyhedra & nef_polyhedra, Sebastien Loriot (GeometryFactory), 02/15/2013
- RE: [cgal-discuss] Extended polyhedra & nef_polyhedra, Chris Theis, 02/15/2013
- Re: [cgal-discuss] Extended polyhedra & nef_polyhedra, Sebastien Loriot (GeometryFactory), 02/15/2013
- RE: [cgal-discuss] Extended polyhedra & nef_polyhedra, Chris Theis, 02/15/2013
- Re: [cgal-discuss] Extended polyhedra & nef_polyhedra, Sebastien Loriot (GeometryFactory), 02/15/2013
- RE: [cgal-discuss] Extended polyhedra & nef_polyhedra, Chris Theis, 02/15/2013
- Re: [cgal-discuss] Extended polyhedra & nef_polyhedra, Sebastien Loriot (GeometryFactory), 02/15/2013
- RE: [cgal-discuss] Extended polyhedra & nef_polyhedra, Chris Theis, 02/14/2013
- Re: [cgal-discuss] Extended polyhedra & nef_polyhedra, Sebastien Loriot (GeometryFactory), 02/14/2013
Archive powered by MHonArc 2.6.18.