Commit Graph

1866 Commits

Author SHA1 Message Date
Laurent Rineau bf6d67951c Introduce Base_with_time_stamp 2023-02-06 10:00:55 +01:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Laurent Rineau 5f8930db8c Merge branch '5.5.x-branch'
# Conflicts:
#	Convex_hull_2/test/Convex_hull_2/ch_test_CH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SC.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SS.cpp
#	Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h
#	Straight_skeleton_2/include/CGAL/predicates/Straight_skeleton_pred_ftC2.h
2023-01-27 21:16:14 +01:00
Laurent Rineau 2e67ce5d62 Merge pull request #7171 from afabri/Projection_traits_xy_3-enable_structural_filtering-GF
Projection_traits_xy_3: Enable structural filtering
2023-01-27 20:52:05 +01:00
Laurent Rineau df0fb8d316 Merge pull request #7172 from sloriot/T2-segment_cst_src_tgt
Use deduced type for source/target of a segment
2023-01-27 20:52:02 +01:00
Andreas Fabri 97b675d38d When inserting a constraint give the face of the latest inserted vertex as hint for the next point 2023-01-10 08:07:28 +00:00
Sébastien Loriot a7288b10a0 use deduced type as some kernel does not return references 2023-01-09 17:48:53 +01:00
Sébastien Loriot b72ea0a9d0 add failing test 2023-01-09 17:41:14 +01:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
Andreas Fabri c5d3f8246b Surprising 2022-12-07 15:29:45 +00:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
albert-github eed54a0ae5 spelling corrections
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
albert-github 3674c937f7 spelling corrections
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Laurent Rineau 8c9281f440 Merge pull request #6642 from sloriot/gsoc2022-boost_np
Replace usage of Boost parameters with CGAL named function parameters
2022-11-07 10:08:38 +01:00
Laurent Rineau d24b180293 Merge branch 'master' into gsoc2022-boost_np 2022-10-28 15:39:36 +02:00
Sébastien Loriot 0cac6a9da8 Merge remote-tracking branch 'sloriot/PMP-decimation' into PMP-decimation 2022-10-25 14:55:57 +02:00
Sébastien Loriot 98e774241b update test 2022-10-21 14:28:12 +02:00
Sébastien Loriot d86db9fa72 fix compilation issues 2022-10-05 16:51:31 +02:00
Andreas Fabri d3fca65ae5 CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
Laurent Rineau d0d0b30c12 Merge pull request #6807 from afabri/Parameterization-instantiation-GF
Parameterization: instanciation ->  instantiation
2022-09-13 12:33:05 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé 691313041d Add more tests for T23::operator== 2022-09-02 14:29:41 +02:00
Mael Rouxel-Labbé 43378edd1f Minor speed up for T3::operator== 2022-09-02 14:29:15 +02:00
Mael Rouxel-Labbé 7d9d7844b1 Fix T23::operator== for dimension 0 2022-09-02 13:42:33 +02:00
Mael Rouxel-Labbé d940b5ca7e Add operator==(T2, T2) 2022-09-02 11:26:16 +02:00
Mael Rouxel-Labbé 649c401522 Add error messages to T2::is_valid() 2022-09-02 11:26:08 +02:00
Andreas Fabri 9c1ad6649d Parameterization: instanciation -> instantiation 2022-08-24 08:35:13 +01:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Sebastien Loriot f4a505ca2a
Merge pull request #6688 from gdamiand/CMap_index-gdamiand
CMap/GMap/LCC with index
2022-08-02 10:55:37 +02:00
Guillaume Damiand f2630fa4b9
Merge branch 'master' into CMap_index-gdamiand 2022-07-19 09:44:16 +02:00
Laurent Rineau 4789fcc474
Merge branch 'master' into Triangulation_2-mark_domains-GF 2022-07-11 16:38:15 +02:00
Andreas Fabri 2f806fddd2 Move free function in a group 2022-07-04 16:29:36 +01:00
Laurent Rineau 561cc66264 Backport the patch of pull request #6602 from lrineau/Triangulation_2-fix_cdt_2-GF
Try to fix CDT_2 with inexact construction of intersections
2022-06-29 12:30:35 +02:00
Andreas Fabri 70a06b4696 Do not use CGAL::iterator_v<> as it is responsible for the ICE of VC2015 2022-06-27 08:58:17 +01:00
Laurent Rineau 1ba31d6e3f Merge branch 'master' into Triangulation_2-mark_domains-GF
# Conflicts:
#	Installation/CHANGES.md
2022-06-17 11:00:12 +02:00
Laurent Rineau c340a6eff8 Fix formating 2022-06-17 10:55:17 +02:00
Sébastien Loriot b96f6d5ce9 move is_iterator to type_traits 2022-06-10 09:43:59 +02:00
Sébastien Loriot 44250cb019 is_iterator_XXX<>::value --> is_iterator_XXX_v<> 2022-06-10 09:40:29 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
Laurent Rineau 93c19eeccf Add testcase of issue #5055 2022-05-19 14:27:17 +02:00
Andreas Fabri f6c3952308 The hopefully two last warnings 2022-05-19 06:59:29 +01:00
Andreas Fabri b435e4079d Also #include the Triangulation headers for the #else case 2022-05-18 10:08:57 +01:00
Andreas Fabri 84a35e9cba Always #include for CDT as it has its own code for the noop draw() 2022-05-18 09:29:36 +01:00
Andreas Fabri 1afc3cc099 resolve merge conflict 2022-05-18 07:20:41 +01:00
Andreas Fabri 58774ef301 Define draw as no op 2022-05-17 09:28:21 +01:00
Sébastien Loriot 143d412ede fix unused variables 2022-05-16 17:24:27 +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
Ghevond 36061ecec5
Update TODO
Typo fix.
2022-04-19 14:57:05 +04:00
Andreas Fabri b28c3a5a2a Triangulation_2: Add example file to list of examples 2022-04-05 16:38:29 +01:00
Laurent Rineau 9413b74310 Fix a typo in a comment (spellchecking) 2022-03-30 16:11:27 +02:00
Laurent Rineau 269a7c7b5d Add assertions 2022-03-30 15:19:26 +02:00
Laurent Rineau a1b8f81af6 Fix the detection of is_in_domain 2022-03-30 15:18:47 +02:00
Andreas Fabri 4975b1a0f7 Improve documentation of draw() 2022-03-23 11:48:24 +01:00
Sébastien Loriot da7f93bc73 add missing include directive and use std 2022-03-23 09:10:35 +01:00
Sébastien Loriot 7fe8ad163e fix type 2022-03-22 18:04:07 +01:00
Andreas Fabri 97e3f60cf2 Improve documentation 2022-03-22 17:00:06 +01:00
Andreas Fabri 6fdd3341aa WIP 2022-03-22 16:37:17 +01:00
Andreas Fabri 98956cfed9 Make draw() work for a CDT_2 even if it's Face type has no is_in_domain member function 2022-03-22 16:11:45 +01:00
Andreas Fabri f2bfb52903 Make draw() work for a CDT_2 even if it's Face type has no is_in_domain member function 2022-03-22 16:10:16 +01:00
Andreas Fabri 109056d592 Improve documentation of function draw() 2022-03-22 14:10:13 +01:00
Laurent Rineau 95b6bf33a7 Merge pull request #6395 from afabri/TDS-better_initialization_of_Unique_hash_map-GF
TDS: Initialize the size of Unique_hash_map
2022-03-18 15:58:28 +01:00
Laurent Rineau 781c81d4a5 Merge pull request #6395 from afabri/TDS-better_initialization_of_Unique_hash_map-GF
TDS: Initialize the size of Unique_hash_map
2022-03-18 15:57:04 +01:00
Andreas Fabri 3866d1f70a Deal with write_VTU() 2022-03-15 17:50:06 +01:00
Andreas Fabri e7c0c9d57e fix file name 2022-03-15 17:00:46 +01:00
Andreas Fabri 6ef96e80a8 Add documentation file 2022-03-15 16:49:26 +01:00
Andreas Fabri f236ccc98c CDT -> CT 2022-03-15 16:31:00 +01:00
Andreas Fabri 93832aa67f Add an example for Mesh_2 2022-03-15 16:08:11 +01:00
Andreas Fabri eddfe746b1 Cleanup and add a draw() function for constrained triangulations 2022-03-15 14:59:59 +01:00
Andreas Fabri 0a04f33a94 Rename and move stuff 2022-03-15 10:36:35 +01:00
Andreas Fabri a6ae3b1ac1 Rename and move stuff 2022-03-15 10:34:36 +01:00
Andreas Fabri b1926b715a
Update Triangulation_2/include/CGAL/mark_domains.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-03-15 08:54:19 +01:00
Andreas Fabri 849e18ae6c Triangulation_2: Add CGAL::mark_domains() 2022-03-14 23:05:15 +01:00
Laurent Rineau 6e6687faa7 Merge pull request #6388 from afabri/Triangulation_2-conflict_then_star_example-GF
Triangulation_2:  Add Example for Starring a Conflict Zone
2022-03-10 11:05:25 +01:00
Andreas Fabri 48c462bf72 Change in CDTplus 2022-03-09 13:46:55 +00:00
Laurent Rineau 48d61394d8 Merge pull request #6372 from afabri/Triangulation_2-typo-GF
Triangulation_2: Fix doc bug
2022-03-09 11:35:17 +01:00
Andreas Fabri eba31bec5e
Update Triangulation_2/examples/Triangulation_2/star_conflict_zone.cpp
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-03-07 15:12:13 +01:00
Andreas Fabri fa0a8a2bed Triangulation_2: Add an example that stars a conflict zone 2022-03-07 11:59:06 +00:00
Andreas Fabri b18cd37b7f Triangulation_2: Add an example that stars a conflict zone 2022-03-07 11:50:51 +00:00
Andreas Fabri 9124b5705a Add the documentation of Vertices_in_constraint 2022-03-03 08:43:36 +00:00
Andreas Fabri 0be1afac1d Triangulation_2: Fix doc bug 2022-03-02 10:24:16 +00:00
Laurent Rineau ad6563bdde Merge pull request #6298 from afabri/Triangulation_2-quiet_warning-GF
Triangulation_2: Quiet a warning
2022-02-08 23:44:28 +01:00
Andreas Fabri 8501386fee
Update Triangulation_2/include/CGAL/Constrained_triangulation_plus_2.h
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-02-03 08:33:12 +01:00
Laurent Rineau f9c05a0ba1 Merge pull request #6253 from afabri/P2T2-assert-GF
CGAL:   In testcode do not use CGAL_assertion  but assert
2022-02-02 16:38:22 +01:00
Laurent Rineau 5b42a501cc Merge pull request #6266 from afabri/CGAL-assertions_in_examples-GF
CGAL Examples: CGAL_assertion ->  assert

