Commit Graph

333 Commits

Author SHA1 Message Date
Sebastien Loriot 8013590cc4
Update Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_masks_3.h
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-08-26 15:49:59 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +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
Giles Bathgate 939305d659 Fix division by zero in subdivision_masks_3.h 2020-12-13 19:46:01 +00:00
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Sébastien Loriot e893ac1178 cosmetic changes 2020-08-18 10:06:51 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Mael Rouxel-Labbé 48bd92b4dd Proof read all NP changes 2020-04-13 13:03:05 +02:00
Mael Rouxel-Labbé 80f6f659f3 Update to new named parameters macros 2020-04-05 17:56:50 +02:00
Mael Rouxel-Labbé 16092f53d6 Update doc about NPs 2020-04-05 17:56:11 +02:00
Mael Rouxel-Labbé fc79510388 Regroup NP aliases into the base doxyfile.in 2020-04-04 17:26:32 +02:00
Mael Rouxel-Labbé e7d52999a8 Update PMP NPs to new macros 2020-03-29 17:16:50 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Mael Rouxel-Labbé ff09c5d0c8 Merge branch 'SMS-Add_GH_simplification-GF-old' into SMS-Add_GH_simplification-GF 2019-10-25 16:35:53 +02:00
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
Mael Rouxel-Labbé 0f7de56d76 Move a number of Named Parameter type extractor from CGAL::PMP:: to PMP::
These are used in a number of pacakges other than PMP and the code
is also already in /BGL. None are documented.
2019-10-17 12:41:30 +02:00
Sébastien Loriot 25a05e9f4c Merge branch 'CGAL-named_function_parameters-4.14' into master
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot 2f81a21523 Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Sébastien Loriot 1f8065c6c3 Merge pull request #3885 from MaelRL/PMP-Locate-GF
PMP: Add locate.h and rewrite Triangulation_2 graph traits
2019-07-18 16:40:49 +02:00
Sébastien Loriot 560c77f567 rename named function parameter class 2019-07-15 06:25:02 +02:00
Sébastien Loriot cebf0657d8 Use a full CGAL version of named function parameters
no longer rely on boost
2019-07-14 22:45:47 +02:00
Sébastien Loriot 983645a51a match @{ and @} 2019-07-05 21:49:46 +02:00
Mael Rouxel-Labbé f68141a6d3 Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF 2019-07-01 11:28:25 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Mael Rouxel-Labbé 0b506f5cce Fix package dependencies 2019-05-10 12:41:25 +02: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 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Sébastien Loriot e4cbae525c Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD 2019-01-31 11:25:26 +01:00
Sébastien Loriot 99d842401a Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD 2019-01-31 11:24:50 +01:00
Mael Rouxel-Labbé 043d3c60fa Fixed wrongly using the (unsigned) degree type in CatmullClark mask computations 2019-01-17 16:29:59 +01:00
Andreas Fabri 73e3457f3f One warning was left 2018-12-14 08:20:37 +01:00
Andreas Fabri e1d5552de7 Do not call deprecated code. Add a test file for the deprecated code 2018-12-13 09:39:48 +01:00
Andreas Fabri 284e374df6 Subdivision:methods_3: Use deprecation warning 2018-12-10 08:49:17 +01:00
Sébastien Loriot 3a1516e940 add missing Reference and uniformize ref man group declaration 2018-11-20 13:47:16 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Sébastien Loriot 2f9408f867 rename link name to match package name 2018-10-08 10:28:55 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Laurent Rineau 0e4e50f2e7 Merge pull request #3060 from maxGimeno/BGL-read_write_off_use_np-GF
BGL: Use Named Parameters in OFF I/O
2018-06-27 10:21:33 +02:00
Maxime Gimeno 1c7ab0d3aa Fix dependencies files. 2018-06-08 09:04:34 +02:00
Maxime Gimeno 6dfa8d0ba3 replace CGAL_is_valid(Mesh) by CGAL::is_valid_polygon_mesh(Mesh) 2018-05-03 12:03:14 +02:00
Laurent Rineau adb826d25b Subdivision: Use named parameters from the BGL package
That will remove the dependency to PMP.
2018-03-22 19:05:51 +01:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Maxime Gimeno 7fa4b380d2 fixes in includes logic. 2018-02-02 12:08:05 +01:00
Simon Giraudot 8f6205f657 Update namespace in Subdivision method 2018-01-10 16:38:36 +01:00
Laurent Rineau 61e662c4e4 Merge pull request #2649 from sgiraudot/BGL-Regroup_named_parameters-GF
Regroup PMP named parameters with BGL named parameters

