Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] access the full_cell of a regular triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] access the full_cell of a regular triangulation


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] access the full_cell of a regular triangulation
  • Date: Mon, 2 Sep 2019 08:38:29 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:qZSdeRGyOHNa+SpfnXJskZ1GYnF86YWxBRYc798ds5kLTJ7yps6wAkXT6L1XgUPTWs2DsrQY0rCQ6v6xEjVYvt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMhm6txjdu8gSjIdtN6o91hnEqWZUdupLwm9lOUidlAvm6Meq+55j/SVQu/Y/+MNFTK73Yac2Q6FGATo/K2w669HluhfFTQuU+3sTSX4WnQZSAwjE9x71QJH8uTbnu+Vn2SmaOcr2Ta0oWTmn8qxmRgPkhDsBOjUk9mzcl85+g79BoB+5uhJx3YDUboGWOvRwcKzSctEVSnZOUMtKSyxMAJmxY5cTA+cPP+tVqZT2qVsUrRu5AAmhHO3jxCJWiXDtx6I6yPghEQDY0wwmAtkAtnPUrM/0NKcVTeC+0a3EwzTdYPNR3Dfy9pTIcgohoP+MR71/bdbRyU41FwLFi1mcp5HuMjSO1uQJtGib9etgVeWzi2I9rgFxpiOixsgpiobTh4IVzkrI+jl+wIYwPNC1TlNwb9CjEJtVrS6aNo12T9skQ25yoyk10bkGtoChcCcWz5QnwhjSYOGEfYiQ+h/vSvqdLDNiiH9meL+znQi+/Va9xuHmWcS4zk5GojRfndXQq3wA0gLc58aIR/Z44Eih1zeC2BzW5+1ZLk07jrbXJps/zrM0iJUes0HOEy7ql0j3j6Kbc0Up9+i15OnnZ7jpuIKTOo1ohQz4L68ggNawAf4iPQgLR2Wb+fqz1Lnk/UDhRbVFlPw2kq3AvJHUP8QXu7e1AwFa34o98Rq/ADCm0NMXnXkDMl1JYg6Ij4/sO13WIfD4C+mwg0i0nTt12/zLOqftD5bNI3TZjrvtY6tx51RTxQYt1dxf4ohbCrAFIPL9QE/xs9nYAwciMwywxObnEtR91oQCWW6VB6+ZNLjfsVCN5u01IumMYJUZtyr6K/gg//Lul2M2mUcBfam12psacGy3Hvt8LEWdeHbjn9YBEXwWsQojV+zqk0aPUSVTZna3R6Iz/Cs3CIOgDYfZR4CimqaN3CmhHs4eWmcTAV+FFTLkdp6PRuwXQCOUOM5o1DIeBpa7TIp0nyqjvgbh17tqKKLw/TcZso6rlPd44OjeiQsj2zV/E8OHwiDHBzVvmmQSRjgqmqV7iUN4w1aHl6N/hqoLRpRo+/pVX1JiZtbnxOtgBoWqA16TTpKyUF+jB+6eL3QpVNtomo0BZk98H5OpiRWRh3P7UY9QrKSCAdkPyoyZ2nHwI8hnzHOfjfsuilAnRo1EMmj03/cipTiWPJbAlgCir4jvdakY23SQpmKKzG7Lo1sBFQAsC+PKWncQYkaQptP8tBvP

Where did you see this Full_cell_const_iterator?
I don't see it in the documentation nor in the code.

Did you mean All_cells_iterator?

Sebastien.



On 8/15/19 5:32 AM, BRYang wrote:
Hi, I am trying to access the full_cell of a regular triangulation RT, and my
code is as follows:
/////////////////////

#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Regular_triangulation_3.h>
#include <CGAL/Regular_triangulation_cell_base_3.h>
#include <CGAL/Triangulation_vertex_base_3.h>
#include <CGAL/Triangulation_vertex_base_with_info_3.h>
class RtVertexInfo
{
public:
unsigned id;
};

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef K::FT
Weight;
typedef K::Point_3
RTPoint;
typedef K::Weighted_point_3
Weighted_point;
typedef CGAL::Regular_triangulation_vertex_base_3<K>
Vb0;
typedef CGAL::Triangulation_vertex_base_with_info_3<RtVertexInfo, K, Vb0>
RtVb;
typedef CGAL::Regular_triangulation_cell_base_3<K>
RtCb;
typedef CGAL::Triangulation_data_structure_3<RtVb, RtCb>
RtTds;
typedef CGAL::Regular_triangulation_3<K, RtTds>
Regular_Triangulation;

typedef Regular_Triangulation::Finite_facets_iterator

Finite_facets_iterator;
typedef Regular_Triangulation::Finite_edges_iterator

Finite_edges_iterator;
typedef Regular_Triangulation::Finite_vertices_iterator

Finite_vertices_iterator;
typedef Regular_Triangulation::Face_circulator
Facet_circulator;
typedef Regular_Triangulation::Cell_handle
Cell_handle;
typedef Regular_Triangulation::Vertex_handle
Rt_Vertex_handle;
//typedef RtTds::Full_cell_const_iterator
Full_cell_const_iterator;

////////////

However, when I was trying to define the Full_cell_const_iterator as the
last line of my code which I have comment out, it shows that
Full_cell_const_iterator is not a member of Triangulation_data_structure_3.

I am wondering what's the matter with my code and how I can access the
Full_cell of the regular triangulation.

The other problem is that when I tried computing the regular triangulation
with a set of spheres, it will fails at inserting some spheres. And I
believe that the sphere should be conflict with some boundary cells of the
triangulation. How can I handle this kind of problem then?

I would be appreciate that someone can help me with these problems.

Thank you!

Best,
Baorong Yang



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



  • Re: [cgal-discuss] access the full_cell of a regular triangulation, Sebastien Loriot (GeometryFactory), 09/02/2019

Archive powered by MHonArc 2.6.18.

Top of Page