# Conflicts:
#	HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp
#	Triangulation_2/examples/Triangulation_2/triangulation_print_OFF.h
2022-02-02 16:38:01 +01:00
Andreas Fabri c30327c3ec Triangulation_2: Quiet a warning 2022-02-02 09:38:38 +00:00
Sébastien Loriot 4ec9d48d81 clean up 2022-01-28 16:52:21 +01:00
Sébastien Loriot c0a00e7fe3 remove no longer needed indices 2022-01-28 15:54:17 +01:00
Sébastien Loriot 3b7313ea37 use BGL for OFF writing 2022-01-27 15:02:17 +01:00
Andreas Fabri d08592b708 T2 2022-01-26 16:57:32 +00:00
Andreas Fabri 79a38d5cb9 CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
Andreas Fabri 72a0b8dc6a Deal with Triangulation_2 2022-01-18 16:49:17 +00:00
Laurent Rineau affbc0adee Merge pull request #6161 from afabri/Kernel-fix_doc_links-GF
Fix links concerning Projection_traits_3
2021-12-20 18:06:37 +01:00
Laurent Rineau 7906e3928a Merge pull request #6174 from afabri/CGAL_Discontinue_Geomview-GF
Remove Geomview
2021-12-20 18:06:29 +01:00
Mael Rouxel-Labbé 129f427d93 Move TDS2's graph traits into the TDS2 package 2021-12-16 13:48:01 +01:00
Andreas Fabri 115fa5ab39 Remove Geomview from the manual and the demos 2021-12-14 14:01:21 +00:00
Andreas Fabri 49e086700e Fix links 2021-12-08 07:25:51 +00: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 2bbcabe71b The size of argv array is now 2, ending with nullptr. 2021-11-11 17:23:37 +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 07421357a7 fix phrasing 2021-11-02 11:52:53 +01:00
Sébastien Loriot 08b1457649 add CGAL::CGAL_Basic_viewer target 2021-11-01 11:07:55 +01:00
Mael Rouxel-Labbé 8166579e55 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF 2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Mael Rouxel-Labbé 625848e629 Fix missing ':' in various namespaces 2021-10-04 13:21:47 +02:00
Sébastien Loriot 5945e48a3e restore sub-directories accidently removed in 98e471849b 2021-09-17 08:14:06 +02:00
Sébastien Loriot dacbd186d1 accomodate changes of internal -> Pkg/internal 2021-08-30 12:35:34 +02:00
Sébastien Loriot 4454c5b3ed Merge remote-tracking branch 'cgal/master' into T2-Document_projection_traits_3-maxGimeno 2021-08-30 12:25:51 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Mael Rouxel-Labbé 1cbcc39370 Rename example to avoid conflicts 2021-08-26 11:15:36 +02:00
Mael Rouxel-Labbé bcce76c062 Fix test & warnings 2021-08-26 11:08:16 +02:00
Sébastien Loriot 814c9138ef Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-12 10:38:11 +02:00
Sébastien Loriot cff3cdb40e Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-12 10:23:57 +02:00
Maxime Gimeno f7df517f57 Merge remote-tracking branch 'cgal/master' into T2-Document_projection_traits_3-maxGimeno 2021-08-09 09:14:23 +02:00
Mael 5a30c321b8
Misc cleaning 2021-08-04 15:42:04 +02:00
Laurent Rineau 5759a800e3
Merge pull request #5705 from maxGimeno/CGAL-Clean_up_boost_versions-maxGimeno 2021-07-28 10:14:38 +02:00
Laurent Rineau c6f79b6d2e Merge pull request #5175 from sloriot/T2-projection_traits_intersect_cleanup
Clean Intersect_2 in Triangulation_2_projection_traits_3
2021-07-27 15:55:27 +02:00
Mael Rouxel-Labbé 3fcae5244d Add a few more tests 2021-07-19 15:58:10 +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 83b69b5a98 Merge remote-tracking branch 'cgal/master' into T2-Document_projection_traits_3-maxGimeno 2021-07-08 11:33:42 +02:00
Sébastien Loriot bdec4360d3 Merge remote-tracking branch 'cgal/5.2.x-branch' 2021-06-25 10:05:19 +02:00
Sébastien Loriot dfcdb4c05b Merge remote-tracking branch 'cgal/5.1.x-branch' into HEAD 2021-06-25 10:02:58 +02:00
Sebastien Loriot 7e039fa21a
Update Triangulation_2/include/CGAL/Triangulation_2/internal/Triangulation_2_projection_traits_base_3.h
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-06-21 07:07:50 +02:00
Sébastien Loriot a00340d232 TWS 2021-06-17 17:49:47 +02:00
Sébastien Loriot fc40a2760f update from master branch 2021-06-17 17:45:25 +02:00
Andreas Fabri 1948cf304f Fix (unintendedly) skipping the next point after erasure of a constraint point
In 'it = set.erase(it)', it is already the next element, so the ++it
of the loop makes the algorithm skip an element, which might have had
to be removed if it also didn't have a corresponding triangulation vertex.
2021-06-15 14:21:35 +02:00
Mael Rouxel-Labbé 84a15ad4f9 Align Triangulation_2 User/Reference Manual with other Tr packages (use plural) 2021-06-05 14:53:46 +02:00
Maxime Gimeno 3a0d1d0052 Untouch the triangulation concepts 2021-05-27 09:16:02 +02:00
Maxime Gimeno 2d5f91f763 Merge remote-tracking branch 'cgal/master' into T2-Document_projection_traits_3-maxGimeno 2021-05-27 09:06:59 +02:00
Maxime Gimeno 75db0292f6 Rename internal classes 2021-05-19 09:25:13 +02:00
Maxime Gimeno 3795c5236a Changes after review 2021-05-18 10:16:24 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Mael 8226666398
Merge branch 'master' into Triangulation_on_sphere_2-GF 2021-04-17 11:22:30 +02: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
Mael Rouxel-Labbé 18c943e7b2 Add ToS2 user manual 2021-03-24 10:56:14 +01:00
Maxime Gimeno 6205f26d09 license 2021-03-19 13:57:02 +01:00
Maxime Gimeno 120ea6de99 Re add a deprecated version of the original header and a test for it. 2021-03-19 13:30:03 +01:00
Maxime Gimeno 735567531b RENAME 2021-03-19 12:00:08 +01:00
Mael Rouxel-Labbé ede18b776c Merge remote-tracking branch 'cgal/master' into Triangulation_on_sphere_2-GF 2021-03-18 10:42:52 +01:00
Maxime Gimeno 82d2258f0b Merge remote-tracking branch 'cgal/master' into T2-Document_projection_traits_3-maxGimeno 2021-03-10 15:10:20 +01:00
Maxime Gimeno 93e060591c Move the traits class in Kernel_23 2021-03-10 14:44:56 +01:00