Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Copy of Delaunay triangulation to a simple Triangulation

Subject: CGAL users discussion list

List archive

[cgal-discuss] Copy of Delaunay triangulation to a simple Triangulation


Chronological Thread 
  • 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.



Archive powered by MHonArc 2.6.16.

Top of Page