Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: BRYang <>
  • To:
  • Subject: [cgal-discuss] access the full_cell of a regular triangulation
  • Date: Wed, 14 Aug 2019 21:24:10 -0500 (CDT)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Fail ; spf=Pass
  • Ironport-phdr: 9a23:xSDoKh3/9rdyM1MesmDT+DRfVm0co7zxezQtwd8ZseweK/ad9pjvdHbS+e9qxAeQG9mCsbQd0LKd6fCocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmSSxbalvIBi4sQndudcajIh/Iast1xXFpWdFdf5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALMTRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTljjoMOTwk/2HNksF+gqJVrgyiqRJizIHbfI6bOeFifq7fYd8WWXZNUtpPWyFHH4iyb5EPD+0EPetAsoTzu1kBogG4BQmjGejizT9JiWTs3aAh3OUhFBzG0BY+EN0TrXTYtsn6NKELXO2z0aLGwzLDb/ZM1jf87ojFahYhruuXUr1rdcre11MjGB/CjlWVr4HuIjCb1vwVvmSG6+dtUfijhmAkpg1roTWix90gh4jIi48T11vK7z92wJwvKt29UEN7YcCrEJ9XtyyCMYt7TdkuQ2dytykh0bIGvYC0cDIWx5Qgwh7Tc/2Hc46W7RL/TOudPDN1iXZ/dL+xhBu+60utx+zmWsS10VtGti9FncPNtnAJ2RzT8M+HSv5l80ahwjmPzRve6+5BIUApj6bUNYMuwqMqmpUPt0TPBjX2l1nujK+KakUk/fCl5PjoYrr8op+QLpJ7igDlMqsyh8y/Gv84PxMVX2mb/OS8zKfs8Vf4QLVMlP02k7PWvIrUJcQB9eaFBFpe3Y8nrhq+FDy7y88wnH8dLVsDdgjUoZLuPgTkGsHxC/j310Wmih97wu2AM7H8RJ7LeCuQ2Iz9dKpwvhYPgDE4yspSssoNVuMxZcnrU0q0j+T2SwcjOlXukfbiFZNw2p5YUmTdWvbEYpOXikeB46cUG8fJZIIRv2+gef55ofjnh3U9lBkWeqz7hMJGOkD9JexvJgCiWVSph94AFWkQuQ9nFr76jUDEXDJOIX20Df4x

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/



Archive powered by MHonArc 2.6.18.

Top of Page