Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram


Chronological Thread 
  • From: Mael <>
  • To:
  • Subject: Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram
  • Date: Tue, 18 Jun 2019 15:03:51 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:qYd76Bw6oX1EgJPXCy+O+j09IxM/srCxBDY+r6Qd2+MVIJqq85mqBkHD//Il1AaPAdyBraocwLCJ++C4ACpcuM/H6ChDOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3OgV6PPn6FZDPhMqrye+y54fTYwJVjzahfL9+Nhq7oRjPusUMnYduNqk9xgXLr3BVf+ha2X5kKUickhrh+8u85oJv/zhVt/k868NOTKL2crgiQ7dFFjomKWc15MPqtRnHUwSC42YXX3sVnBRVHQXL9Qn2UZjtvCT0sOp9wzSaMtbtTb8oQzSi7rxkRwHuhSwaKjM26mDXish3jKJGvBKsogF0zoDIbI2JMvd1Y6XQds4YS2VcRMZcTzFPDJ2yb4UPDOQPM+hXoIb/qFQSthaxHxWgCfn1xzNUiHL736s32PkhHwHc2wwgGsoDvnPOo9rrMKcZTOe4zKzSwjrda/Nawy396I/VchEuv/6MWah8cc7LxkY0DAzKkE6dqYP7MDOS0+QCrXSb7/BgVOKhkWEotx1xoj+1xsYskIXGmoUVylXd+Ch/3Y07K9q4SEthbt6lFptdryeaOJFtTcw5R2Fnpjw2xaEBuZ6+ZCQF1JsnyATba/CddIiI+B3jWeCMKjl7nHJoYK+zihSx/ES6xODxWNO43EhKoyZYiNXAq3QA2wTN5sSdV/dw/l2t1DaP2gzJ9+1JIU85mKzGIJA72LEwjIAcsUHbEy/2hkr2iKiWe1059uWn8ejnZ7Lmq52GO49xkA7+M6AultW4AeQlLggCRW+b+fq81LH5+032XqlKguU3kqnfrp/aOdwWqrO7DgJWyIou5RiyAy243NkYgHULNk9JdRafg4jsIV7OIfT4Dfmlg1SrlTdm3/XGMaf/DZXJNHTDirDhfaty6kFCzAo/19Rf6IhPBb4aPv3+QUDxu8LfDh88LQO03/znCdVz1owERW2PHqiZMLnSsFOS+u0vJOyMaJcPuDnhM/gl++LujXghlFABcqmmx58XZGmlEfRnOEWWfWfsgswaEWoRpQo/TOnqiEWYXjJJZnayWbg85jAhB468A4fDXNPlvLvU1yiyGthaZ3tNF0uXOXbubYSNHfkWOwyIJco0tzUJUfD1ToYs0Ve0sxLqxr4hKuPe8CAwup/k0dVp/fzdnBou8iZlSc+a1jfeHClPgmoUSmpuj+hEqktnxwLbiPkqs7ljDdVWoshxfEI/PJ/YwfZ9DoqrCA3MedKEVEy3TNytHTYrX5Q6xNpcOx8gSeXntQjK2m+RO5FQl7GPA8ZpoPuAmX32eIB4wnfCka48kx8hXMsJM2C61PYmq1rjQrXRmkDcrJ6EMLwG1XSUpmiOym+DoFtJXgd7TaLfTDYUYU6E9dk=

This doesn't change much: although at that point in time, weighted_point_3 was indeed not part of the kernel, the regular triangulation had the same parameters as it still does:

template < class Gt, class Tds_ = Default, class Lock_data_structure_ = Default >
class Regular_triangulation_3

Thus it would similarly be:

typedef CGAL::Regular_triangulation_euclidean_traits_3<K>  Traits;
typedef Traits::Weighted_point                              Weighted_point;

typedef CGAL::Triangulation_vertex_base_3<K> Vb0;
typedef CGAL::Triangulation_vertex_base_with_info_3<int, K, Vb0> Vb;
typedef CGAL::Regular_triangulation_cell_base_3<K> Cb;
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
typedef CGAL::Regular_triangulation_3<Traits, Tds>               Rt;

Rt rt;
Rt::Vertex_handle vh = rt.insert(..)
vh->info() = my_id;
Weighted_point wp = vh->point();

etc.

Nevertheless, I can only advise you to switch to a much more recent version so that you can benefit from the various improvements.

Best,
Mael

On 18/06/2019 14:54, BRYang wrote:

Hi, Mael.

I am now using CGAL with version  4.8.2, and I find that Weighted_point_3 is
not a member of 'CGAL::Epick', but a member of
'CGAL::Regular_triangulation_euclidean_traits_3'. 

Is there still an index associated to each of the vertices in the 4.8.2
version of CGAL? Or we can only fix this with a higher version of CGAL?

Thank you!

Best,
Baorong Yang



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page