Commit Graph

348 Commits

Author SHA1 Message Date
Sébastien Loriot 18039c7a71 add overload using named function parameters
freeze_bound is still commented for now as the conflict with
boost parameters must be handled
2022-06-04 13:56:45 +02:00
Sébastien Loriot a38356fe8b workaround deprecated warnings 2022-05-18 11:03:01 +02:00
Andreas Fabri e72979cd66 Fix after having merged master 2022-05-18 07:27:53 +01:00
Andreas Fabri 9354300d7c Remove template parameter 2022-05-17 09:09:34 +01:00
Sébastien Loriot 3c466769c7 add function named parameters in Mesh_2 2022-05-16 17:24:27 +02:00
Laurent Rineau 1389c517ec Proposal for a new API 2022-05-16 17:24:27 +02:00
Laurent Rineau b459b4538a Fix typo after spellchecking (by vscode) 2022-05-16 17:24:27 +02:00
Andreas Fabri 35fb2fd971 Fix namespace 2022-03-15 22:47:32 +01:00
Andreas Fabri c818c0ef28 Add include; improve documentation 2022-03-15 22:00:04 +01:00
Andreas Fabri 5b6b521ca8 Deal with write_VTU() 2022-03-15 17:45:41 +01:00
Andreas Fabri a6ae3b1ac1 Rename and move stuff 2022-03-15 10:34:36 +01:00
Andreas Fabri 849e18ae6c Triangulation_2: Add CGAL::mark_domains() 2022-03-14 23:05:15 +01:00
Jane Tournois 0ac4bf6493 fix compilation of Mesh_2 with Homogeneous kernel
the example mesh_optimization.cpp fails during refinement
with Kernel = CGAL::Homogeneous<double>
2021-09-10 11:28:13 +02:00
Jane Tournois 7e3af5cbda move the implementation of segment_hides_circumcenter() to the kernel
to use filtered predicates
2021-09-10 11:26:53 +02:00
Sébastien Loriot 2c889a3b52 remove unused files 2021-08-26 11:43:58 +02:00
Sebastien Loriot 3404633d3e
Merge pull request #5704 from lrineau/Mesh_2-more_CGAL_MESH_2_DEBUG_REFINEMENT_POINTS-GF
Mesh_2: Add a new debugging macro CGAL_MESH_2_DEBUG_REFINEMENT_POINTS
2021-08-12 10:01:39 +02:00
Laurent Rineau e0a4dd0680 Merge pull request #5677 from sloriot/CGAL-IO_namespace
CGAL IO namespace

# Conflicts:
#	Installation/test/Installation/test_gmp_mpfr_dll.cpp
2021-05-18 17:31:40 +02:00
Laurent Rineau 6932eb3e86 Merge pull request #5679 from lrineau/Mesh_2-fix_write_VTU_in_ASCII-GF
Mesh_2: Fix write_vtu in ASCII
2021-05-18 17:07:02 +02:00
Laurent Rineau e3934f181f Merge branch 'master' into Mesh_2-more_CGAL_MESH_2_DEBUG_REFINEMENT_POINTS-GF
# Conflicts:
#	Mesh_2/include/CGAL/Delaunay_mesh_vertex_base_2.h
2021-05-12 15:20:27 +02:00
Laurent Rineau 34c2915637 Add a new debugging macro CGAL_MESH_2_DEBUG_REFINEMENT_POINTS 2021-05-12 14:47:25 +02:00
Laurent Rineau e15e25d996 Fix: Constrained edges, on write_VTU/ASCII, were completely missing! 2021-05-12 12:39:35 +02:00
Maxime Gimeno bbc7db4e27 Remove the compatibility header for write_VTU to avoid conflicts 2021-05-07 10:14:37 +02:00
Sébastien Loriot 625a335280 add missing IO:: 2021-05-06 09:39:13 +02:00
Laurent Rineau fa1eb24155 Merge pull request #5679 from lrineau/Mesh_2-fix_write_VTU_in_ASCII-GF
Mesh_2: Fix write_vtu in ASCII
2021-05-05 16:07:49 +02:00
Laurent Rineau 28a46c90a6 Fix write_vtu in ASCII 2021-05-05 15:31:13 +02:00
Sébastien Loriot fbbf3863af remove extra IO 2021-05-04 18:25:16 +02:00
Sébastien Loriot 4e2f1a67d5 rename header + add backward compatibility header 2021-05-04 15:15:40 +02:00
Sébastien Loriot 12f0e412b5 write_vtu -> write_VTU 2021-05-04 15:12:36 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Sébastien Loriot eae1ffc270 IO namespace in Mesh_2 package 2021-05-03 13:44:57 +02:00
Maxime Gimeno 8de4a7c159 Add missing include to File_poly,h 2021-01-12 09:02:25 +01:00
Maxime Gimeno fe12d897f9 move function to avoid duplicate 2021-01-08 13:02:05 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Michael Hemmer 09974cf643
Update Refine_edges_with_clusters.h
Use CGAL_NTS macro instead of CGAL::to_double
2020-10-21 15:27:28 +02:00
Michael Hemmer 46b7c73e37
Allow Epec in Refine_edges_with_clusters
Allow instantiation of Refine_edges_with_clusters with EPEC.

