Subject: CGAL users discussion list
List archive
- From: petitmalin <>
- To:
- Subject: [cgal-discuss] Copy of Delaunay triangulation to a simple Triangulation
- Date: Tue, 6 Mar 2012 06:27:22 -0800 (PST)
Hi,
I'm trying to convert a Delaunay_triangulation_3 to a simple
Triangulation_3, but i have failed, here is the way:
First, typedefs:
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_vertex_base_with_info_3<vertexInfos, K>
Vb;
typedef CGAL::Triangulation_hierarchy_vertex_base_3<Vb> Vbn;
typedef CGAL::Triangulation_cell_base_with_info_3<cellInfos, K> Cb;
typedef CGAL::Triangulation_data_structure_3<Vbn, Cb> TDS;
typedef CGAL::Delaunay_triangulation_3<K, TDS,CGAL::Fast_location>
Delaunay;
typedef CGAL::Triangulation_3<K,TDS> Triangulation;
then i insert some points into an object of Delaunay: mydelaunay
I create an object of Triangulation: mytriangulation.
finally, I want mytriangulation.tds()=mydelaunay.tds(), but I got error of
compilation.
can not anyone help me. thanks in advance
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Copy-of-Delaunay-triangulation-to-a-simple-Triangulation-tp4450013p4450013.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Copy of Delaunay triangulation to a simple Triangulation, petitmalin, 03/06/2012
- Re: [cgal-discuss] Copy of Delaunay triangulation to a simple Triangulation, Sebastien Loriot (GeometryFactory), 03/06/2012
- [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, petitmalin, 03/06/2012
- Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Sebastien Loriot (GeometryFactory), 03/06/2012
- Re: Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Laurent Rineau (GeometryFactory), 03/06/2012
- Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Olivier Devillers, 03/06/2012
- [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, petitmalin, 03/07/2012
- Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Sebastien Loriot (GeometryFactory), 03/07/2012
- Re: Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Laurent Rineau (GeometryFactory), 03/07/2012
- Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Sebastien Loriot (GeometryFactory), 03/07/2012
- Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, Sebastien Loriot (GeometryFactory), 03/06/2012
- [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation, petitmalin, 03/06/2012
- Re: [cgal-discuss] Copy of Delaunay triangulation to a simple Triangulation, Sebastien Loriot (GeometryFactory), 03/06/2012
Archive powered by MHonArc 2.6.16.