Commit Graph

1949 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 9e5dcbf548 Merge remote-tracking branch 'cgal/master' into BGL-Add_remove_deg_2_vertex-GF 2024-12-13 14:44:04 +01:00
Sébastien Loriot 11640a3946 Merge remote-tracking branch 'cgal/6.0.x-branch' in master 2024-12-04 14:13:01 +01:00
Jane Tournois c4760da918 in OpenMesh, the outgoing halfedge of a boundary vertex must be the boundary halfedge 2024-12-03 10:48:57 +01:00
Sébastien Loriot 1b7e7bea6a fix dynamic with default for graph inheriting from another graph 2024-11-28 14:37:00 +01:00
Jane Tournois 7c156fa6cd use NP stream_precision 2024-11-15 14:59:21 +01:00
Jane Tournois 64acf21a1b read and write doubles instead of floats 2024-11-15 14:12:05 +01:00
Sebastien Loriot 74ea8b1f6c
Add CGAL::IO::read_OM() (#8427)
## Summary of Changes

Add a function to read an OpenMesh file ( `*.om` ) in CGALlab. This file
format stores also edges and vertices marked as features.
For the moment the function itself is not documented.

## Release Management

* License and copyright ownership: GeometryFactory
2024-11-14 14:12:26 +01:00
Jane Tournois 82e2e7a267 add missing const 2024-11-12 14:46:31 +01:00
Sébastien Loriot 13fcef62e0 missing const 2024-11-08 16:26:01 +01:00
Sébastien Loriot c8936698ac apply @MaelRL review 2024-11-08 16:22:47 +01:00
Sébastien Loriot 51b98e9cc2 add doc 2024-10-24 16:54:15 +02:00
Sébastien Loriot 9764dd1dce remove extra include 2024-10-23 12:15:13 +02:00
Jane Tournois cddb3d5c56 move OM.h IO header to BGL package
adapt demo and examples
BGL example TriMesh.cpp does not compile
2024-10-23 11:58:02 +02:00
Sébastien Loriot e21f49d79c Merge pull request #8483 from afabri/CGAL-Issue8399-GF
Cleanup as suggested in Issue 8399
2024-10-21 19:15:29 +02:00
Sébastien Loriot e7b8a4eb17 Merge pull request #8523 from lrineau/CGAL_CGAL-protect_against_macro_free-GF
protect CGAL against macro `free`
2024-10-18 18:00:37 +02:00
Laurent Rineau d907b362bd the patch was still not complete 2024-10-08 12:45:21 +02:00
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Andreas Fabri a69ff37004 Cleanup as suggested in Issue 8399 2024-09-17 09:51:55 +01:00
Sébastien Loriot ce678a62b9 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-08-19 11:23:25 +02:00
Sébastien Loriot 060f81452a Merge remote-tracking branch 'cgal/5.5.x-branch' into HEAD 2024-08-19 11:19:24 +02:00
Sébastien Loriot eeffa4b752 speed up copy_face_graph
mostly when tm is not empty and almost make it less
dependent on tm size
2024-08-12 09:44:43 +02:00
Sébastien Loriot f6936400cc Merge pull request #8366 from sloriot/BGL-hx_param
Restore order of template parameters
2024-07-23 17:20:52 +02:00
Sébastien Loriot 630e58f484 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-07-23 17:18:09 +02:00
Sébastien Loriot f93cb3c552 Merge branch 'cgal/5.5.x-branch' into 'cgal/5.6.x-branch' 2024-07-23 17:15:05 +02:00
Sébastien Loriot 747e6a5fd7 Merge pull request #8365 from sloriot/BGL-doc
Workaround missing links
2024-07-23 17:09:37 +02:00
Sébastien Loriot 1f316e82fd better doc fixes 2024-07-22 17:10:38 +02:00
Sébastien Loriot 2984acda0a restore order of template parameters modified by 6b75fea 2024-07-22 09:12:30 +02:00
Laurent Rineau 0de060acd6 Fix clang/llvm 19 compilation issue in iterator.h
Confirmed fix to compilation issue in clang//llvm 19 (https://github.com/CGAL/cgal/issues/8313)
2024-07-17 18:04:07 +02:00
albert-github dac6466aa6 Spelling correction
Another batch of spelling corrections in doxygen and normal comments
2024-05-30 18:32:30 +02:00
Mael Rouxel-Labbé c12be3782d Add Euler::remove_degree_2_vertex 2024-05-28 16:19:10 +02:00
Sébastien Loriot ddbd2e6818 Merge remote-tracking branch 'cgal/master' 2024-05-24 14:18:24 +02:00
Laurent Rineau c4165fe5f9 Merge pull request #7439 from MaelRL/PMP-Remove_degen_faces-no-clear-GF
Introduce remove_all_elements(Graph)
2024-04-22 14:54:18 +02:00
Andreas Fabri caa8aaaa21 merge master 2024-04-03 14:09:39 +01:00
Sven Oesau 490c99f32b Merge remote-tracking branch 'cgal/master' into Kinetic_shape_reconstruction-new_package-soesau 2024-03-26 17:29:04 +01:00
Andreas Fabri a2b7a72752 Create a doxygen grup for generators 2024-03-15 13:11:30 +01:00
Jane Tournois 6b75fea902 move triangulation step into make_hexahedron(8 points) 2024-03-06 14:48:01 +01:00
Jane Tournois ff3db1e0d7
doc suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2024-03-06 11:11:27 +01:00
Jane Tournois c21fc4f238 remove circular dependency and corresponding fwd declarations
include in helpers.h was introduced by 0528592011
in 2019 for backward compatibility, it can now be removed
2024-03-06 10:42:53 +01:00
Jane Tournois a4d6523f4a add missing forward declaration for copy_face_graph() 2024-03-05 14:36:52 +00:00
Jane Tournois 78872aca27 move NP do_not_triangulate to make_hexahedron(isocuboid)
and fix nb of faces of hexahedron from 8 to 6
2024-03-05 13:38:14 +00:00
Jane Tournois 685f6e7f84 create an overload of CGAL::make_hexahedron for Iso_cuboid_3 2024-03-04 17:04:06 +01:00
Sebastien Loriot caecbe29c7
Replace boost::mpl (#7813)
- `boost::mpl::if_` --> `std::conditional`
- `boost::enable_if` -> `std::enable_if`
- `boost::mpl::and_` -> `&&`
- `boost::mpl::or_` -> `||`
- `boost::constant::bool_` -> `std::bool_constant`
- ...
2023-12-26 17:33:36 +01:00
Mael Rouxel-Labbé 61ad28c80c Swap the contents of CGAL/IO/polygon_mesh_io.h and CGAL/BGL/IO/polygon_mesh_io.h 2023-12-13 09:58:06 +01:00
Mael Rouxel-Labbé 1dc0ba2c3a Merge remote-tracking branch 'cgal/master' into AW3-Resume_aw3-GF 2023-11-29 16:53:37 +01:00
Sven Oesau b26e22bca8 Merge remote-tracking branch 'remotes/orth/orthtree-generalization' into Kinetic_shape_reconstruction-new_package-soesau 2023-11-08 08:58:25 +01:00
Sébastien Loriot 6383bf9676 revert changes to not block the integration of new Orthtree 2023-11-07 08:35:37 +01:00
Sébastien Loriot 999ad9b787 Merge remote-tracking branch 'cgal/master' into HEAD 2023-11-07 08:19:19 +01:00
Laurent Rineau bdfe153cd9 Merge pull request #7784 from janetournois/BGL-warning_fixed-jtournois
BGL - no need to workaround boost 1.54 anymore
2023-11-06 12:52:24 +01:00
Sébastien Loriot 3176178224 fix compilation issues 2023-11-06 11:43:29 +01:00
Mael Rouxel-Labbé 318258963f Add a generic, empty collect_garbage(Graph) 2023-10-13 10:53:11 +02:00
Jane Tournois 6e6598cd5e no need to workaround boost 1.54 anymore
because CGAL now requires boost 1.66 or higher
2023-10-10 19:32:59 +02:00
Sven Oesau 10cda49c66 Merge remote-tracking branch 'remotes/orth/orthtree-generalization' into Kinetic_shape_reconstruction-new_package-soesau 2023-09-25 12:37:38 +02:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
JacksonCampolattaro f021c0c941 Use optional vpm for all property maps 2023-09-24 16:52:09 +02:00
JacksonCampolattaro aced88517a More optional non-nullable maps 2023-09-24 16:33:59 +02:00
JacksonCampolattaro c67bec24cc More optionals for non-nullable maps 2023-09-16 18:38:32 +02:00
Sébastien Loriot da33014535 Merge remote-tracking branch 'cgal/master' 2023-09-14 09:07:00 +02:00
Laurent Rineau 46923342ad Merge pull request #7576 from albert-github/feature/issue_7395
issue #7395 Improvement of layout of model relations

# Conflicts:
#	Kernel_23/doc/Kernel_23/CGAL/Vector_2.h
2023-09-07 10:48:34 +02:00
Laurent Rineau cdd4b2cc75 Merge pull request #7595 from MaelRL/BGL-Generalize_FFG_doc-GF
Generalize documentation of Face_filtered_graph
2023-09-07 10:46:35 +02:00
Mael Rouxel-Labbé 5425d089da Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF 2023-09-05 14:52:16 +02:00
Sébastien Loriot 28dc304676 Merge branch 'cgal/master' 2023-09-01 13:03:05 +02:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
Mael Rouxel-Labbé 7f85651e82 Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF 2023-07-19 13:55:35 +02:00
Mael Rouxel-Labbé 146f9ecb21 Add specializations for Surface_mesh and Polyhedron_3 2023-07-19 13:48:34 +02:00
Mael Rouxel-Labbé 178d063536 Improve the doc of Face_filtered_graph: patch IDs can be more than size_t 2023-07-18 11:46:42 +02:00
albert-github a0320dd7b4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Polyhedron/doc/Polyhedron/Concepts/PolyhedronItems_3.h
2023-07-13 10:33:18 +02:00
Mael Rouxel-Labbé 5cc57d4c58 Minor doc fix 2023-07-12 14:45:29 +02:00
Mael Rouxel-Labbé 6fbbb70b20 Generalize FFG doc: the selection's value_type needs not be faces_size_type 2023-07-12 14:39:03 +02:00
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
albert-github 5673ccfc71 Spelling corrections
Spelling correction `a edge` to `an edge`
2023-07-06 18:04:38 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 3e4120c81d Merge branch 'master' into orthtree-generalization 2023-07-03 17:15:55 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Sébastien Loriot 11a5b394b8 use Range::size() 2023-06-15 18:44:20 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
Sébastien Loriot 852b3b664b expand -CGAL_CPP17_INLINE macro 2023-06-15 10:40:54 +02:00
Sébastien Loriot b724def918 Merge pull request #6605 from sloriot/PMP-snap_no_deg_faces_created
Avoid creating degenerate faces in snap
2023-05-30 19:15:30 +02:00
JacksonCampolattaro c066a18fe2 Fix issues with the simpler unit tests 2023-05-18 11:36:06 +02:00
Sébastien Loriot 02b126d961 maps are not necessarily default constructible 2023-05-17 17:08:01 +02:00
JacksonCampolattaro ac6fbf0467 Add partly-working adaptation of Surface_mesh to use the new Property map system 2023-05-17 16:49:46 +02:00
Mael Rouxel-Labbé a69a2f54c6 Rename to avoid conflict with STL 2023-05-16 14:21:27 +02:00
Mael Rouxel-Labbé 7a2e5412e9 Clarify that empty() does not clean garbage or remove property maps 2023-05-15 12:42:42 +02:00
Mael Rouxel-Labbé 34a9756836 Use BGL API instead of assuming graph.clear() exists 2023-05-15 12:42:13 +02:00
Mael Rouxel-Labbé 931270b66d Introduce CGAL::empty(), which only clears combinatorial information
And leaves everything else like internal property maps and garbage.
2023-05-15 12:35:52 +02:00
Laurent Rineau 1b84329710 Merge pull request #7229 from GilesBathgate/General-safe_bool_idiom-GilesBathgate
Remove use of the safe-bool idiom, replace with explicit operator bool
2023-05-03 15:05:45 +02:00
Sébastien Loriot af337edf4d boost::reference_wrapper ---> std::reference_wrapper 2023-04-29 08:35:13 +02:00
Sébastien Loriot 4fb4ca2b53 std::empty needs c++17
remove this commit before merging in 6.0
2023-04-28 23:39:37 +02:00
Sébastien Loriot 2f7d150531 boost::begin/end/empty/size -> std::begin/end/empty/size 2023-04-23 23:01:35 +02:00
Sébastien Loriot a04035879d boost::is_const -> std::is_const 2023-04-23 22:37:07 +02:00
Sébastien Loriot d4d2225801 boost::is_reference -> std::is_reference 2023-04-23 22:37:07 +02:00
Sébastien Loriot 8740b244a2 boost::distance -> std::distance
boost's version is working on std::pair but we decided to no longer
consider iterator pairs as ranges
2023-04-23 22:37:07 +02:00
Sébastien Loriot 61834d5a26 boost::remove_const -> std::remove_const_t 2023-04-23 19:07:54 +02:00
Sébastien Loriot fc034c6a5d boost::unit -> std::uint 2023-04-23 18:40:39 +02:00
Laurent Rineau ad30839e6b Merge pull request #7370 from sloriot/PMP-soup_self_intersections
Add self-intersection test and report functions for triangle soups
2023-04-21 11:20:52 +02:00