Commit Graph

282 Commits

Author SHA1 Message Date
Sebastien Loriot 4e9448cb9e Merge pull request #451 from GilesBathgate/throwing-destructors
Introduces a CGAL_destructor_assertion macro.
2016-01-14 14:08:10 +01:00
Giles Bathgate f0ac236713 Introduces a GCAL_NO_ASSERTIONS_BOOL macro
This macro is always defined. Its value will be true when assertions are defined
and false when assertions are not defined. This macro can then be used in place
of a true false constant, such as is needed for CGAL_NOEXCEPT.
2016-01-08 20:31:59 +00:00
Giles Bathgate f6dfeba815 Use CGAL_NO_ASSERTIONS with the CGAL_NOEXCEPT macro.
This avoids penalizing release builds in which assertions are not
made within the destructors, and so no exception can be thrown.
2015-12-19 15:47:16 +00: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
Giles Bathgate 3a725499ad Introduces CGAL_NOEXCEPT macro.
This macro is available for future compatibility with c++11, which
by default marks destructors noexcept(true). Some destructors
in CGAL do throw exceptions an so should be marked noexcept(false).
Since noexcept is not available in c++0x and below the macro is
disabled when CGAL_CXX11 is not defined since it is not required.
2015-11-23 16:47:59 +00:00
Giles Bathgate 9645135ff5 Introduces a CGAL_destructor_assertion macro.
This macro can safely be called from a destructor, even when
the stack is currently unwinding, and thus prevents uncatchable
exceptions.
2015-11-23 16:47:59 +00:00
Jane Tournois e4c5546996 fix unreferenced variable warning 2015-10-09 16:12:54 +02:00
mpkh f130b2183a Add missing std headers 2015-08-17 12:26:34 +04:00
Andreas Fabri 20c1b1a1f6 Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
Conflicts:
	BGL/include/CGAL/boost/graph/Euler_operations.h
	BGL/include/CGAL/boost/graph/iterator.h
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/doc/Documentation/dependencies
	Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Philipp Möller baac7e673a Instead of a BOOST_STATIC_WARNING use a deprecated attribute 2015-04-13 16:58:00 +02:00
Sébastien Loriot b9f9c95623 move header to proper package 2015-01-06 14:18:59 +01:00
Laurent Rineau ba51958a35 Remove a warning in Surface_mesher 2014-11-28 12:14:25 +01:00
Jane Tournois 6b9018d515 avoid using deprecated header Triangulation_cell_base_with_circumcenter_3
this fixes warnings everywhere in Surface_mesher
2014-04-15 17:42:46 +02:00
Andreas Fabri 19c83c644f Add #ifdefs for VTK, and add #includes 2013-09-16 18:39:48 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Laurent Rineau 56794b87c2 "Working" progress
Will be reset with a forced push.

The new commit protects the debug code with
the macro CGAL_MESHES_DEBUG_REFINEMENT_POINTS.
2013-07-04 17:07:52 +02:00
Andreas Fabri 0f09c30b9b Cleanup: remove unused buggy code 2013-02-27 14:24:43 +01:00
Laurent Rineau e87dad0f95 Fix all warnings in demo/Polyhedron/
The compilation was fix g++-4.8, and the flags:
  --std=c++11 -frounding-math Wall -Wno-array-bounds -Wno-uninitialized
2013-02-06 17:03:20 +01:00
Andreas Fabri 7a17cc98a4 deal with Polynomial (only partially), Subdivision_method, Surface_mesher, Surface_reconstruction 2013-01-31 09:18:28 +01:00
Sébastien Loriot e717523d61 merge from next 2012-11-02 10:53:43 +00:00
Sébastien Loriot 76417d597d reintegrate feature branch Surface_mesher-c2t3_to_polyhedron_bug_fix-sloriot
avoid having dangling vertices in the conversion from c2t3 to polyhedron
2012-08-14 10:29:58 +00:00
Sébastien Loriot 3161033659 revert commit 71198 (forgot reintegrate option during the merge) 2012-08-14 10:27:13 +00:00
Sébastien Loriot 62476a477e avoid having extra vertices in the conversion from c2t3 to polyhedron
add a vertex to the polyhedron when a faces using it is added.
2012-08-13 12:36:09 +00:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +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
Andreas Fabri 3367cc5450 merged from next 2012-05-01 13:18:18 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Laurent Rineau 9e007605eb Remove warning: unused variable 2012-01-23 07:40:54 +00:00
Laurent Rineau 902a51c9f2 Fix missing copyright and/or license notice 2012-01-19 16:51:59 +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
Andreas Fabri 33299988a1 Make the Surface_mesh_default_triangulation_3_generator a template class 2011-09-27 11:50:08 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11: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
Andreas Fabri 44c071cddf Unify struct/class 2010-11-18 08:06:16 +00:00
Andreas Fabri 7eee096335 Remove unused variable 2010-11-18 08:03:32 +00:00
Laurent Rineau 987ed27b16 Fix parenthesis (bad use of operator precedence).
One of those I-dont-understand-how-it-could-work bug!
2010-11-12 10:50:39 +00:00
Andreas Fabri 2896a2895d Remove unused variable 2010-11-12 09:13:01 +00:00
Laurent Rineau 5a91202b3c Oops! I used operator^ where I should have used operator& !! 2010-10-06 09:48:48 +00:00
Andreas Fabri aeb92187d9 Change template parameter name 2010-09-27 13:26:53 +00:00
Sébastien Loriot b429f3c539 add default constructor and a const for swig wrapping 2010-09-02 06:27:17 +00:00
Sébastien Loriot a40ad96c88 add documented but missing function 2010-09-01 12:24:55 +00:00
Sébastien Loriot e2a3098bb4 add documented but missing functions 2010-09-01 11:30:21 +00:00
Sébastien Loriot 5471e90cd1 s/succesful/successful 2010-08-12 08:30:26 +00:00
Laurent Rineau a13cf08d5b #warning is not correct C++. 2010-06-24 16:08:07 +00:00
Andreas Fabri 6e5a6f74b6 static_cast 2010-06-23 14:20:14 +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
Andreas Fabri 48bb6afcf6 Remove extra ';' 2010-05-17 14:19:22 +00:00
Andreas Fabri 629bf20530 Remove ';' 2010-05-14 10:03:19 +00:00