Simon Giraudot
6269309d86
Use CGAL include for boost counting/transform iterators everywhere
2018-01-23 11:09:52 +01: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
Sébastien Loriot
19ab4c1907
fix non utf-8 character
2017-01-19 15:20:24 +01:00
Andreas Fabri
f9ada57886
Mesh_2: Initialize to avoid warning
2016-11-14 09:14:30 +01:00
Laurent Rineau
3f052834bd
Split Mesh_2
...
There is a new `Mesher_level` package, that gathers the foundation
files (mesher levels and auxiliary files) for `Mesh_2`,
`Surface_mesher`, and `Mesh_3`.
2016-09-30 15:23:16 +02:00
Laurent Rineau
51f5697d3d
Add missing #include
2016-09-30 15:23:14 +02:00
Laurent Rineau
a59084cc79
Fix missing includes
2016-09-30 15:22:26 +02:00
Andreas Fabri
aff5dbc5c9
check for boost version < 1.60
2016-02-15 19:15:06 +01:00
Simon Giraudot
6607436610
Move #pragma at beginning/end of document
2016-02-05 15:32:19 +01:00
Andreas Fabri
c473841ad2
suppress a warning
2016-02-05 14:59:10 +01:00
Sébastien Loriot
443b8cc2d7
precompute area functor
2016-02-01 10:23:29 +01:00
Sébastien Loriot
72c8aa7b05
make 2D-lloyd working with the projection traits
2016-01-29 15:16:51 +01:00
Laurent Rineau
e0f8f4f85f
Refresh the branch Mesh_3-manifold_criterion-lrineau
...
For the moment, the manifold feature is no longer working.
Merge remote-tracking branch 'cgal-dev/Mesh_3-manifold_criterion-lrineau' into Mesh_3-manifold_criterion-lrineau
Conflicts:
Mesh_3/include/CGAL/Mesh_3/Mesh_complex_3_in_triangulation_3_base.h
Mesh_3/include/CGAL/Mesh_3/Mesher_3.h
Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h
Polyhedron/demo/Polyhedron/Polyhedron_3.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp
2015-12-18 14:55:20 +01:00
Andreas Fabri
0e59c3488a
12 -> 8
2015-12-07 17:36:11 +01:00
Andreas Fabri
dd17f1ad5d
Set BOOST_PARAMETER_MAX_ARITY to the needed value in the concerned packages
2015-12-01 17:05:53 +01:00
Andreas Fabri
2ce8b07ec0
Define BOOST_PARAMETER_MAX_ARITY in <CGAL/config.h>
...
This macro has to be larger than the default value
and it must be set before including <boost/parameter.hpp>
Instead of setting it to 12 in the packages that
need it, we do this in <CGAL/config.h> and produce
an error if a user has set it to a value < 12
2015-11-16 11:21:31 +01:00
Jane Tournois
1de18c20a8
avoid returning a ref to temporary object
2015-06-01 14:50:51 +02:00
Jane Tournois
81d77803d3
avoid storing a std::pair
...
this is an attempt to fix the compilation error in the testsuite
for clang-6.0 and cpp11
2015-06-01 14:50:40 +02:00
Jane Tournois
828eed2b24
calling a constructor from a constructor is cpp11
2015-05-19 10:01:00 +02:00
Jane Tournois
8511ff88b8
add copyright
2015-05-19 09:07:54 +02:00
Jane Tournois
13aa560db6
fix warning about variable "tr" not used
2015-05-19 09:07:54 +02:00
Jane Tournois
3f798a6542
add another pragma to ignore warning from clang
2015-05-19 09:04:28 +02:00
Jane Tournois
8e61cfdd49
new attempt to fix unused variables warning from boost with clang
...
and add namespace CGAL for Lloyd 2D parameters
2015-05-19 09:04:28 +02:00
Jane Tournois
6808066af3
fix warning from boost with gcc
2015-05-19 09:04:28 +02:00
Andreas Fabri
2cda7ff7f6
min() -> (min)()
2015-05-19 09:04:28 +02:00
Andreas Fabri
74c817fe7f
Add an include
2015-05-19 09:04:27 +02:00
Jane Tournois
0c6b51f46f
add newline at end of file
...
fix warnings
2015-05-19 09:04:27 +02:00
Jane Tournois
9322f881c5
fix unused variable, and implement barycentric coordinates on an edge
2015-05-19 09:04:27 +02:00
Jane Tournois
cc801f779f
fix unused parameter warnings
2015-05-19 09:04:26 +02:00
Jane Tournois
1517354702
fix unused variable warning
2015-05-19 09:04:26 +02:00
Jane Tournois
f8c3ef0a30
fix compilation for (max)
2015-05-19 09:04:26 +02:00
Sébastien Loriot
7cabb0c508
Merge branch 'rebase/Mesh_2-add_optimizers-GF-old' into rebase/Mesh_2-add_optimizers-GF
...
Conflicts:
GraphicsView/demo/Triangulation_2/Constrained_Delaunay_triangulation_2.cpp
GraphicsView/demo/Triangulation_2/Constrained_Delaunay_triangulation_2.ui
Triangulation_2/include/CGAL/Constrained_Delaunay_triangulation_2.h
2015-05-19 09:01:20 +02:00
Sébastien Loriot
67049fbdd4
add missing typename
2015-05-19 08:54:37 +02:00
Sébastien Loriot
f4addd127b
fix compilation issue with g++
2015-05-19 08:54:36 +02:00
Jane Tournois
83c415bca9
move Mesh_optimization_return_code from Mesh_3 to Mesh_2
...
Mesh_3 already depends on Mesh_2,
but not the other way around
2015-05-19 08:54:36 +02:00
Jane Tournois
c7138ff48d
add barycentric coordinates to compute sizing at p inside a face
...
+ add code to interpolate on finite vertices of an infinite face
they are not used by default because it's expensive, unless the macro
CGAL_MESH_2_SIZING_FIELD_USE_BARYCENTRIC_COORDINATES is defined.
Can be useful to be more precise about the sizing
2015-05-19 08:54:35 +02:00