Commit Graph

279 Commits

Author SHA1 Message Date
Sébastien Loriot aec5d6a60c clean up after rebase 2016-11-29 11:43:47 +01:00
Guillaume Damiand 353dd551f8 Add a parameter to reverse orientation function to not unmark the reversed cc if used. 2016-11-29 11:43:46 +01:00
Guillaume Damiand efae67d339 Add beta_inv macro 2016-11-29 11:43:45 +01:00
Guillaume Damiand da3b1551ec Replace unsigned int -> size_type to avoid a warning. 2016-11-29 11:43:44 +01:00
Guillaume Damiand c1415e05f2 Add cgal_use for a unused variable warning 2016-11-29 11:43:44 +01:00
Guillaume Damiand 98cba35a39 Add missing template argument when calling Copy_dart_info_functor; plus a cast for dual in order to get the correct type. 2016-11-29 11:43:43 +01:00
Guillaume Damiand 9731a1a51e Correction of copy dart info functor. 2016-11-29 11:43:43 +01:00
Guillaume Damiand 70155e27ad Correct functors for non variadic case. 2016-11-29 11:43:42 +01:00
Guillaume Damiand 220bf51f93 Bug fix in close and insert_cell_2_in_cell_3 functions: both for CMap and GMap. 2016-11-29 11:43:40 +01:00
Guillaume Damiand d4d788837e Correct isomorphism functions to process correctly empty maps. 2016-11-29 11:43:40 +01:00
Guillaume Damiand 12328929b2 Update LCC tests: now they are done both for CMap and GMap. 2016-11-29 11:43:38 +01:00
Guillaume Damiand 588ba4f527 Allow isomorphism to test dartinfo and/or point and/or attribute independently; use this in LCC test. 2016-11-29 11:43:37 +01:00
Guillaume Damiand 80ffced770 Update lcc test 2016-11-29 11:43:37 +01:00
Guillaume Damiand f00f6f71f4 Not need to link in both directions; this is done automatically. 2016-11-29 11:43:36 +01:00
Guillaume Damiand 2ab268965f LCC for CMap and GMap; incremental builder; save and load; test. 2016-11-29 11:43:36 +01:00
Guillaume Damiand df3b2a4850 LCC constructors compile now both for CMap and GMap (need tests) 2016-11-29 11:43:36 +01:00
Guillaume Damiand 7618192d21 Start incremental builder 2016-11-29 11:43:36 +01:00
Guillaume Damiand 1a357d5519 Now sew3 same facets works for both CMap and GMap. 2016-11-29 11:43:35 +01:00
Guillaume Damiand 4bacc7a25a Remove some useless include; set constructor of Dart and attribute protected; check for friend directives. 2016-11-29 11:43:35 +01:00
Guillaume Damiand e571639c94 Continue to work on LCC operations for CMap and GMap... 2016-11-29 11:43:35 +01:00
Guillaume Damiand 8d577b35da Modif of copy contructors in GMap; bugfix in copy function. 2016-11-29 11:43:34 +01:00
Guillaume Damiand b43ba70a5f Rename storare class (used internally); update copy constructor calls. 2016-11-29 11:43:34 +01:00
Guillaume Damiand 1d963f4ce7 Update copy between map to copy also dart_info; update also isomorphism function; start to update test (nyf) 2016-11-29 11:43:34 +01:00
Guillaume Damiand 57e4ff3abd * replace CGAL_CMAP_DEPRECATED macro by CGAL_CMAP_DART_DEPRECATED
* protect deprecated code with #ifndef CGAL_NO_DEPRECATED_CODE
2016-11-29 11:43:33 +01:00
Guillaume Damiand 21a121019a * Update names for next, previous and opposite functions (following the ref manual);
* update GMap examples.
2016-11-29 11:43:33 +01:00
Guillaume Damiand 233840ffc5 Replace pointer by reference in all functions.
This allows to use non const reference in Foreach_static functor (why this is not possible with pointers ? there is some black magic under tuple and variadic template...).

