Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Laurent Rineau
182239d6b6
Merge branch 'master' into CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF
2018-03-06 16:49:30 +01:00
Andreas Fabri
f7ba8ff4df
Fix Box_intersection_d, Minkowski_sum_2, Nef_3, Surface_mesh, Straight_skeleton, Triangulation_3
2018-02-23 11:35:58 +00:00
Sébastien Loriot
483f69728e
Refresh branch
2018-02-12 22:21:38 +01:00
Laurent Rineau
204033d78a
Merge pull request #2777 from MaelRL/IO-Fix_dxf_reader-GF
...
Circular_kernel_2: Fix the circle reading in the `.dxf ` file reader
2018-02-02 16:07:44 +01:00
Mael Rouxel-Labbé
558465d2a6
Fixed dxf circle reader (in .dxf, the radius is not squared)
...
Removed dead link
2018-02-01 12:27:43 +01:00
Andreas Fabri
599e2019df
SLS
2018-01-18 14:08:08 +00:00
Sébastien Loriot
ff26773f7b
remove include directive for checking GPL compliance in LGPL headers
2017-11-12 10:21:35 +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
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
2b35bddfb2
Replace all std::binary_function by CGAL::binary_function
2017-10-04 16:36:32 +02:00
Maxime Gimeno
96f7b0f138
Fix catch value warnings
2017-07-21 11:27:14 +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
Laurent Rineau
51f5697d3d
Add missing #include
2016-09-30 15:23:14 +02:00
Andreas Fabri
fa353f59e7
Fix package Straight_skeleton_2: include headers
2016-09-30 15:22:28 +02:00
Laurent Rineau
844d824f89
Fix a warning, with recent clang
...
The warning was:
```
/mnt/testsuite/include/CGAL/Straight_skeleton_converter_2.h:177:10: warning: variable 'hit' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
++ hit ;
^
```
2016-06-13 12:53:27 +02:00
Sébastien Loriot
83f10ef30c
fix for boost 1.60
2016-01-26 18:56:49 +01:00
Andreas Fabri
311d4d9120
fix order of template arguments, and document parameter C
2015-09-03 14:31:26 +02:00
Andreas Fabri
a4351336d2
integrate Laurent's comments
2015-08-28 15:09:37 +02:00
Andreas Fabri
86dd2f7111
VC2015 needs the container template argument for Polygon_2 and Polygon_with_holes
2015-08-28 14:36:37 +02:00
Laurent Rineau
e965b6293e
Fix compilation errors with C++11 and Boost-1.56
...
Use *explicit* conversions to `bool`, for boost::shared_ptr and
boost::optional.
2015-01-14 14:47:29 +01:00
Andreas Fabri
f9d5c8c274
clang warns about boost::shared_ptr<> == NULL
2014-07-03 14:33:56 +02:00
Andreas Fabri
fca86f8bea
another shared_ptr to fix
2013-09-27 06:36:04 +02:00
Andreas Fabri
f906a5934f
fix the same problem for shared_ptr
2013-09-26 14:54:04 +02:00
Andreas Fabri
e96dd75d15
fix for clang: assertions do not work on intrusive_ptr
2013-09-25 13:02:28 +02:00
Sébastien Loriot
62f7e53b13
make Construct_offset_point public
...
add a benchmark file using it to avoid building the complete exterior skeleton.
2013-03-29 11:23:33 +01:00
Sébastien Loriot
1830251e10
add missing include
2013-03-21 10:53:07 +01:00
Andreas Fabri
0a42dc95ca
turn a static function into an inlined one
2013-03-05 11:04:54 +01:00
Andreas Fabri
c9e15507a5
remove unused variable
2013-02-27 14:01:18 +01:00
Andreas Fabri
813b5df1f5
Comment an unused file static function
2013-02-27 13:59:15 +01:00
Sébastien Loriot
82b2ebc865
apply the cpp0x namespace renaming in all files
2012-12-19 11:33:17 +01:00
Sébastien Loriot
9f08f92ee9
BUGFIX in offset computation
...
while computing the offset of a polygon, it might happen that a candidate polygonal
component is discarded (if it's not a valid polygon but a polyline for example).
In that case, some halfedges are marked as visited, but among them some could be
needed by another component. In this patch, we collect all halfedges marked as visited
and unmark them in case the polygon is incomplete.
The test added was not correctly working before the patch.
2012-10-03 08:33:54 +00:00
Laurent Rineau
db194534c7
First big patch to fix -Wunused-local-typedefs
...
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot
147ca74939
add precondition to ensure the polygon is simple
2012-04-18 12:37:23 +00:00
Laurent Rineau
f4a19f0a0b
Remove unused variables
2012-01-23 08:03:33 +00:00
Andreas Fabri
98e48ff177
Fix for Windows 'min/max' bug
2012-01-18 12:03:01 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Philipp Möller
8eb30ef805
Replaced all uses of predecessor/successor with prev/next.
2011-06-07 16:21:58 +00:00
Sébastien Loriot
8ce2048aea
add #include<CGAL/config.h> before any directive CGAL_USE_*
2011-03-02 18:52:57 +00:00
Sébastien Loriot
e5a96255ba
*remove warnings.
...
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings.
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Laurent Rineau
2e171a51ab
Remove extra ';'
2010-12-21 10:05:03 +00:00
Laurent Rineau
a48bfdc0f5
Fix a forward declaration. It seems Andreas added in trunk a forward
...
declaration for a function that exists only in the code of the weighted
straight skeleton. Compilers were confused by it.
2010-12-20 10:32:53 +00:00
Laurent Rineau
fdfa1a3077
Typo in a comment (could break the use of sed scripts to one day).
2010-12-20 10:17:18 +00:00
Andreas Fabri
efee20b566
Add forward declaration
2010-12-12 20:30:46 +00:00
Laurent Rineau
7fea74cad6
Replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE in Straight_skeleton_2
...
(that had been reverted a few months ago, after the massive changes of all
CGAL_BEGIN_NAMESPACE in the CGAL repository).
2010-11-23 11:20:03 +00:00
Andreas Fabri
0cffef2237
Add missing #include
2010-11-22 08:31:43 +00:00
Andreas Fabri
ac7cb03aa6
rR in the if block shadowed rR in the outer block
2010-11-22 08:28:18 +00:00
Andreas Fabri
6b61b50b4b
Remove extra ';'
2010-11-22 08:09:25 +00:00
Marc Glisse
f806191a0e
If this breaks anything, introduce a CGAL_CFG_ macro.
...
Note: the revert on this package reverted a number of things that should be reapplied.
2010-11-11 15:23:35 +00:00