Commit Graph

74 Commits

Author SHA1 Message Date
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
Sébastien Loriot 83f10ef30c fix for boost 1.60 2016-01-26 18:56:49 +01: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 e96dd75d15 fix for clang: assertions do not work on intrusive_ptr 2013-09-25 13:02:28 +02: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 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 f4a19f0a0b Remove unused variables 2012-01-23 08:03:33 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +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 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
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
Fernando Cacciola 789bb0d83d Fixed UB 2010-10-12 15:57:07 +00:00
Fernando Cacciola 72ed56006a Reverting to release 3.6 2010-08-19 05:06:11 +00:00
Fernando Cacciola 412b3fb135 Fixed location of helper function to draw unbounded bisectors 2010-08-05 21:53:30 +00:00
Fernando Cacciola 8de4373414 Fixed drawing helpers for unbounded bisectors (to consider weights as well) 2010-07-30 18:14:03 +00:00
Sébastien Loriot 4030bc9fa9 typo 2010-07-28 07:14:09 +00:00
Fernando Cacciola c4ef2c709e Added drawing helpers for unbounded bisectors 2010-07-27 15:51:36 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Fernando Cacciola 7196d6ce51 Shut warning 2010-05-06 02:51:10 +00:00
Fernando Cacciola 91c0cb5e76 Fixed weights handling 2010-04-15 22:17:21 +00:00
Fernando Cacciola 3dd317796d Fixed warnings 2010-03-01 13:44:00 +00:00
Fernando Cacciola fef1031474 Working test suite 2010-02-02 17:57:16 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Fernando Cacciola c9c10cdb3c SS weighted version 2010-01-17 15:13:08 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Fernando Cacciola d07ab269c6 Robust skeleton node construction fixes 2009-07-24 17:20:12 +00:00
Sylvain Pion a8e8ecfdcf Replace Interval_nt_advanced::unsafe_comparison by Uncertain_conversion_exception.
(it was alrady the same type, but now the filtering code can be independent on Interval_nt_advanced
(think other interval types, or other types of filters).
2008-07-31 13:31:26 +00:00
Sylvain Pion 97929b6bd2 Replace is_indeterminate() by !is_certain() 2008-07-30 12:40:57 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion 9d7a609ff2 Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Sylvain Pion 2b4ebf01f7 Undo r44002 as it's buggy 2008-07-06 20:47:29 +00:00
Sylvain Pion 514a17ad4f Improve the interaction of assertions and interval computations.
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
  ((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
  (CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Sylvain Pion 7dfd4237cc Rename SS and CS to avoid name clashes with macros on x86/solaris (/usr/include/sys/regset.h). 2008-06-15 16:21:29 +00:00
Fernando Cacciola a07d5da761 Fixed partial-skeleton-related bug detected by test-suite.
Removed unused variabe warning
2008-05-08 16:18:58 +00:00
Fernando Cacciola d12124c350 Partial skeletons for faster offsetting 2008-04-28 17:03:23 +00:00
Fernando Cacciola 64bcb5a240 svn properties fixed 2008-01-14 13:44:13 +00:00
Sylvain Pion d49e006c53 Remove default argument "0" to calls to assertion_fail() et al,
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what():  basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Fernando Cacciola 6187ff621b Simplified API and polygon offset arrangement 2007-11-23 22:35:44 +00:00
Fernando Cacciola 34166f5342 Simplified API added 2007-11-21 15:55:09 +00:00
Fernando Cacciola bcf644e5bf Skeleton converted added and documentation/examples updated 2007-11-19 16:33:25 +00:00
Fernando Cacciola 2409987df8 Skeleton Converter added 2007-11-19 12:57:13 +00:00
Fernando Cacciola dc66f9363d Added missing files 2007-09-18 12:41:17 +00:00
Fernando Cacciola 60cc71c58a Bug fixes 2007-09-10 14:07:00 +00:00