Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Guillaume Damiand
140eed70ab
Bugfix
2019-09-18 16:31:38 +02:00
Guillaume Damiand
e44fef7d0b
Update polygonal schema to allow to perforate faces; impact on face graph wrapper.
2019-09-17 16:04:38 +02:00
Guillaume Damiand
bd2a504af6
Bug fixes; improve face graph wrapper
2019-09-17 11:41:45 +02:00
Guillaume Damiand
7fd376c2d7
Update compute turns to deal with surfaces with boundaries
2019-09-05 17:50:06 +02:00
Guillaume Damiand
99d960c613
Update face graph wrapper
2019-08-28 15:35:57 +02:00
Guillaume Damiand
3c88114ab2
Remove dependencies in face graph wrapper.
2019-07-11 11:52:18 +02:00
Guillaume Damiand
e9e149fcff
Add missing #include
2019-07-09 15:12:51 +02:00
Guillaume Damiand
dcc78e85d2
Replace #include by forward declarations.
2019-07-09 12:08:49 +02:00
Sébastien Loriot
c0edb5ecaa
remove CGAL_CXX11 macro usage
2019-07-08 11:42:17 +02:00
Laurent Rineau
41626a9a7b
Force calls by ADL in import_from_halfedge_graph
...
The member function `next` and `opposite` of the class prevent the
call of functions with the same name by ADL. For the BGL API, one has
to call by ADL. This commit adds two auxiliary functions, external to
the class, to enable to call `next` and `opposite` by ADL.
The commit also adds a test with OpenMesh, to prove the correctness of
the modification.
2019-07-05 10:42:03 +02:00
Guillaume Damiand
341b9943e5
Add missing #include
2019-07-02 11:32:01 +02:00
Guillaume Damiand
5b078e5bbf
Merge branch 'Surface_mesh_topology-gdamiand' of github.com:gdamiand/cgal into Surface_mesh_topology-gdamiand
2019-06-28 14:41:49 +02:00
Guillaume Damiand
4ca4fc248d
Remove warning
2019-06-28 14:40:24 +02:00
Guillaume Damiand
56abe3c367
Merge branch 'master' into Surface_mesh_topology-gdamiand
2019-06-28 13:28:50 +02:00
Guillaume Damiand
1dbc088459
Update licences; move undocumented files to internal (both directory and namespace)
2019-06-20 16:51:53 +02:00
Guillaume Damiand
f80af5af90
Update to use new version of Polygonal_schema
2019-06-17 14:26:37 +02:00
Guillaume Damiand
bf35f049e6
Start to implement Polygonal_schema: nyf
2019-06-14 16:38:47 +02:00
Guillaume Damiand
4e5b74efe8
Bugfix in copy
2019-06-14 13:04:25 +02:00
Guillaume Damiand
14615ea0aa
Bug fix in copy method.
2019-06-14 10:47:25 +02:00
Andreas Fabri
1c9dbfcb95
Replace CGAL::Void* with std::nullptr_t
2019-06-05 13:47:00 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Guillaume Damiand
35634bdef3
Add computation of normal for face graphs.
2019-04-05 11:33:47 +02:00
Guillaume Damiand
afa2417c16
Update lcc viewer with path to deal with Surface mesh and Polyhedron
2019-04-04 18:47:49 +02:00
Guillaume Damiand
260b3e54e3
Update
2019-04-04 15:51:15 +02:00
Guillaume Damiand
2110a22412
Use property map for face graph wrapper.
2019-04-02 10:33:37 +02:00
Guillaume Damiand
2f046604b6
First working version of Face_graph_wrapper.
2019-04-01 19:26:56 +02:00
Guillaume Damiand
79095e98bc
Use method instead of global function.
2019-03-29 17:01:07 +01:00
Guillaume Damiand
5df0d6852c
Start face graph wrapper. NYF.
2019-03-29 16:59:33 +01:00
Sébastien Loriot
f62624c4f9
replace cpp11::tuple by std::tuple
2019-03-29 13:28:33 +01:00
Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
...
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Sébastien Loriot
6e8e4a4b10
remove variadic template workaround for cmap, gmap, and lcell
2019-03-29 10:41:50 +01:00
Guillaume Damiand
bbea8c7889
Add a method to import any HDS model into a CMap and a LCC
2019-03-15 16:53:47 +01:00
Guillaume Damiand
5279a690b3
Add method to import a model of Halfedge graph into a combinatorial map.
2019-03-15 08:13:16 +01:00
Guillaume Damiand
8e649a9d5d
Start to add method to import Polyhedron and SM into a CMap.
2019-03-14 21:34:05 +01:00
Guillaume Damiand
a211e558ee
Copy methods are now able to keep mappings from copy to origin, and from origin to copy.
2018-12-20 08:51:04 +01:00
Guillaume Damiand
14e32aba01
Merge branch 'CMap-path_isotopy-gdamiand-old' into CMap-path_isotopy-gdamiand
2018-12-14 10:01:38 +01:00
Guillaume Damiand
0cc980f059
Update copy constructors and copy methods for CMap, GMap, and LCC to take a CMap/GMap/LCC as parameter and not any type.
2018-12-06 18:01:03 +01:00
Guillaume Damiand
63352c5680
Continue refactoring
2018-11-29 13:14:54 +01:00
Guillaume Damiand
fdd08e9287
Create new package Surface_mesh_topology; move related files in this package.
2018-11-28 15:56:10 +01:00
Guillaume Damiand
c3f55640ca
Bug fix.
2018-11-28 12:47:43 +01:00
Guillaume Damiand
8433205b77
Small updates on path on surfaces.
2018-11-21 21:56:12 +01:00
Guillaume Damiand
094f28fdc9
Small bug fixes; add is_valid method in path with rle.
2018-11-21 12:01:51 +01:00
Guillaume Damiand
702d01e1f7
Start to replace totally the quadratic method by the linear one (nyf).
2018-11-20 16:49:28 +01:00
Guillaume Damiand
4b62197c72
Comment out an assertion which is too long.
2018-11-20 16:30:30 +01:00
Guillaume Damiand
dd3309f14f
Bugfix for path with 2 darts.
2018-11-20 11:37:28 +01:00
Guillaume Damiand
1c54999d7d
Right shift for path with rle done.
2018-11-20 10:41:11 +01:00
Guillaume Damiand
8bc932ce91
Beginning of right shift for path with rle.
2018-11-19 22:15:00 +01:00
Guillaume Damiand
c1ef7f334f
Bracket flattening for path with rle ok.
2018-11-15 15:31:56 +01:00
Guillaume Damiand
4a9ee63b83
Add a method that allows to add several edges into a current facet.
2018-11-14 16:33:11 +01:00
Guillaume Damiand
828c01a00e
Add a cmap builder that allows to build a combinatorial map by giving its edge labels.
2018-11-14 16:29:49 +01:00
Guillaume Damiand
df5df7f443
Comment.
2018-11-09 13:40:49 +01:00
Guillaume Damiand
092baf908a
Spurs removal is now ok for path with rle.
2018-11-09 13:05:23 +01:00
Guillaume Damiand
919d4714ac
Start to work on path with rle, spurs removal.
2018-11-08 16:42:13 +01:00
Guillaume Damiand
4145ddeb0e
Path on surface encoded with rle ok.
2018-11-08 12:41:03 +01:00
Guillaume Damiand
69e9ce3494
Start path with rle to optimize isotopy test.
2018-11-07 19:51:03 +01:00
Guillaume Damiand
b040c5a983
Return always 0 for positive and negative turns, for spurs.
2018-11-06 17:04:40 +01:00
Guillaume Damiand
63334c3b60
New method to compute turns in constant time.
2018-10-26 16:49:45 +02:00
Guillaume Damiand
4231595110
Change API of Path_on_surface and Combinatorial_map_functionalities to canonize paths.
2018-10-26 15:45:34 +02:00
Guillaume Damiand
77b238c67a
Reindent and remove commented code.
2018-09-28 18:26:40 +02:00
Guillaume Damiand
1d0b16f142
Method v2 to update length two pathes is ok.
2018-09-28 17:24:16 +02:00
Guillaume Damiand
a8c24d706c
Update path v2 big fix (nyf)
2018-09-27 16:34:02 +02:00
Guillaume Damiand
7d96da2dd1
Start method v2 for path updating
2018-09-26 15:13:25 +02:00
Guillaume Damiand
a61f2e5091
Bug fix when updating length two pathes for border darts.
2018-09-25 13:36:46 +02:00
Guillaume Damiand
55bbde79a5
Change method for path generator
2018-09-25 13:29:49 +02:00
Guillaume Damiand
4e3e5ac730
Remove debug output
2018-09-25 13:28:59 +02:00
Guillaume Damiand
f52676769f
Continue isotopy test.
2018-09-18 15:16:40 +02:00
Guillaume Damiand
a13db5f171
Revert "Bugfix in copy functor": this 'fix' is a bug.
...
This reverts commit adfa032311 .
2018-09-13 14:35:03 +02:00
Guillaume Damiand
ed81c8491c
Add tests.
2018-09-04 18:31:31 +02:00
Guillaume Damiand
adfa032311
Bugfix in copy functor
2018-09-04 16:16:44 +02:00
Guillaume Damiand
cceb427481
Bugfix in removal operation.
2018-09-04 16:11:35 +02:00
Guillaume Damiand
241a9f3353
Bugfix in degree and codegree
2018-09-04 16:11:22 +02:00
Guillaume Damiand
3f005bbbc4
Add a parameter to the undocumented copy method, that allows to keep an associative array between original and copied darts.
2018-09-04 16:04:20 +02:00
Guillaume Damiand
4fae0480fd
Add option to fix the initial random seed; add some debug code.
2018-09-04 14:51:40 +02:00
Guillaume Damiand
142f36d6b4
New random path generator
2018-07-09 16:29:33 +02:00
Guillaume Damiand
bb8fb1a6e9
Start to create a new function to generate random paths.
2018-07-09 12:15:11 +02:00
Guillaume Damiand
30d5118740
Update path generators; start a test with long random paths deformed.
2018-07-06 16:42:23 +02:00
Guillaume Damiand
492a2ffb54
Add a function to close a path.
2018-07-06 12:02:04 +02:00
Guillaume Damiand
53ed894ec7
Update isotopy test; seems to work now; need more tests.
2018-07-04 17:00:28 +02:00
Guillaume Damiand
5a5f754b5a
Bug fix in degree, codegree and unmark_cell functions (const correctness)
2018-07-04 16:59:55 +02:00
Guillaume Damiand
53769e98a7
* Add draw examples in the 5 concerned packages (Polyhedron, Surface_mesh, T2, T3, LCC)
...
* Update FindQGLViewel to add a target.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
9ed3626366
Add an option to is_valid to not show errors
2018-05-29 11:04:57 +02:00
Laurent Rineau
03e68d8740
Merge pull request #2985 from afabri/CGAL-std_latest-GF
...
Support C++17 (Replace std::random_shuffle() with CGAL::random_shuffle(), and other adjustments)
2018-04-24 17:32:55 +02:00
Andreas Fabri
f0c1d3aab7
more allocator_traits
2018-04-19 14:49:05 +01:00
Laurent Rineau
095c27e2be
cosmetic changes
2018-04-17 17:14:19 +02:00
Andreas Fabri
7cbffac35b
Deal with deprecated functions allocator<T>::construct/destroy
2018-04-17 13:35:04 +01:00
Guillaume Damiand
b645b87aa0
Replace some wrong Dart_handle by Dart_const_handle.
2018-04-04 14:24:22 +02:00
Guillaume Damiand
a52a324262
Continue tests.
2018-03-30 16:42:22 +02:00
Guillaume Damiand
ba014bfa3c
Update all tests for canonical representation; start tests for isotopy.
2018-03-30 15:03:02 +02:00
Guillaume Damiand
6ec0beba66
Add more test of validity
2018-03-29 17:39:32 +02:00
Guillaume Damiand
122eeb0be8
3 first tests are ok.
2018-03-29 17:23:26 +02:00
Guillaume Damiand
858c81c919
Update tests to remove debug messages.
2018-03-29 10:13:23 +02:00
Guillaume Damiand
8be85817c7
l-shape case 8 OK.
2018-03-28 22:10:53 +02:00
Guillaume Damiand
a42a4546ae
l-shape case 7 started (nyf)
2018-03-28 17:53:48 +02:00
Guillaume Damiand
e4afaf5ea5
l-push cases 5 & 6 ok.
2018-03-28 17:42:34 +02:00
Guillaume Damiand
c8cdf75b8b
l-push case 4 ok.
2018-03-28 16:36:21 +02:00
Guillaume Damiand
b3389488f5
Better test suite for path canonizing.
2018-03-28 12:45:34 +02:00
Guillaume Damiand
dec0a55276
Push l-shape ok for cases 1, 2 and 3.
2018-03-28 10:19:41 +02:00
Guillaume Damiand
a46424eaec
New method for l-shape push
2018-03-27 17:51:30 +02:00
Guillaume Damiand
8132129bc1
Continue l-shape shifting.
2018-03-26 21:13:21 +02:00
Guillaume Damiand
4ee2036093
Update l-shape right shift.
2018-03-26 17:54:10 +02:00
Guillaume Damiand
8248315bd3
Continue l-shape shift.
2018-03-26 14:34:34 +02:00
Guillaume Damiand
6a588856a8
Continue l-shape push
2018-03-26 12:54:27 +02:00
Guillaume Damiand
3b5bb69a29
continue l-shape
2018-03-23 16:41:42 +01:00
Guillaume Damiand
d3f1a4c703
Seems ok for bracket flatering and spurs removal.
2018-03-23 16:10:55 +01:00
Guillaume Damiand
1d97d27ba9
Case (1 2^r) is now ok.
2018-03-20 11:30:14 +01:00
Guillaume Damiand
5521f52d96
Add more tests for special cases of bracket reduction
2018-03-20 09:17:09 +01:00
Guillaume Damiand
dfc76816b3
Update
2018-03-19 22:19:38 +01:00
Guillaume Damiand
b848314336
Improve method
2018-03-19 16:36:03 +01:00
Guillaume Damiand
cc0e26f4b1
Update path on surface; right shift method.
2018-03-16 15:17:38 +01:00
Guillaume Damiand
584def3c0f
Continue path simplification for homotopy test.
2018-03-14 22:20:53 +01:00
Guillaume Damiand
763edf0030
Update path generator and bracket reduction
2018-03-14 19:43:46 +01:00
Laurent Rineau
51091fd932
Merge pull request #2851 from gdamiand/CMap-copy_bugfix-gdamiand
...
CMap bug fix in copy
2018-02-23 17:26:16 +01:00
Guillaume Damiand
7b9b04f66c
Bug fix when copying attributes of a cmap into another cmap, and both have no info.
2018-02-16 11:32:07 +01:00
Guillaume Damiand
39742b0d32
Continue bracket_flattening
2018-02-11 17:02:54 +01:00
Guillaume Damiand
8e73a49cb4
Start method bracket_flattening()
2018-02-10 10:52:36 +01:00
Guillaume Damiand
d68e5d354a
Split file in two.
2018-02-09 22:43:42 +01:00
Guillaume Damiand
a1e00f967b
Computation of path associated with all edges seems ok.
2018-02-09 17:47:47 +01:00
Guillaume Damiand
275c133a2c
Continue the homotopy test algorithm.
2018-02-09 11:19:09 +01:00
Guillaume Damiand
740b44c844
Copy methods can now fill an external mapping between copied darts.
2018-02-09 11:18:49 +01:00
Guillaume Damiand
f4239cf463
Add comments
2018-02-08 17:57:21 +01:00
Andreas Fabri
38b2e57b11
PMP
2018-01-17 17:59:35 +00:00
Guillaume Damiand
7694565cb0
Update new functionalities
2017-12-17 19:01:39 +01:00
Guillaume Damiand
58387e9af4
Add viewer for surface and paths; add function to generate random paths.
2017-12-17 11:31:06 +01:00
Guillaume Damiand
0182a4487f
add functions to manage paths
2017-12-16 18:28:07 +01:00
Guillaume Damiand
9998564700
store pair of edges for all edges that do not belong to the tree
2017-12-16 16:07:15 +01:00
Guillaume Damiand
4bb1758a0d
Simplification in one vertex uses now also union find trees
2017-12-16 11:53:02 +01:00
Guillaume Damiand
78efb73a75
cmap function cont
2017-12-15 20:51:01 +01:00
Guillaume Damiand
4899969e5a
bug fix for removal operation
2017-12-15 20:50:31 +01:00
Guillaume Damiand
8439951b20
add the quadrangulation step
2017-12-15 10:36:12 +01:00
Guillaume Damiand
fb1f44ab60
Add a new class for cmap functionalities; plus one example to use it.
2017-12-15 09:52:26 +01:00
Laurent Rineau
0b0b1503ef
Merge pull request #2594 from gdamiand/CMap-bugfixes-gdamiand
...
CMap bugfixes
2017-12-05 18:20:56 +01:00
Guillaume Damiand
5f939d33ab
Bug fix in CMap/GMap/LCC dart methods
2017-11-13 12:17:03 +01:00
Guillaume Damiand
6c7f384455
Update CMap save/load in order to allow to save/load 2D lcc
2017-11-13 12:14:37 +01:00
Guillaume Damiand
990c05090c
Bug fix in CMap operation
2017-11-13 12:02:20 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Guillaume Damiand
013f447395
Merge branch 'master' into BGL-LCC-gdamiand
2017-06-22 23:21:39 +02:00
Guillaume Damiand
c8250c4570
Merge branch 'master' into BGL-LCC-gdamiand
2017-06-15 10:03:53 -04:00
Guillaume Damiand
b80315367f
Do not return void.
2017-06-14 13:46:03 -04:00
Guillaume Damiand
a22a5fbd21
Update BGL LCC examples and tests following the modification of the API (helper class)
2017-05-10 13:27:37 -04:00
Guillaume Damiand
42a1419dbf
Document class Cell_attribute_with_id
2017-05-10 08:22:22 -04:00
Guillaume Damiand
8b42545b6e
Remove wrong comment
2017-04-19 15:51:49 -04:00
Laurent Rineau
87c9afd486
Fix the compilation of individual headers
...
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +02:00
Guillaume Damiand
755272148a
Cleanup BGL for LCC; add shortcut for item with id to simplify definition.
2017-03-31 17:11:36 -04:00
Guillaume Damiand
54eae7dcd4
Init_id function has two template arguments.
2017-03-29 12:44:33 -04:00
Guillaume Damiand
bfbee1701e
Now attributes and darts in CMap/GMap/LCC can have id or not depending on a template argument.
2017-03-27 17:16:40 -04:00
Guillaume Damiand
6d8b48a388
Init id for create_dart.
2017-03-27 12:22:20 -04:00
Guillaume Damiand
f95a9558b2
Update cmap to use index in attributes/darts for property maps.
2017-03-27 11:58:30 -04:00
Guillaume Damiand
b8b419f3b9
Update graph traits: now source, target and halfedge are ok.
2017-03-23 09:19:57 -04:00
Guillaume Damiand
e886578bbd
Remove duplicated code (probably due to rebase)
2017-03-22 17:44:25 -04:00
Guillaume Damiand
06f73990f4
Small modifs to minimize diff with master.
2017-03-22 17:41:58 -04:00
Guillaume Damiand
ff61b85322
update after rebase
2017-03-22 17:39:33 -04:00
Guillaume Damiand
acad419a9a
Update after rebase with master.
2017-03-22 17:33:05 -04:00
Guillaume Damiand
f3a6a80382
Remove my previous trick to change the orientation.
2017-03-22 16:37:24 -04:00
Guillaume Damiand
48db4e157b
Ok for graph_traits_Linear_cell_complex.h for test_Euler_operations.
2017-03-22 16:36:01 -04:00
Guillaume Damiand
98fe7cb77c
Some progress for graph traits for linear cell complex.
...
* graph_concept_Linear_cell_complex compile and run correctly.
* simplification_Linear_cell_complex compile and start to run; make some Euler modifications, then segmentation fault... I am working to debug...
2017-03-22 16:33:39 -04:00
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
Guillaume Damiand
55f0b69fdf
Remove my previous trick to change the orientation.
2016-11-01 14:33:24 -04: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
Guillaume Damiand
0cf192cd44
Add index function in Compact container (usefull to debug)
2016-09-28 17:14:07 -04:00
Sébastien Loriot
7f350f7507
remove old API deprecated since CGAL 4.4
2016-07-21 11:51:11 +02:00
Guillaume Damiand
dd2d5bb551
Remove array-bounds warning also in Combinatorial_map.h
2016-05-20 14:22:40 +02:00
Guillaume Damiand
d44b75d192
Update version of boost_gcc
2016-05-10 09:13:32 +02:00
Guillaume Damiand
a06ec250eb
Correct version of gcc to ignore array buffer warnings
2016-05-09 10:16:35 +02:00
Guillaume Damiand
f8823fd689
remove array-bounds warning for gcc >= 4.9
2016-05-02 17:18:14 +02:00
Guillaume Damiand
efdd6c5a26
Remove warnings and errors
2016-04-11 18:31:38 +02:00
Guillaume Damiand
056e0d66fe
add a missing deprecated function; use non deprecated version in assert.
2016-04-01 22:27:50 +02:00
Guillaume Damiand
c99d0f3223
Bug fix in belong_to_same_cell calls; add const for is_xxx functions.
2016-04-01 22:27:36 +02:00
Guillaume Damiand
3b642fede8
Splif functor in two parts (functor_nonvoid and functor) to avoid ambiguous template specialization.
2016-04-01 22:26:34 +02:00
Guillaume Damiand
de89d2ecad
Ok for graph_traits_Linear_cell_complex.h for test_Euler_operations.
2016-03-28 22:08:21 +02:00
Guillaume Damiand
d8c6439eb8
Some progress for graph traits for linear cell complex.
...
* graph_concept_Linear_cell_complex compile and run correctly.
* simplification_Linear_cell_complex compile and start to run; make some Euler modifications, then segmentation fault... I am working to debug...
2016-03-25 17:10:08 +01:00
Guillaume Damiand
37e95ca593
Remove trailling whitespaces.
2016-03-10 10:47:24 +01:00
Guillaume Damiand
b73e3293ae
Add this->template when calling templated member functions
2016-03-09 17:24:31 +01:00
Guillaume Damiand
1493fa7e63
Modification of tests following the removal of global functions (nyf)
2016-03-09 09:43:25 +01:00
Guillaume Damiand
f348cc634a
Bug fix
2016-03-08 19:02:27 +01:00
Guillaume Damiand
dec4d3a732
Deprecated construction operations.
2016-03-08 19:01:37 +01:00
Guillaume Damiand
6a171dcc77
Deprecate global modification functions.
2016-03-08 18:45:55 +01:00
Andreas Fabri
73213c45ed
Remove the :
2016-02-05 14:31:47 +01:00
Andreas Fabri
337197b237
Just suppress the warning. At least on the icl we have push/pop does not work
2016-02-05 11:50:30 +01:00
Andreas Fabri
7c5be6417e
explain what the workaround is for
2016-02-03 15:19:08 +01:00
Andreas Fabri
d2ec7ef392
disable a warning
2016-02-03 12:34:00 +01:00
Sebastien Loriot
40671f88aa
Merge pull request #703 from afabri/Cmap-bound_warning-GF
...
Suppress warning in Combinatorial Map for g++ >= 5
2016-02-02 20:57:16 +01:00
Andreas Fabri
244c285257
4080 -> 5000
2016-02-01 13:22:17 +01:00
Andreas Fabri
0900971a4f
warning was introduced with g++ 5
2016-02-01 12:23:17 +01:00
Andreas Fabri
164c427c0f
suppress -Warray-bounds
2016-02-01 11:19:05 +01:00
Guillaume Damiand
7810d3b630
Remove duplicated useless variable null_handle.
2016-01-29 15:08:48 +01:00
Guillaume Damiand
e0d31207ba
Make the (inner) variable null_handle const
2016-01-28 18:50:39 +01:00
Sebastien Loriot
4e9448cb9e
Merge pull request #451 from GilesBathgate/throwing-destructors
...
Introduces a CGAL_destructor_assertion macro.
2016-01-14 14:08:10 +01:00
Giles Bathgate
f0ac236713
Introduces a GCAL_NO_ASSERTIONS_BOOL macro
...
This macro is always defined. Its value will be true when assertions are defined
and false when assertions are not defined. This macro can then be used in place
of a true false constant, such as is needed for CGAL_NOEXCEPT.
2016-01-08 20:31:59 +00:00
Guillaume Damiand
60d44ab38b
Bug fix in dart iterator with two beta
2016-01-08 06:33:36 +01:00
Guillaume Damiand
edfe7f4d10
Add test to be able to detect more bugs in iterators.
2016-01-07 22:24:05 +01:00
Guillaume Damiand
13fec5c8d1
Bug fix in CMap_extend_iterator class.
...
Do not mark darts when pushing them in the stack of dart; but when they are processed.
2016-01-07 18:45:54 +01:00
Giles Bathgate
f6dfeba815
Use CGAL_NO_ASSERTIONS with the CGAL_NOEXCEPT macro.
...
This avoids penalizing release builds in which assertions are not
made within the destructors, and so no exception can be thrown.
2015-12-19 15:47:16 +00:00
Giles Bathgate
3a725499ad
Introduces CGAL_NOEXCEPT macro.
...
This macro is available for future compatibility with c++11, which
by default marks destructors noexcept(true). Some destructors
in CGAL do throw exceptions an so should be marked noexcept(false).
Since noexcept is not available in c++0x and below the macro is
disabled when CGAL_CXX11 is not defined since it is not required.
2015-11-23 16:47:59 +00:00
Giles Bathgate
9645135ff5
Introduces a CGAL_destructor_assertion macro.
...
This macro can safely be called from a destructor, even when
the stack is currently unwinding, and thus prevents uncatchable
exceptions.
2015-11-23 16:47:59 +00:00
Sebastien Loriot
5d9d9d660d
Merge pull request #450 from gdamiand/CMap-marks_with_exceptions-sbrandel
...
C map marks with exceptions sbrandel
2015-11-02 09:12:42 +01:00
Sébastien Loriot
db92147837
assert -> CGAL_assertion in header
2015-10-29 13:04:01 +01:00
Guillaume Damiand
afeb0eb4d2
Do not use using declaration but a typedef.
2015-10-29 07:41:55 +01:00
Guillaume Damiand
06731095ae
Add using declaration for Exception_no_more_available_mark.
2015-10-28 11:19:02 +01:00