Commit Graph

266 Commits

Author SHA1 Message Date
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
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
Laurent Rineau 2378e3ebfc Add missing #include <set> 2010-01-13 22:32:38 +00:00
Laurent Rineau 570ede6437 Fix the name of the header protection macro. 2009-08-27 14:13:55 +00:00
Laurent Saboret a332a2dc4e Partially fixed the global orientation of the output mesh:
Complex_2_in_triangulation_3_polyhedron_builder used to orient coherently the facets but not globally: the mesh was randomly oriented towards inside or outside.
This fix orients the facet with max z towards +Z axis, in order to orient the mesh towards outside.
This is a naive algorithm but is works most of the time.
2009-08-03 10:57:57 +00:00
Laurent Saboret 1f05a2989a Moved output_surface_facets_to_polyhedron() from Surface_reconstruction_points_3 to Surface_mesher 2009-06-29 13:31:24 +00:00
Laurent Rineau a80352f38c Make Surface_mesher crash when a looping condition is detected, instead of
just displaying a warning (with the loop, the warning is a DoS on the CGAL
testsuite).
2009-05-05 14:10:13 +00:00
Laurent Saboret 1ee7c2d2ff Port to Linux/g++ 4.3 2009-04-14 15:24:57 +00:00
Laurent Saboret 005aefcf8a Fixed compilation error in class Complex_2_in_triangulation_3_polyhedron_builder 2009-04-10 09:14:14 +00:00
Sylvain Pion 55b427d531 lenght -> length 2009-04-07 19:30:59 +00:00
Laurent Rineau dff123ffcb Minor edit: comments, and update of the copyright. 2009-02-27 14:00:51 +00:00
Laurent Rineau fb51f5046d Had a forgotten #include 2009-02-27 14:00:22 +00:00
Laurent Rineau 1183905c3d Add the following function, which is documented:
Face_status face_status (const Cell_handle c, const int i, const int j) const
2009-02-07 13:30:04 +00:00
Laurent Rineau 1c91006892 More profiling instructions (beurk!) 2009-01-26 15:22:57 +00:00
Laurent Rineau f709e20493 - Add two header <CGAL/Surface_mesher/Profile_timer.h> and
<CGAL/Surface_mesher/Profile_counter.h> that wrap the one in CGAL/.
- Add profilers to several parts of Surface_mesher code.
2009-01-23 15:01:25 +00:00
Laurent Rineau b0cc8d2337 Remove check_restricted_delaunay, and assertions using it: that check is not robust, and is pretty useless now. 2009-01-23 13:49:56 +00:00
Laurent Rineau 38abf96ec8 Fix is_in_volume for images.
Note: That should impact only Mesh_3, which is not in CGAL-3.4-I.
2008-12-03 17:23:34 +00:00