Commit Graph

717 Commits

Author SHA1 Message Date
albert-github 1cce66c343 Spelling corrections
Spelling corrections `a e...` -> `an e...`
2023-07-30 12:59:17 +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
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
Guillaume Damiand 6664339b3f Update drawing functor for surface mesh 2023-06-27 09:56:06 +02:00
Guillaume Damiand fe23441eab Merge master 2023-06-26 14:42:33 +02:00
Guillaume Damiand 7da9812bda Rename graphic_buffer into graphic_storage. 2023-06-22 15:18:34 +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 1e6519e51a Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-05-11 17:28:21 +02:00
Laurent Rineau 4f6398a4e2 Merge pull request #6575 from nh2/ply-property-lists
PLY: Support writing per-face/vertex property lists
2023-05-11 17:01:44 +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
Guillaume Damiand 519c7cc1a5 rename add_in_graphic_buffer into add_in_graphic_storage 2023-04-28 15:25:40 +02:00
Guillaume Damiand 4df2edd9c1 Replace draw_buffer by draw_graphic_storage 2023-04-28 12:26:31 +02:00
Guillaume Damiand 8f29e4d323 Rename class graphic buffer 2023-04-27 15:48:42 +02:00
Guillaume Damiand d780acb988 Example for basic viewer draw small faces 2023-04-25 17:05:13 +02:00
Sébastien Loriot a04035879d boost::is_const -> std::is_const 2023-04-23 22:37:07 +02:00
Sébastien Loriot a88af6c0c6 boost::array -> std::array 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99e7f4806a boost::int -> std::int 2023-04-23 18:43:10 +02:00
Sébastien Loriot fc034c6a5d boost::unit -> std::uint 2023-04-23 18:40:39 +02:00
Sébastien Loriot c6e65964ec handle list attribute while reading PLY 2023-04-12 13:42:24 +02:00
Andreas Fabri 161f1b83d4 Surface_mesh: Document join() 2023-03-10 16:43:52 +00:00
Sébastien Loriot 9242a810c4 Merge remote-tracking branch 'cgal/master' into Region_growing-revision-soesau 2023-02-07 11:31:55 +01:00
Laurent Rineau b32457efb3 Merge pull request #6816 from maximecharriere/dev/drawGraphColor
Draw mesh color in SimpleFaceGraphViewerQt
2023-02-02 10:58:32 +01:00
Giles Bathgate 2c7f7751a8 Add equal operator to Properties.h 2023-01-30 20:47:18 +00:00
Giles Bathgate ff6b741afc Is a comparison operator needed 2023-01-30 20:31:19 +00:00
Giles Bathgate 679ee1f870 Remove use of the safe-bool idiom, replace with explicit operator bool 2023-01-30 19:39:42 +00:00
Laurent Rineau fc61b42864 Merge pull request #6858 from sloriot/Doc-exclude_internal
Ignore internal directories
2023-01-27 21:02:29 +01:00
Mael 4a477c248e
Merge branch 'master' into dev/drawGraphColor 2023-01-19 14:37:45 +01:00
Sébastien Loriot fef1a43d35 remove internal from generated doc 2022-12-15 10:43:27 +01:00
Mostafa-ashraf19 5948fc19fe Initial Commit 2022-12-09 14:05:38 +02:00
Mael Rouxel-Labbé a8c792c4e9 Anticipate some warnings 2022-12-08 10:29:04 +01:00
Mael Rouxel-Labbé c670c24e3a Add an element coloring functor for Surface_mesh that checks for internal pmaps 2022-12-08 01:08:07 +01:00
albert-github 01a7852f70 Merge branch 'master' into feature/bug_documentation_spell_20221113
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