Thanks to this possibility, remove static variables used to return value in two functors.
2016-11-29 11:43:33 +01:00
Guillaume Damiand 788e680ecb Use index in debug functions instead of adress of elements. 2016-11-29 11:43:32 +01:00
Guillaume Damiand 2aff4068b5 Allow to not define Dart_info and Attributes type in item class. 2016-11-29 11:43:32 +01:00
Guillaume Damiand 1e622976fc Factorize dart in CMap and GMap; remove Dart concept and deprecated the use of CGAL::Dart for users; add possibility to define an information associated to each dart. 2016-11-29 11:43:31 +01:00
Guillaume Damiand 4624a0b97b Factorize dart between CMap and GMap.
Now we use the same class in both packages.
TODO: modify the doc accordingly.
2016-11-29 11:43:31 +01:00
Guillaume Damiand 084c2c8c19 Add a test; add deprecated class Dart 2016-11-29 11:43:29 +01:00
Guillaume Damiand 65569a9ff0 Start to rename Dart -> Combinatorial_map_dart and GMap_dart -> Generalized_map_dart 2016-11-29 11:43:27 +01:00
Guillaume Damiand c88fd4fd1c Corrections following Sebastien review (nyf) 2016-11-29 11:43:26 +01:00
Guillaume Damiand 25f51ac30c Add missing this-> 2016-11-29 11:43:22 +01:00
Guillaume Damiand 9b8eb9e785 Correction for make_tetrahedron and make_quadrangle for gmaps; modify corresponding methods in LCC to be able to work both for CMaps and GMaps. 2016-11-29 11:43:17 +01:00
Guillaume Damiand 6656ab9f4e Update doc in header files for make_xxx function in LCC. 2016-11-29 11:43:17 +01:00
Guillaume Damiand 0e80ecf8c0 Work to be able to use LCC with GMap as underlying DS (nyf) 2016-11-29 11:43:13 +01:00
Guillaume Damiand fe9420c078 Comments. 2016-11-29 11:43:12 +01:00
Guillaume Damiand 90efe83e91 Name of project in cmake; indent 2016-11-29 11:43:12 +01:00
Guillaume Damiand 515fd7ef8e Correct some wrong comments. 2016-11-29 11:43:07 +01:00
Guillaume Damiand e65882ead7 Update generalized maps to follow the last modifications of combinatorial maps (nyf). 2016-11-29 11:43:07 +01:00
Laurent Rineau 3044d512f2 Merge pull request #1511 from gdamiand/CMap_LCC-bugfixes-gdamiand
Some bugfixes in CMap and LCC
2016-10-17 10:01:36 +02:00
Laurent Rineau 7a84cbceea Merge pull request #1509 from gdamiand/Compact_container-add_debug_function-gdamiand
Add index function in Compact container
2016-10-17 10:01:27 +02:00
Guillaume Damiand 9aae106124 Add explicit call to base contructor to avoid warning. 2016-10-12 08:22:37 -04:00
Guillaume Damiand 7620635cfe * Bugfix in correct_invalid_attributes in LCC
* Remove deprecated code in LCC (that should be removed for CGAL 4.9)
2016-10-06 08:19:04 -04:00
Guillaume Damiand 0073b85d7e Some bug fixes in CMap and LCC:
* Bugfix in Combinatorial_map::copy and Combinatorial_map::swap
* Bugfix in erase dart if automatic attribute are disabled
* Add missing operator= in Linear_cell_complex
* Remove deprecated code in Linear_cell_complex storage (code which was already removed in Combinatorial_map_storage and not in LCC)
* add const for isomorphic function
2016-10-06 08:11:14 -04:00
Andreas Fabri 9110c92590 Forward declaration of a struct must not declare it as class 2016-10-03 09:35:49 +02:00
Andreas Fabri 4f8572ed44 Fix package Combinatorial_map: include headers 2016-09-30 15:23:14 +02:00
Andreas Fabri c45730530c Fix package Surface_mesh_simplification: include headers 2016-09-30 15:23:14 +02:00
Andreas Fabri 347bd827b5 Fix package Combinatorial_map: include headers 2016-09-30 15:22:29 +02:00