Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] Copying two different triangulation types.
- Date: Thu, 28 Jan 2010 09:36:12 +0100
Le 28/01/10 08:50, Simon Perkins a écrit :
Dear All
Is it possible to perform an exact copy of the vertices and cells
between two different 3D Triangulation types? For example, I want to use
the Mesh_3 package to tetrahedralize a domain and then copy the Mesh_3
Triangulation into a customized Triangulation_3.
What is the problem ? Is it different point type, or different requirements
in the vertex/cell types ? In the latter case, it might also be possible
to combine the requirements on vertex/cell types in order to have one
triangulation type that works in both cases. Then you avoid the copy
completely.
It doesn't seem
possible to do this via the constructor, copy() and swap() functions. I
also attempted this with the output and input streams, by outputting a
Mesh_3 Triangulation and trying to input the same into a
Triangulation_3, but this did not work due to a failed assertion.
"a failed assertion" ?
--
Sylvain Pion
INRIA Sophia Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [cgal-discuss] Copying two different triangulation types., Simon Perkins, 01/28/2010
- Re: [cgal-discuss] Copying two different triangulation types., Sebastien Loriot (GeometryFactory), 01/28/2010
- Re: [cgal-discuss] Copying two different triangulation types., Sylvain Pion, 01/28/2010
- Re: [cgal-discuss] Copying two different triangulation types., Simon Perkins, 01/28/2010
- Re: [cgal-discuss] Copying two different triangulation types., Laurent Rineau (GeometryFactory), 01/28/2010
Archive powered by MHonArc 2.6.16.