Synchronize with master
2022-11-16 13:58:05 +01:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
Laurent Rineau 746c2d438e Merge pull request #7017 from afabri/Stream_support-ply_color-GF
Surface_mesh: Deal with PLY files with vertex and face color of type float
2022-11-15 17:01:36 +01:00
Andreas Fabri 178bc9e905 More static cast 2022-11-10 09:24:26 +00:00
Andreas Fabri fa6a2bddac static_cast to avoid warning 2022-11-09 08:32:59 +00:00
Andreas Fabri 3f9f7429b8
Update Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-11-07 10:20:13 +01:00
Andreas Fabri b8e96fef84 Surface_mesh: Deal with PLY files with vertex and face color which is float instead of unsigned char 2022-11-07 09:11:19 +00:00
Laurent Rineau 987391d8ee Merge pull request #6930 from MaelRL/BGL-Use_is_valid_descriptor-GF
BGL graph validity improvements
2022-11-07 10:08:34 +01:00
Guillaume Damiand 8e93b8ccbc spaces 2022-10-17 18:02:52 +02:00
Sébastien Loriot e8486bc68e add a convenience overload 2022-10-17 15:28:58 +02:00
Guillaume Damiand 89f7e05dc6 some drawing functor are necessary non null; review of draw for lcc. 2022-10-14 16:03:25 +02:00
Guillaume Damiand afc0eaedf5 Review of draw for face graph, polyhedron and sm 2022-10-14 15:08:32 +02:00
Guillaume Damiand 24a8004ee0
Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2022-10-14 08:53:12 +02:00
Mael Rouxel-Labbé 60e55fbeaa Change default verbosity to false in Surface_mesh element validity checks 2022-10-07 09:54:14 +02:00
Mostafa-ashraf19 6469319870 Surface mesh example. 2022-10-06 21:23:34 +02:00
Mostafa-ashraf19 74a68d4694 Applied new APIs version in face graph. 2022-10-06 21:22:05 +02:00
Mael Rouxel-Labbé b597aa8aab Add is_valid_*_descriptor() overloads for Surface_mesh 2022-10-04 22:19:35 +02:00
Sven Oesau 80eb8601e6
Merge branch 'CGAL:master' into Region_growing-revision-soesau 2022-09-02 16:42:41 +02:00
Sébastien Loriot d729450b00 add missing commas 2022-08-05 13:42:39 +02:00
Sébastien Loriot cc9f183164 fix typedef 2022-08-05 13:42:15 +02:00
Sébastien Loriot 684f48e14c const_cast is useless 2022-08-05 13:41:39 +02:00
Sébastien Loriot d95d834af1 Surface_mesh iterator should not return a reference 2022-08-05 13:40:28 +02:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Sven Oesau 5be7fd53fb removing unused parameters 2022-07-19 14:35:27 +02:00
Sébastien Loriot ff8a28731b unsued variable 2022-06-29 13:10:41 +02:00
Sébastien Loriot 25cacd2237 remove unused typedef 2022-06-29 09:24:22 +02:00
Sven Oesau 7c29cd42ad added missing typename 2022-06-28 09:04:32 +02:00
Sven Oesau 37eb6a5118 fixed saving of face colors using property maps from named parameters 2022-06-28 08:45:31 +02:00
Sébastien Loriot aa9f5215c4 factorize 2022-06-24 17:21:37 +02:00
Sébastien Loriot c9c6b30cf0 Merge sloriot/CGAL-std_type_traits into master 2022-06-23 16:35:37 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02:00
Andreas Fabri 06e5884b9c Add documentation 2022-05-24 15:00:02 +01:00
Sebastien Loriot b9fabbe116
Merge pull request #6550 from afabri/BGL-adjacency_iterator-GF
BGL: Add adjacency_iterator for several classes
2022-05-13 15:51:44 +02:00
Niklas Hambüchen 59d70a5018 PLY: Support writing per-face/vertex property lists 2022-05-12 12:51:42 +02:00
Laurent Rineau 6da27847c5 Merge pull request #6495 from afabri/Surface_mesh-move-GF
Surface_mesh: Add move semantics
2022-05-06 14:22:06 +02:00
Andreas Fabri fd20beeef7 Use vertices_around_target() 2022-05-03 15:09:05 +01:00
Andreas Fabri abb54bf0b8 BGL: Add adjacency_iterator for several classes 2022-05-03 14:02:21 +01:00
Laurent Rineau 3072b93942 After review 2022-04-23 16:11:18 +02:00
Laurent Rineau df43db067a Use std::move instead of std::forward 2022-04-20 17:09:35 +02:00
Laurent Rineau 090c61c6b7 Swap capacity_ as well 2022-04-20 17:08:05 +02:00
Laurent Rineau 9e964b0797 Simplify constructors with default member initializers 2022-04-20 17:03:31 +02:00
Mael Rouxel-Labbé 477353d5eb Merge parameters::Is_default and parameters::is_default_parameter 2022-04-20 16:01:02 +02:00
Andreas Fabri 5098cad841 Test the move semantics 2022-04-19 16:52:18 +01:00
Sébastien Loriot 514e4de9b7 add no-move copy 2022-04-19 07:18:31 +02:00
Sébastien Loriot 92f7344f3c fix syntax errors 2022-04-18 20:55:56 +02:00
Andreas Fabri 13f00211d3 Surface_mesh: Add move semantics 2022-04-18 16:34:14 +01:00
Sébastien Loriot 07e917ca09 Merge remote-tracking branch 'MaelRL/PMP-Improve_SI_repair-GF' into HEAD 2022-01-18 09:18:20 +01:00
Sébastien Loriot 10b0af3092 rename macro since Named_function_parameter is part of STL_Extension 2022-01-13 14:43:34 +01:00
Sébastien Loriot 4fa826b3ed keep only the static version of is_default_parameter 2022-01-10 18:36:37 +01:00
Sébastien Loriot 75b03e6c0a use_default_values() -> default_values() 2022-01-10 18:36:37 +01:00
Sébastien Loriot 6d3176e061 move Named_parameters class in STL_extension
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01:00
Sébastien Loriot 54d09a788b fix value 2022-01-07 14:10:23 +01:00
Sébastien Loriot c78dfa3d61 restore too agressive removal 2022-01-07 10:18:12 +01:00
Sébastien Loriot e7dcb31417 replaces overloads with default parameters (Surface_mesh/IO) 2022-01-06 15:11:32 +01:00
Sébastien Loriot a6d9b99466 move macros in BaseDoxyfile 2022-01-04 11:10:09 +01:00
Mael Rouxel-Labbé 515b97d905 Also check the validity of the index in Surface_mesh::is_valid(Element) 2021-12-14 10:42:49 +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 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é df560987a6 Whitespace & cleaning changes 2021-10-08 12:13:43 +02:00
Laurent Rineau fb9333f0d0 Merge pull request #6028 from MaelRL/CGAL-Fix_typos-GF
Fix typos
2021-10-07 14:27:21 +02:00
Laurent Rineau 94ee9b1613 Merge pull request #6030 from MaelRL/CGAL-Minor_fixes-GF
Fix uninitialized id maps in heat method
2021-10-07 14:27:16 +02:00
Mael Rouxel-Labbé 863ab7541c Various whitespace fixes 2021-10-05 12:14:03 +02:00
Mael Rouxel-Labbé 625848e629 Fix missing ':' in various namespaces 2021-10-04 13:21:47 +02:00
Laurent Rineau ad79d37410 Merge pull request #6014 from MaelRL/CGAL-IO_Clarify_binary_text-GF
CGAL IO: Clarify binary warning
2021-09-29 11:46:30 +02:00