Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] adding additional variables in 3D triangulation data structure

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] adding additional variables in 3D triangulation data structure


Chronological Thread 
  • From: Tianyun Su <>
  • To:
  • Subject: Re: [cgal-discuss] adding additional variables in 3D triangulation data structure
  • Date: Sat, 16 Jul 2016 23:37:36 +0800
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:uBLP3BxlcZN7yY/XCy+O+j09IxM/srCxBDY+r6Qd0eIRIJqq85mqBkHD//Il1AaPBtSDra4ZwLCP4+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMzfbWtXNKPxJ7uh6ibwN76W01wnj2zYLd/fl2djD76kY0ou7ZkMbs70RDTo3FFKKx8zGJsIk+PzV6nvp/jtM0rziJLpvh099JcSb6oOOMjXLlABXInNXo07Yvlr17YXA6X7zwdVGsR1RFHCgyA4BDhVYrqqXjGsb921yCeeMH3VrspQi+K7qFxSRauhj1UGSQ+9TTri8V2nb9d6Cm870hjwofScZyTcuFjVqzYdNIeA2FGW5ACBGR6HoqgYt5XXKI6NuFCotylqg==

Hi Adam,
Thank you for your response and instruction. I have not use
Triangulation_vertex_base_with_info_3 or
Triangulation_cell_base_with_info_3 before. Can you give me a more
instruction about assigning and accessing the value of the added
unsigned integer variable?
Thanks again.

Tianyun


On Sat, Jul 16, 2016 at 7:31 AM, Adam Getchell
<>
wrote:
> Sorry, the rest of the header might be useful:
>
>>
>> // CGAL headers
>> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
>> #include <CGAL/Triangulation_vertex_base_with_info_3.h>
>> #include <CGAL/Triangulation_cell_base_with_info_3.h>
>> #include <CGAL/Delaunay_triangulation_3.h>
>>
>> using K = CGAL::Exact_predicates_inexact_constructions_kernel;
>> using Triangulation = CGAL::Triangulation_3<K>;
>> // Used so that each timeslice is assigned an integer
>> using Vb = CGAL::Triangulation_vertex_base_with_info_3<std::uintmax_t, K>;
>> // Used to mark cell type
>> using Cb = CGAL::Triangulation_cell_base_with_info_3<std::uintmax_t, K>;
>
> // Parallel operations
> #ifdef CGAL_LINKED_WITH_TBB
> using Tds = CGAL::Triangulation_data_structure_3<Vb, Cb,
> CGAL::Parallel_tag>;
> #else
> using Tds = CGAL::Triangulation_data_structure_3<Vb, Cb>;
> #endif
> using Delaunay = CGAL::Delaunay_triangulation_3<K, Tds>;
> using Cell_handle = Delaunay::Cell_handle;
> using Vertex_handle = Delaunay::Vertex_handle;
> using Locate_type = Delaunay::Locate_type;
> using Point = Delaunay::Point;
>
> Adam
> --
> Adam Getchell
> about.me/adamgetchell
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>



Archive powered by MHonArc 2.6.18.

Top of Page