Commit Graph

600 Commits

Author SHA1 Message Date
Guillaume Damiand 9033e598ca correct some errors 2022-10-07 20:45:01 +02:00
Mostafa-ashraf19 455c1d3b75 Changed to new API version, Compilation error"incomplete type" at get_vertex_normal. 2022-10-07 19:19:01 +02:00
Mael Rouxel-Labbé 9b265fddf8 Uniformize REQUIRED / QUIET usage:
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
                        (QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Guillaume Damiand f2630fa4b9
Merge branch 'master' into CMap_index-gdamiand 2022-07-19 09:44:16 +02:00
Guillaume Damiand 20fbd91b24 Surface mesh topology handle -> descriptor 2022-05-06 11:24:01 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Guillaume Damiand 999a813b35 Rename XXX_handle into XXX_descriptor for CMap, GMap, LCC 2022-05-05 13:34:19 +02:00
Guillaume Damiand 849b477654
Merge branch 'master' into LCC_update-gdamiand 2022-02-11 07:38:46 +01:00
Guillaume Damiand faadbaa9bc Bug fix when copying initial map. 2022-02-09 09:37:41 +01:00
Andreas Fabri 440a8dfb7b Fix file name 2022-02-03 08:41:04 +00:00
Andreas Fabri 735752bec9 Do the remaining changes after Laurent's check 2022-02-03 08:02:11 +00:00
Guillaume Damiand c5c6098226 Replace assertion(is_valid) by expensive_assertion since these assert increase the complexity. 2022-01-27 11:02:17 +01:00
Andreas Fabri 40a32a1268 Deal with SM_topology 2022-01-18 18:37:32 +00:00
Andreas Fabri bfdc02c731 Deal with SM_topology 2022-01-18 18:37:00 +00:00
Laurent Rineau 921380202b Merge pull request #6055 from gdamiand/LCC_improvements-gdamiand
Lcc improvements
2022-01-12 12:22:00 +01:00
Sébastien Loriot fb4c8484e9 fix invalid label 2021-11-19 10:17:32 +01:00
Laurent Rineau 4d38f2b7b3 Merge pull request #6114 from sloriot/CGAL-cmake_clean_up
Clean cmake scripts of examples and tests
2021-11-18 12:27:19 +01:00
Guillaume Damiand ee11c858b5 The size of argv array is changed to 1 in all basic viewers. 2021-11-10 09:59:48 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 262a04cef2 remove useless POLICY setting 2021-11-09 10:19:14 +01:00
Sébastien Loriot 1c50fc4df6 missing replacement 2021-11-01 12:38:34 +01:00
Sébastien Loriot 08b1457649 add CGAL::CGAL_Basic_viewer target 2021-11-01 11:07:55 +01:00
Guillaume Damiand 2f5841e179 Use std::unorderd_map everywhere in CMap, GMap and LCC. 2021-10-14 17:53:01 +02:00
Laurent Rineau f581ff74d3 Merge pull request #5427 from sloriot/CGAL_data-moving_files
Regroup data: moving files

# Conflicts:
#	Nef_3/archive/triangulation/include/CGAL/partition_is_valid_2.h
2021-10-07 14:44:01 +02:00
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Sébastien Loriot efbd86df7f extra manual fixes 2021-10-05 17:42:21 +02:00
Mael 7f63f3d8c5
Fix typo
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-10-04 15:53:36 +02:00
Mael Rouxel-Labbé 521c72d57e Fix typos 2021-10-04 13:34:07 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Sébastien Loriot 250b8e9161 remove ./ prefix 2021-10-04 09:32:04 +02:00
Sébastien Loriot 3640099261 fix warnings about arithmetic operations on enum 2021-09-28 15:36:51 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot 2948b47e66 add missing copyright files 2021-07-29 10:19:02 +02:00
Maxime Gimeno a3d1765ab4 Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno 2021-07-19 14:18:40 +02:00
Maxime Gimeno ab182dd46a Merge remote-tracking branch 'cgal/master' into CGAL-Clang_tidy_new_pass-maxGimeno 2021-05-21 14:04:07 +02:00
Maxime Gimeno 1d4c4a279a tests pass 2021-05-19 16:05:52 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Andreas Fabri 7a6634bd9e explicitely create an int 2021-04-22 13:04:37 +01:00
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Maxime Gimeno 17602e589e Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF 2021-04-07 09:17:51 +02:00
Guillaume Damiand 93c2d790d9 std::min 2021-02-26 18:14:26 +01:00
Guillaume Damiand 78db91135a Remove a warning 2021-02-26 07:17:42 +01:00
Sebastien Loriot 11f2b92b7b
Merge branch 'master' into gsoc2020-Surface_mesh_topology-Simplicity-johnmave126 2021-02-25 13:43:38 +01:00
Maxime Gimeno 765cbe3729 Example pass 2021-02-19 12:23:18 +01:00
Laurent Rineau 7e3969578c Merge pull request #5384 from gdamiand/Surface_mesh_topology-warning-gdamiand
Warning in surface mesh topology
2021-02-18 15:19:18 +01:00
Laurent Rineau c5ba414c72 Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:12:42 +01:00
Maxime Gimeno a85cf6ed52 Move the include in the ifdef 2021-01-26 09:45:18 +01:00
Guillaume Damiand 15a323e3fa Use default for copy constructors 2021-01-22 17:48:08 +01:00
Guillaume Damiand 556764d638 Add copy constructor to remove a warning (implicitly-declared is deprecated [-Wdeprecated-copy]) 2021-01-22 09:52:53 +01:00
FrancisGipsa fb79442e9f modify implementation details for the simplicity test 2021-01-20 16:41:50 +01:00
Guillaume Damiand dd8db93502 Add << operator 2021-01-18 11:51:43 +01:00
Guillaume Damiand 3ef8ea445c Merge branch 'master' into gsoc2020-Surface_mesh_topology-Simplicity-johnmave126 2021-01-18 11:24:33 +01:00
Maxime Gimeno 04753381e5 Rename file and add ::Qt 2021-01-12 13:22:34 +01:00
Maxime Gimeno 95192d6d4b factorize context initialization 2021-01-12 13:08:58 +01:00
Maxime Gimeno 2a212bb2a8 Upgrade non-compatibility sahders in Basic_viewer to glsl 150 and add a context creation before the creation of the QApp in draw_xxx examples 2021-01-07 13:06:40 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Mael Rouxel-Labbé 8682f9bafb Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-08-24 11:45:17 +02:00
Youmu b58c05eea0 Add a class level switch to control the error output to std::cerr 2020-08-13 17:59:32 -04:00
Youmu 37d55a466f Match message with the condition 2020-08-09 15:04:00 -04:00
Youmu 7f57b5a416 Fix wording in the documentation 2020-08-09 15:03:26 -04:00
John b493eac3e2
Fix grammar errors from suggestions
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-08-09 13:51:02 -04:00
John 8fd7086113
Adopting grammar error fixes
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-08-09 13:47:51 -04:00
Youmu 142823f0d7 use \link to have the backticks around the function name 2020-08-09 13:45:36 -04:00
Youmu 4ed7e9339b Change name of simplicity_homology_group to more appropriate
simplicity_fundamental_polygon
2020-08-06 18:24:09 -04:00
Youmu 0591e38791 Merge remote-tracking branch 'fork/gsoc2020-Surface_mesh_topology-Simplicity-johnmave126' into gsoc2020-Surface_mesh_topology-Simplicity-johnmave126 2020-08-06 00:13:56 -04:00
Youmu d9a12e37b4 Remove trailing whitespace 2020-08-06 00:11:20 -04:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Laurent Rineau 926610102f
Merge branch 'master' into gsoc2020-Surface_mesh_topology-Simplicity-johnmave126 2020-08-04 10:12:09 +02:00
Youmu 756d4b9261 Update documentation for switch operation 2020-07-28 14:44:13 -04:00
Mael Rouxel-Labbé 0d66e19361 IO documentation fixes
See @sloriot's review:

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Polgyon_soup_mesh_IO/2nd_round/Answer_to_review

(+ some commits before and after this one)
2020-07-24 17:06:00 +02:00
Youmu 8eb69e8883 Separate ordering computing and verification into separate functions 2020-07-23 20:28:34 -04:00
Youmu 4970883849 Finished revision of documentation on simplicity test 2020-07-23 18:17:52 -04:00
Youmu 48d7c611de Add figure for small perturbation 2020-07-22 22:04:40 -04:00
Youmu 7a06ca83ca WIP: more user friendly documentation on implementation details 2020-07-22 22:02:16 -04:00
Youmu f5ce7716bf First version of documentation 2020-07-21 20:40:01 -04:00
Youmu 1f8ccad1e9 Add test for cylinder and torus 2020-07-16 16:39:59 -04:00
Youmu 6078a8cdb6 Remove special case for cylinder. Fix the condition for torus 2020-07-16 16:38:55 -04:00
Youmu 0cfe005e86 Skip checking if the length of canonical path is 1 2020-07-16 16:37:54 -04:00
Youmu 400762f0d5 Fix parenthesis checking when the lenght of path is only 2 2020-07-16 16:36:32 -04:00
Youmu c99a7d0950 Fix the calculation of power in factorization 2020-07-16 16:35:20 -04:00
Youmu c3ce805672 Short-circuit when verifying well-pairedness of darts 2020-07-15 21:03:57 -04:00
Youmu 0933e9a86f Add a test based on homology group 2020-07-15 16:39:14 -04:00
Youmu 95aef9e1e8 Add comments 2020-07-15 16:21:20 -04:00
Youmu 784395c207 Use faster method to compute turn depending on compilation flag 2020-07-15 16:20:28 -04:00
Youmu 88c795027b Remove some debugging output 2020-07-15 15:48:26 -04:00
Youmu b7a3346099 Use better parenthesis pairing mechanism 2020-07-15 15:47:40 -04:00
Youmu 40093649e2 Add test for double torus with holes 2020-07-15 00:03:54 -04:00
Youmu 7687c3d854 Move switchable computation to Minimal_quadrangulation 2020-07-15 00:03:16 -04:00
Youmu 3b88d5a0e8 Prevent last dart in the dart from switching 2020-07-09 22:10:04 -04:00
Youmu c42dbacc0b WIP: Correctly handle case when there are more than 2 vertices in the
minimal quadrangulation. Correctly check well-pairedness up to rotation.
2020-07-09 21:55:03 -04:00
Youmu 3c0d5123f1 Add a test on double torus 2020-07-07 22:44:11 -04:00
Youmu 7bda116f3b Remove factorize from Path_on_surface_with_rle 2020-07-07 12:17:33 -04:00
Youmu cc3fb1c876 Remove Dart_iterator and dart switching from Path_on_surface_with_rle 2020-07-07 12:09:28 -04:00
Guillaume Damiand f4110ca5c5 Bugfix when creating a path on surface with rle from a path having a flat starting from its last dart. 2020-07-07 09:57:09 +02:00
Youmu 79ca4f6755 Change the function name to is_homotopic_to_simple_cycle()
Correctly handle the order of darts when the surface has holes
2020-07-02 00:35:13 -04:00
Youmu 8fdddd49e2 Add a slightly more compicated example on double torus 2020-06-26 17:36:41 -04:00
Youmu e2a59611ce Fix a bug when checking parenthesis pairing for the opposite direction
of the first dart
2020-06-26 17:35:30 -04:00
Youmu 47702769b9 Provide an example of simplicity testing on a double-torus 2020-06-25 21:42:59 -04:00
Mael Rouxel-Labbé d5d8cca92b Various IO compilation fixes 2020-06-25 12:02:01 +02:00
Youmu 67fb806d63 Preliminary finished version of is_simple_cycle() 2020-06-24 16:37:56 -04:00
Mael Rouxel-Labbé 6d6dc0c956 Fix a number of compilation issues 2020-06-24 17:41:20 +02:00
Mael Rouxel-Labbé 9cca59ba36 Actually use the new IO functions + some example improvements 2020-06-23 18:24:39 +02:00
Mael Rouxel-Labbé 944697baa8 Misc fixes 2020-06-23 12:51:05 +02:00
Youmu a40c79037f Insertion of dart into correspondent tree 2020-06-22 21:20:03 -04:00
Youmu 0b8ad2ea93 Handle case where current dart is adjacent to another exactly the same
turn
2020-06-17 17:17:02 -04:00
Youmu 21ec3ab3e1 Correctly handle switch case by also looking at the direction of darts 2020-06-17 17:16:09 -04:00
Youmu 4b17d38b85 Slightly tweak helper functions 2020-06-17 17:14:41 -04:00
Youmu 9dfec6f0d4 Add helper functions to navigate in the path based on dart direction 2020-06-17 17:01:27 -04:00
Youmu b28b5c0d1c Provide an implementation of switching for Path_on_surface 2020-06-17 17:00:09 -04:00
Maxime Gimeno ea53a8d70d Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-06-17 14:25:21 +02:00
Youmu e383bc7d6b Set up switching edge check for rle-version of path 2020-06-15 16:32:54 -04:00
Youmu 5d1a7bd650 Add a per-dart iterator to Path_on_surface_with_rle. Allow to switch
subpath of Path_on_surface_with_rle at a dart_iterator.
2020-06-15 16:28:47 -04:00
Youmu 70f16ca800 Detect trigger of switch in unzip algorithm 2020-06-12 19:44:03 -04:00
Youmu c23b921fe9 detect switch and perform switch in RLE path 2020-06-12 19:33:47 -04:00
Youmu 274542fa9f Prepare boost intrusive rbtree. Fix indexing error in KMP and switchable
finding
2020-06-10 16:53:53 -04:00
Youmu 41183a08aa Compute switchable darts and match longest common suffix for the path 2020-06-10 01:50:52 -04:00
Youmu 59d4428fff Change interface for factorize to avoid output argument 2020-06-10 01:50:26 -04:00
Laurent Rineau e6536aaf63 Remove cpp11::(tuple|get)
And use `#ifdef CGAL_NO_DEPRECATED_CODE` around the backward
compatibility code in `<CGAL/config.h>`.
2020-06-09 20:15:16 +02:00
Youmu e29896a135 Add path factorization 2020-06-06 19:49:32 -04:00
Youmu 9651cadd1d Basic call interface. Special case for torus and cylinder. 2020-06-03 11:15:59 -04:00
Sébastien Loriot 51959b615f typo 2020-05-25 13:31:10 +02:00
Mael Rouxel-Labbé fb8463f470 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-05-22 15:17:56 +02:00
Sébastien Loriot 7cc653d1f8 typos + backticks 2020-05-22 10:04:57 +02:00
Guillaume Damiand 35446f5180 Remove one warning in unsew_edgewidth_repeatedly.cpp example 2020-05-14 18:58:35 +02:00
Guillaume Damiand 52186a04e0 Two bug fixes: (1) computation of cycle lengths, when some halfedges are flip; (2) when we use of face graph wrapper with surface mesh we can not use nullptr. 2020-05-14 11:38:15 +02:00
Maxime Gimeno 049439fa6b Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-04-30 16:47:58 +02:00
Guillaume Damiand ce172a4957 Update filename 2020-04-28 07:06:08 +02:00
Guillaume Damiand 4071421dab Caps and edgewidth facewidth 2020-04-27 18:55:27 +02:00
Guillaume Damiand 0e23290f6d Doc 2020-04-27 18:55:27 +02:00
Guillaume Damiand 46ffea3f02 Warnings; plus remove some tests. 2020-04-27 18:55:27 +02:00
Guillaume Damiand 92b207470b Typo 2020-04-27 18:55:27 +02:00
Guillaume Damiand db411a7a05 whitespace 2020-04-27 18:55:27 +02:00
Guillaume Damiand 210cda255e More warnings; remove some tests too long. 2020-04-27 18:55:27 +02:00
Guillaume Damiand 9b5205fb99 Add missing include 2020-04-27 18:55:27 +02:00
Guillaume Damiand 0379f63f21 Comment debug flag in cmake 2020-04-27 18:55:27 +02:00
Guillaume Damiand 081afd4777 Readd non orientable test; and comment some tests to speed up computation. 2020-04-27 18:55:27 +02:00
Guillaume Damiand 3e42827f4b Bug fix in Dijkstra spanning tree computation 2020-04-27 18:55:26 +02:00
Guillaume Damiand 2f08163fd3 For now remove the non orientable test 2020-04-27 18:55:26 +02:00
Guillaume Damiand 2d4ec04d72 Bug in assert 2020-04-27 18:55:26 +02:00
Guillaume Damiand 86b84bdba2 whitespaces 2020-04-27 18:55:26 +02:00
Guillaume Damiand 63d7221dc4 Add draw functions when CGAL_USE_BASIC_VIEWER is not defined. 2020-04-27 18:55:26 +02:00
Guillaume Damiand 71162b48f9 More warnings 2020-04-27 18:55:26 +02:00
Guillaume Damiand 2f4945f8d7 Update doc after Andreas review 2020-04-27 18:55:26 +02:00
Guillaume Damiand 9838b9debc Use two different names for copy, const and non const version, to avoid ambiguity on windows (internal undocumented methods) 2020-04-27 18:55:26 +02:00
Guillaume Damiand e09c0d7794 Remove header from cmakelists.txt 2020-04-27 18:55:26 +02:00
Guillaume Damiand a09b8b10fc Warnings 2020-04-27 18:55:26 +02:00
Guillaume Damiand 9d07d145c4 More warnings 2020-04-27 18:55:26 +02:00