Skip to Content.
Sympa Menu

cgal-discuss - Re:[cgal-discuss] Triangulation_vertex_base_with_info_3 and Regular_triangulation_3 gives compile error on T.insert()

Subject: CGAL users discussion list

List archive

Re:[cgal-discuss] Triangulation_vertex_base_with_info_3 and Regular_triangulation_3 gives compile error on T.insert()


Chronological Thread 
  • From: "Thomas Zangl - Home" <>
  • To: "cgal-discuss" <>
  • Subject: Re:[cgal-discuss] Triangulation_vertex_base_with_info_3 and Regular_triangulation_3 gives compile error on T.insert()
  • Date: Tue, 10 Jul 2007 19:10:17 +0200


Am Tue, 10 Jul 2007 18:57:03 +0200, schrieb "Laurent Rineau"
<>:

Hi!

>> My typdefs look like this:
>> typedef CGAL::Exact_predicates_exact_constructions_kernel K;
>> typedef CGAL::Triangulation_vertex_base_with_info_3<CGAL::Color, K> Vb;
>> typedef CGAL::Triangulation_data_structure_3<Vb> Tds;
>
>UseĀ :
>typedef CGAL::Exact_predicates_exact_constructions_kernel K;
>typedef CGAL::Triangulation_vertex_base_with_info_3<CGAL::Color, K> Vb;
>typedef CGAL::Regular_triangulation_cell_base_3<K> Cb;
>typedef CGAL::Triangulation_data_structure_3<Vb, Cb> Tds;

You mean like this:
typedef CGAL::Triangulation_vertex_base_with_info_3<CGAL::Color, K> Vb;
typedef CGAL::Regular_triangulation_cell_base_3<K> Cb;
typedef CGAL::Triangulation_data_structure_3<Vb, Cb> Tds;
typedef CGAL::Regular_triangulation_filtered_traits_3<K>
Regular_TriangulationTraits;
typedef CGAL::Regular_triangulation_3<Regular_TriangulationTraits, Tds>
Regular_triangulation;

?

Well, I get 1000's of lines of compile errors :-/
/include/common_3.h:26: error: no type named `Weighted_point_3' in `struct K'
/include/common_3.h:26: error: template argument 3 is invalid
/include/common_3.h:26: error: ISO C++ forbids declaration of `Cb' with no
type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h: In
instantiation of `CGAL::TDS3<Vb, Cb>':
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_3.h:82: instantiated from
`CGAL::TR3<Regular_TriangulationTraits, Tds>'
/home/TZi/CGAL-3.3/include/CGAL/Regular_triangulation_3.h:47: instantiated
from `CGAL::RT3<Regular_TriangulationTraits, Tds>'
/include/common_3.h:30: instantiated from here
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:70: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:74: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:85: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:86: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:88: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h: In
instantiation of `CGAL::TDS3<Vb, Cb>':
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_3.h:82: instantiated from
`CGAL::TR3<Regular_TriangulationTraits, Tds>'
/home/TZi/CGAL-3.3/include/CGAL/Regular_triangulation_3.h:47: instantiated
from `CGAL::RT3<Regular_TriangulationTraits, Tds>'
/include/common_3.h:30: instantiated from here
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:101: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:180: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:181: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:204: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:209: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:215: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:221: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:248: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:253: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:258: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:264: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:272: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:277: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:284: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:293: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:306: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:317: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1552: error:
no type named `Cell_handle' in `class CGAL::TDS3<Vb, Cb>'
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:346: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1126: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1091: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1175: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1146: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1191: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1208: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1275: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1253: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1284: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1264: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1300: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1316: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1324: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1336: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:409: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1359: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:413: error:
`Cb' is not a class, struct, or union type
/home/TZi/CGAL-3.3/include/CGAL/Triangulation_data_structure_3.h:1422: error:
`Cb' is not a class, struct, or union type
...

Seems I did something wrong :-/
Best regards,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -

-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -



Archive powered by MHonArc 2.6.16.

Top of Page