# Conflicts:
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/parameters_interface.h
2017-12-19 16:33:44 +01:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Sébastien Loriot c2ae22d2d1 fix conversion warnings 2017-12-14 10:31:18 +01:00
Sébastien Loriot 8def8ba0f4 remove unused variable 2017-12-13 10:09:06 +01:00
Sébastien Loriot f7569e6613 make no assumption on the position of border vertices 2017-12-12 17:11:18 +01:00
Sébastien Loriot 6342f9a732 fix remaining point reference 2017-12-12 14:41:41 +01:00
Sébastien Loriot eac197b2cb fix type 2017-12-12 14:30:28 +01:00
Sébastien Loriot 2a90e40211 add missing template parameters 2017-12-12 14:26:35 +01:00
Sébastien Loriot 471d996e33 remove paragraph no longer relevant 2017-12-12 11:24:01 +01:00
Sébastien Loriot 68a7fbbe3a use only one implementation for DQQ
this is possible now as all the descriptors are first
copied into internal vectors
2017-12-12 11:20:17 +01:00
Sébastien Loriot 9aa82afc2a copy descriptors as we are looping over them while modifying the mesh for DQQ 2017-12-12 11:17:14 +01:00
Mael Rouxel-Labbé ad947da752 Give each package a NamedParameters.txt 2017-12-12 00:07:57 +01:00
Sébastien Loriot d8bba16568 update user manual to also used named parameters 2017-12-11 18:03:36 +01:00
Sébastien Loriot c751a461ff copy descriptors as we are looping over them while modifying the mesh
done for all but DQQ
2017-12-11 17:53:05 +01:00
Sébastien Loriot 25491714ba using named parameters as documented 2017-12-11 13:21:37 +01:00
Sébastien Loriot c89abd7d72 fix conversion warnings 2017-12-11 12:17:35 +01:00
Simon Giraudot 8c996bb788 Update tag in Subdivision methods 2017-12-11 12:12:36 +01:00
Sébastien Loriot 751c424aa0 make no assumption of the point map type 2017-12-11 11:00:05 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau f8c0a68c7a Merge pull request #2404 from sloriot/SM_3-fix_border_halfedge_for_border_node
Fix issues on the border of subdivided mesh
2017-09-15 16:31:18 +02:00
Laurent Rineau 68e94c95ec Merge pull request #2404 from sloriot/SM_3-fix_border_halfedge_for_border_node
Fix issues on the border of subdivided mesh
2017-09-15 16:23:15 +02:00
Sébastien Loriot 8cf200f6b0 improve phrasing 2017-09-08 08:38:33 +02:00
Sébastien Loriot c3833d0fb0 update border_node for Sqrt3
only one function that computes the coordinates of the interior points
and the update of the target vertex. We also make the function consistant
with other masks by requesting a non boundary halfedge
2017-09-07 15:57:45 +02:00
Sébastien Loriot b750ca7f0f update the document to be more precise 2017-09-07 14:43:28 +02:00
Sébastien Loriot 03f92c4d60 do not pass a border halfedge to border_node 2017-09-07 13:46:33 +02:00
Sébastien Loriot 30ea6631b0 use free functions as documented in the MutableFaceGraph concept 2017-09-06 17:12:38 +02:00
Andreas Fabri 3cc699504f fix release date 2017-05-12 11:01:33 +02:00
Mael Rouxel-Labbé aad0f9f792 Fixed namespace for named parameters 2017-05-12 10:54:00 +02:00
Mael Rouxel-Labbé 2cd54cd380 Removed obsolete and broken INPUT definition from doxygen.in 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 883d8a0a15 Fixed unsigned signed comparison 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé fd97d9b973 Fixed typo in documentation 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 478a867e5e Fixed DooSabin subdivision when using the Polyhedron demo's Polyhedron items 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 3ea50c4567 Fixed missing include 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 84d782e09b Fixed data paths 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé b5e935c817 Tiny cleaning 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 7982f9ea68 Restructured the subdivision package
-- Integrated the doc in the header files
-- Split and moved files to have a proper internal structure and to distinguish
   between hosts, stencils and methods at the filename level.
-- Removed all instances of Polyhedron to have PolygonMesh instead
-- Cleaned off useless functions (Polyhedron_decorator remnants)
-- Improved general documentation
-- Minor performance improvements
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 22d47f32b8 Updated the documentation 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé cd75d44204 Misc cleaning 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé b428d743f8 Updated Subdivision's test file
- Tests are now exhaustive
- New data file added to actually have an open tri mesh
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé a945dda767 Added support of the DooSabin subdivision for a SurfaceMesh
There are now two different implementations of the DooSabin subdivision,
depending on whether the halfedge is an index type. If this is the case,
we build the subdivided mesh from scratch instead of adding and removing
elements.

Benchmarks show around the same speed for both implementations.
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 15afe8fc14 Replaced reference to polyhedron with a pointer in Subdivision stencils
This allows to change the mask's polyhedron and property map, which is used
in one of the DooSabin implementations
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé c123917e1d Updated the examples
Incidentally, the testsuite will be able to run the examples now
2017-05-12 10:34:56 +02:00
Andreas Fabri 7762927ed1 Use svg files 2017-05-12 10:34:56 +02:00