Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] how to integrate Delaunay_triangulation_3 into Alpha_shape_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] how to integrate Delaunay_triangulation_3 into Alpha_shape_3


Chronological Thread 
  • From: Song Lin <>
  • To:
  • Subject: [cgal-discuss] how to integrate Delaunay_triangulation_3 into Alpha_shape_3
  • Date: Sat, 08 May 2010 15:30:01 +0800

Hi,

I was trying to use the function "dt.nearest_vertex(Point p)". And the
class "Delaunay_triangulation_3" was needed.

But I don't know how to integrate the class into my codes. The typedef
part of my codes are:

typedef CGAL::Exact_predicates_inexact_constructions_kernel Kk;
typedef CGAL::Regular_triangulation_euclidean_traits_3<Kk> Gt;
typedef CGAL::Alpha_shape_vertex_base_3<Gt> Vb_as;
typedef CGAL::Triangulation_vertex_base_with_info_3<vertexinfo, Kk,
Vb_as> Vb;
typedef CGAL::Alpha_shape_cell_base_3<Gt> Cb_as;
typedef CGAL::Triangulation_cell_base_with_info_3<cellinfo, Kk, Cb_as>
Cb;
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
typedef CGAL::Regular_triangulation_3<Gt,Tds> Triangulation_3;
typedef CGAL::Alpha_shape_3<Triangulation_3> Alpha_shape_3;


What should I do to use the function Alpha_shape_3.nearest_vertex() in
my codes? Maybe it's naive but I was confused with the relationships
between "traits","data_structures",and "kernels"..

Best regards,
Lin

--
Center of Computational and Systems Biology,
Institute of Biophysics, CAS.
15 Datun Road, Chaoyang District
Beijing, 100101
P.R.China





Archive powered by MHonArc 2.6.16.

Top of Page