This should be a null op with Epic.
2020-10-20 16:58:36 +02:00
Mael Rouxel-Labbé 26ae0d2b8c Misc compilation fixes 2020-06-23 19:11:55 +02:00
Maxime Gimeno ea53a8d70d Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-06-17 14:25:21 +02:00
Mael Rouxel-Labbé 580a1efd5c Remove trailing whitespace / tabs 2020-05-22 15:31:50 +02:00
Andreas Fabri 7a6bdc1946 Mesh_2: make it deterministic 2020-05-15 14:16:56 +01:00
Maxime Gimeno 4e6fb685c6 Merge remote-tracking branch 'mine/CGAL_IO-maxGimeno' into HEAD 2020-03-27 11:11:10 +01: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é 30d4754a04 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-03-17 09:03:12 +01:00
Laurent Rineau fb6007bebf Merge pull request #4461 from lrineau/Mesh_2-support_projection_traits_3-GF
Fix issue #4458 (Mesh_2 and Triangulation_2_projection_traits_3)
2020-03-05 14:52:31 +01:00
Mael Rouxel-Labbé 41271b67f6 Improvements to CGAL i/o across the board 2020-01-29 10:00:07 +01:00
Laurent Rineau 9bf6d98159 Fix issue #4458
Fix the issue "Instantiate new geometry traits" (#4458).

Now, Mesh_2 can be used with `<CGAL/Triangulation_2_projection_traits_3.h>`.
2020-01-10 12:59:59 +01:00
Andreas Fabri 48fedbae06 Typos: splitted -> split 2019-12-11 16:57:34 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +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
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Andreas Fabri 5532b84b4f nullptr_t -> std::nullptr_t 2019-06-05 07:28:56 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Michael Hemmer 6415f3cddb Fix in CGAL package Mesh_2
GitOrigin-RevId: a24f22bd01
2019-04-24 15:18:32 +02:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Andreas Fabri a472c24185 http:/www.boost.org -> https://www.bost.org 2019-03-20 08:59:22 +01:00
Maxime Gimeno 6cff52c485 write_vtu uses write_vtu_with_attributes 2019-02-04 10:04:19 +01:00
Maxime Gimeno ad300da617 Fix write_vtu_with_argumetns 2019-01-30 16:55:27 +01:00
Maxime Gimeno e456d29abf WIP write_vtu_with_attributes 2019-01-25 16:10:03 +01:00
Laurent Rineau c7b95e25c5 Rename two write_points functions as well 2019-01-21 16:32:37 +01:00
Laurent Rineau 8f658695f8 Rename internal methods to avoid a namespace class
There was two methods named `CGAL::write_points_tag`. I renamed then
to:
  - `write_c3t3_points_tag`, and
  - `write_cdt_points_tag`.
2019-01-21 16:17:28 +01:00
Laurent Rineau dbd569d51c Fix the result of check_headers 2019-01-17 18:29:27 +01:00
Laurent Rineau c1d4608665 My changes to output_to_vtu 2019-01-17 16:03:43 +01:00
Laurent Rineau 1754057d24 My changes to write_vtu 2019-01-16 16:50:45 +01:00
Maxime Gimeno 33a3996fa1 Rename write_VTU and write_VTP 2018-10-29 15:02:20 +01:00
Maxime Gimeno 63488d81d1 Update Changes and doc 2018-10-29 12:59:44 +01:00
Maxime Gimeno 5f38a107a1 Update. 2018-10-29 11:50:57 +01:00
Maxime Gimeno 9e929e39a0 Clarifies the doc 2018-10-09 14:49:08 +02:00
Maxime Gimeno 14c526a378 Add constrained edges to vtu output for cdt 2018-10-09 14:42:42 +02:00
Maxime Gimeno b380bd8b31 Doc for write_unstructured_grid_2 2018-10-08 16:25:51 +02:00
Maxime Gimeno e8cf3f3192 add license includes 2018-10-05 17:09:43 +02:00
Maxime Gimeno 0c800d5830 Add SPDX stuff 2018-10-05 11:48:46 +02:00
Maxime Gimeno 99832879ed Add missing files 2018-10-04 14:08:52 +02:00
Sébastien Loriot b0b80148ea remove deprecated file 2018-08-21 14:03:11 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau 2766e1ff5d Merge 'master' and fix conflicts 2018-05-28 16:40:09 +02:00
Andreas Fabri 6e828da0e9 Move stuff to CGAL/boost/parameter 2018-05-23 11:48:59 +02:00
Andreas Fabri f6cd1e0bcf Factorize boost parameters in the file CGAL/boost/parameter.h 2018-05-23 11:48:59 +02:00
Andreas Fabri f76575b587 To import the internal namespace parameters is a mistake 2018-05-23 11:48:59 +02:00
Laurent Rineau ae0b45b79f Fix a compilation bug if Mesh_3 and Mesh_2 are both used
The conflict is withing the Boost parameters defined for Lloyd 2D and
Lloyd 3D.
2018-05-15 15:13:05 +02:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Andreas Fabri 4ef0bdbcb6 Suppress this warning not globally in disable_warnings.h 2018-01-24 14:21:16 +00:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Andreas Fabri fb51a69c7c Mesh_2 2018-01-17 16:50:21 +00:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Laurent Rineau 5181cd7474 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch
# Conflicts:
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2017-12-19 16:19:22 +01:00
Jane Tournois c55d75ede8 sq_circumradius cannot be computed on an infinite facet
there was no need to check if a face is in domain, but we still need to check
whether it is infinite
2017-12-15 10:24:11 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Jane Tournois e888bd46c1 the convergence criterion does not need to check "is_in_domain" for incident faces
anyway we do not compute the criterion for constrained vertices, nor for non-moving vertices
2017-11-13 15:31:36 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot a05b134a6b add SPDX identifier for files under the boost license 2017-11-12 10:17:50 +01:00
Laurent Rineau 488c3e2879 Merge pull request #2462 from sloriot/CGAL-fix_warnings_g++7
Fix some warnings
2017-10-13 17:04:02 +02:00
Laurent Rineau 00d444e84c Merge pull request #2462 from sloriot/CGAL-fix_warnings_g++7
Fix some warnings
2017-10-13 16:54:52 +02:00
Laurent Rineau c9cc90e630 Merge pull request #2467 from lrineau/Mesh_2-fix_clusters-GF
Mesh 2: fix clusters (issue #2456)
2017-10-11 19:14:33 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Laurent Rineau 81662e0c00 More Mesh_2 debug, for clusters 2017-09-26 15:13:53 +02:00
Laurent Rineau a2dd20af02 Bug fix
Fix #2456

When two clusters share a subsegment, the subsegment is split at its
middle, instead of using the length imposed by the clusters. If the
clusters were partially refined before that subsegment is split, one
must reset the clusters, because the minimal length may have changed.
2017-09-26 15:13:53 +02:00
Sébastien Loriot c3e7ade8b4 fix warnings 2017-09-25 09:09:54 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00