Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Triangulation to Polyhedron
- Date: Wed, 19 Nov 2008 20:59:15 +0100
wrote:
Hi,
How do you convert a Delaunay_triangulation_3 object to a Polyhedron_3 object?
To me it is already not clear what of the Delaunay triangulation you
want to convert. The convex hull?
I tried to use CGAL::assign(), but it didn't work.
assign operates on CGAL::Object which is a wrapper for whatsover type T
and what assign does is unpacking whatever is in the object if the
type of what is inside is identical to what you want to assign to.
T t;
Object o = make_object(t);
Q q;
T t2;
bool b1 = assign(q,o); // b1 == false because typeof(t) != typeof(t)
bool b2 = assign(t2, o); // b2 == true because typeof(t) == typeof(t2)
All these words just to tell you that assign is not a any-to-any conversion
tool.
andreas
Thank you.
------------------------------------------------------------------------
Alle fun stuff van Messenger nu verzameld op één coole site! Windows Live Messenger <http://www.messengerbillboard.be/nl>
- [cgal-discuss] Triangulation to Polyhedron, pgoeleven, 11/19/2008
- Re: [cgal-discuss] Triangulation to Polyhedron, Andreas Fabri, 11/19/2008
- RE: [cgal-discuss] Triangulation to Polyhedron, pgoeleven, 11/19/2008
- Re: [cgal-discuss] Triangulation to Polyhedron, Shi Yan, 11/19/2008
- RE: [cgal-discuss] Triangulation to Polyhedron, pgoeleven, 11/20/2008
- Re: [cgal-discuss] Triangulation to Polyhedron, Andreas Fabri, 11/19/2008
Archive powered by MHonArc 2.6.16.