Commit Graph

218 Commits

Author SHA1 Message Date
Andreas Fabri 99b4e2f150 more CGAL_USE and some reindentations 2016-01-21 10:22:20 +01:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Jane Tournois 629983854e attempt to fix the use of "inline"
the warning C4396 happens for these functions on msvc2015

----------------------------------------------
Compiler Warning (level 2) C4396
Visual Studio 2008
"name" : the inline specifier cannot be used when a friend declaration refers to a specialization of a function template

A specialization of a function template cannot specify any of the inline specifiers. The compiler issues warning C4396 and ignores the inline specifier.
To correct this error
    Remove the inline, __inline, or __forceinline specifier from the friend function declaration.
----------------------------------------------
2015-08-11 17:14:46 +02:00
Guillaume Damiand 2f52912a79 One more file (NefPolynomial.cpp). 2014-11-02 17:53:02 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Sébastien Loriot 28fe5170c5 add missing include 2014-06-30 15:54:04 +02:00
Sébastien Loriot 990336b1e5 rename macro 2014-06-30 11:06:30 +02:00
Sébastien Loriot 0230e979e2 Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
Conflicts:
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
	Documentation/doc/Installation.txt
	Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot 332e8a634d add documented types in the code 2013-07-25 17:41:20 +02:00
Andreas Fabri 4b91ac49af also test leda if it is available 2013-03-23 08:03:32 +01:00
Andreas Fabri 5ea77276c6 disable warning decorated name length exceeded, name was truncated 2013-03-01 16:50:53 +01:00
Andreas Fabri e44de39ada switch from int to bool to avoid a performance warning 2013-02-08 18:16:53 +01:00
Andreas Fabri 2ea8fab6eb change return type from int to bool 2013-02-07 20:29:27 +01:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Sébastien Loriot 4ec9529581 Merge branch 'doxy-port-pmoeller'
Conflicts:
	.gitattributes
	Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
	Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
	Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Philipp Möller 09e65b9c40 Drop the include guard and remove assert_equal_types
The include guard is unnecessary (tags.h is part of basic and no one
else defines it anymore) and it shouldn't be used anyway.

assert_equal_types doesn't do it's job completely and it's usage in
Nef_2 has been replaced.
2012-11-17 01:56:05 +01:00
Sébastien Loriot 128b02abb8 update CGAL custom doxygen macros
corresponds to a run of the script Documentation/conversion_tools/rename_macros.sh
+manual edit of doxyassist.xml and pkglist_filter.py
2012-11-14 00:31:05 +01: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
Sébastien Loriot a0588f219f typos 2012-06-15 09:55:26 +00:00
Sébastien Loriot 24070082f6 *deprecate the use of geninfo
*naive replacement of void* and geninfo by boost::any.
*old code can be used if CGAL_I_DO_WANT_TO_USE_GENINFO is defined
*info was printed, I simply ignored that for boost::any 
 (it probably made sense why the old implementation of geninfo that was using placement new to write
  inside the void*)
*some sizeof(void*) was used in SNC_structure.h for printing the size of something.
 I guessed this was related to the void* used as info. I left that code untouched.
*testsuite is OK on my machine except Nef_3/example/Nef_3/polygon_construction which also
 does not work with next on my machine
2012-04-17 18:18:09 +00:00
Philipp Möller 0c5b3fcf85 WARNINGFIX: Nef_2 is no longer triggering a "suggest parenthesis" 2012-04-16 16:21:21 +00:00
Laurent Rineau 6824cd0605 Remove an unused variable 2012-01-31 15:11:10 +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 cbfe32ce37 Add declspecs for Visual C++ so that we can build dlls 2011-10-05 19:12:23 +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 0d4dba11fa temporary fix of geninfo that avoid an aliasing problem. The solution chosen is probably slower but safe.
Will for a better fix after the release.
2011-02-25 16:24:10 +00:00
Sébastien Loriot a155b2c4da remove warnings 2011-02-25 15:16:21 +00:00
Andreas Fabri ddb18cceb2 Add parenthesis to quiet vlang and increase code readability 2010-12-07 10:18:51 +00:00
Andreas Fabri 087b2d2ce0 Add parenthesis to quit down clang and have more readable code 2010-12-06 14:58:54 +00:00
Andreas Fabri c6f3973dd6 Add missing #include 2010-09-08 06:03:52 +00:00
Andreas Fabri b2e9dd680c Replace Random with boost 2010-09-07 12:57:15 +00:00
Laurent Rineau 35a3c17f1e Fix warnings: braces around empty body, and unused parameters. 2010-06-29 12:38:52 +00:00
Andreas Fabri 92a037a450 Some int->size_t. Perform static_cast<int> as Polynomial degree is bound by int not size_t 2010-06-22 09:38:32 +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 9db08e1461 Add using statements for ansi-compliance 2010-05-18 07:19:35 +00:00
Andreas Fabri 38530dd89d Add 'using' for ansi compliance 2010-05-17 07:11:44 +00:00
Andreas Fabri cfc38df79c Add 'using' for ansi compliance 2010-05-16 13:25:15 +00:00
Andreas Fabri a40ea9d137 Add using statements for ansi-compliance 2010-05-13 15:19:34 +00:00
Andreas Fabri 6f7944174d Add 'using' for ansi compliance 2010-05-11 12:05:22 +00:00
Andreas Fabri 13f152b974 Remove unused and unconstructible default constructor 2010-05-10 10:16:44 +00:00
Michael Hemmer 1a3efc713a fix include guard 2010-04-20 07:45:54 +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
Michael Hemmer 2561a432dd avoid clash of CGAL::min/max with std::min/max
e.g. boost does: "unsing std::min" plus an unqualified call of min
2009-04-29 13:57:45 +00:00
Sylvain Pion 6cc542446d Fix some typos in the protect macro names.
Use a form "#ifndef" more consistently.

The idea is to automatize most of the verification of the consistency
in the names used in the #ifndef and the following #define using a simple :

grep -r -m 1 '#ifndef' */include/CGAL  | grep CGAL_ | cut -d' ' -f2 | sort > ifndef.macros
grep -r -m 1 '#define' */include/CGAL  | grep CGAL_ | cut -d' ' -f2 | sort > define.macros
diff ifndef.macros define.macros
2009-04-08 11:54:51 +00:00
Michael Hemmer 28575ad723 rename Real_embeddable_traits::Sign -> Sgn 2008-09-18 16:32:35 +00:00
Sylvain Pion 6aba449434 Replace Nef's custom Object_handle by CGAL::Object.
There were some differences :
- CGAL::Object has no template constructor, so using make_object() was required.
- CGAL::Object had no comparison with NULL to check emptyness.  I added
  such comparison operators to CGAL::Object as *deprecated*.
2008-09-09 16:03:25 +00:00
Sylvain Pion aff1bf74aa Replace CGAL::Interval_nt<>::number_of_failures() by a CGAL_PROFILER() counter. 2008-08-06 13:16:04 +00:00
Michael Hemmer 182c550580 warp up RealEbeddable_traits, i.e., mv RET_base into internal namespace 2008-08-05 13:42:15 +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
Michael Hoffmann 66620b881b Remove dependency on CGAL/functional -> replace Unary_function
and Binary_function by std:: counterparts.
2008-07-23 15:11:07 +00:00
Sylvain Pion eff6efd3af CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Peter Hachenberger 2294e0452c explicit declaration of tye slist_item 2008-06-27 10:02:41 +00:00
Peter Hachenberger 3583da31c8 added number type conversion 2008-06-27 10:01:55 +00:00
Peter Hachenberger 6a2e438f33 added Kernel_tag 2008-06-27 10:00:36 +00:00
Andreas Fabri 75dd77e648 Make operator() const 2008-01-21 08:10:50 +00:00
Sylvain Pion 4d1b8d63e3 Remove workarounds and support for the BORLAND compiler. 2008-01-20 20:24:20 +00:00
Sylvain Pion f24caaf675 Use CGAL_assertion() instead of assert(). 2008-01-20 18:27:11 +00:00
Peter Hachenberger d758b282ce forgot to adapt is_plane() to Bounded_kernel 2008-01-17 17:53:00 +00:00
Peter Hachenberger 45cbea353a removed experimental old code 2008-01-15 16:59:14 +00:00
Sylvain Pion 29cf96f6c2 Add missing CGAL_ prefix to protect macros 2008-01-14 23:08:43 +00:00
Sylvain Pion f166d60a73 Add missing CGAL_ prefix to protect macros 2008-01-14 23:06:54 +00:00
Sylvain Pion 9d4a1851f1 Remove buggy bitrotting copy of HDS/include/CGAL/HalfedgeDS_items_decorator.h . 2008-01-14 22:54:43 +00:00
Sylvain Pion aad4ee729e Fix protect macro name 2008-01-12 21:08:22 +00:00
Sylvain Pion a3ee71d44f Get rid of obsolete Window_stream (LEDA window) code. 2008-01-10 18:10:23 +00:00
Peter Hachenberger 5415379102 two bugs fixed: y2x must be reset 2008-01-10 11:04:39 +00:00
Peter Hachenberger 2cfca8e125 also solved X-structure by Multiset 2008-01-04 16:09:28 +00:00
Peter Hachenberger 0ec0010667 new stl traits for overlay using red-black tree 2008-01-03 14:46:18 +00:00
Andreas Meyer 0f941fbcf2 again CGAL_error -> CGAL_error_msg 2007-11-09 15:27:44 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sylvain Pion 76408cc24f Remove obsolete config flag CGAL_CFG_USING_BASE_MEMBER_BUG_3. 2007-08-09 09:48:44 +00:00
Sylvain Pion f2a1b260a4 Remove obsolete config flags
CGAL_CFG_OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG and
CGAL_CFG_OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG_2.
2007-08-08 14:50:01 +00:00
Peter Hachenberger 03862d852b removed assignment of singular iterator 2007-03-26 16:05:24 +00:00
Andreas Fabri f0befd4fa4 removed unused parameters 2007-03-19 08:25:43 +00:00
Andreas Fabri 6b88613dbf Suppress performanece warning for std::set 2007-03-15 09:34:54 +00:00
Michael Hemmer 854ea80b4b rm use of CGALi::Is_field etc
replaced by use of Algebraic_category tag
2007-03-12 17:34:47 +00:00
Sylvain Pion 5a33dde0e1 Replace the 7 Galia partners copyright holders by only MPI.
(it's not because it's LGPL that it's owned by the old partners)
2007-03-07 12:04:40 +00:00
Sylvain Pion 561c48eb99 Add missing parenthesis... (warnings *must* be investigated 2007-03-05 16:49:11 +00:00
Sylvain Pion 0138de7196 Add braces to remove warning 2007-02-13 13:52:32 +00:00
Fernando Cacciola c479389a02 VC8 STL iterator fixes 2007-01-18 14:07:04 +00:00
Peter Hachenberger e1c0a3b244 previous change must also be applied in function simplify() 2007-01-15 17:51:17 +00:00
Peter Hachenberger f3699526e1 in the creation of face cyles we have to watch cycles that visit its smallest vertex twice.
Then the right turn is to choose.
2007-01-09 20:26:10 +00:00
Peter Hachenberger d37cf16eb1 problems with the combination bounded_kernel and
one-dimensional facet cycles fixed
2006-12-21 16:23:47 +00:00
Michael Hemmer 40d093a602 added tag Is_numerical_sensitive in Algebraic_structure_traits 2006-12-17 13:18:12 +00:00
Michael Hemmer 5c9ff921c1 rename:
AST::Algebraic_structure -> AST::Type
RET::Real_embeddable     -> RET::Type
2006-11-24 11:10:43 +00:00
Michael Hemmer 07088d2e6e rm include of Number_type_traits.h 2006-11-16 09:17:17 +00:00
Michael Hemmer 81036829a6 rm package NefPolynomial
moved Polynomial back to package Nef_2
2006-11-15 14:32:34 +00:00
Michael Hemmer 1a007d9aa4 mv class Nef::Polynomial back into package Nef_2 2006-11-15 11:28:16 +00:00
Andreas Fabri a1e368a245 Reduce number of orientation tests 2006-11-15 09:40:37 +00:00
Andreas Fabri dacfb336aa improve layout 2006-11-15 08:27:58 +00:00
Michael Hemmer 838d4e6e78 added new NTS support Algebraic_structure_traits / Real_embeddable_traits
rm obsolte global functions 
TODO: may add Integral_division to get Nef_polynomial a model of  UniqueFactorizationDomain
2006-10-28 14:49:53 +00:00
Michael Hemmer 927d6c7ec8 mv CGAL/Nef_2/Nef_polynomial.h to CGAL/Nef_polynomial.h
since it is in namespace CGAL only
2006-10-28 13:33:59 +00:00
Michael Hemmer 2bfba63cff mv back to package Nef_2 2006-10-28 13:16:54 +00:00
Andreas Fabri 0d0343790c suppress VC++ warning after the includes 2006-09-14 08:14:32 +00:00
Andreas Fabri ec60c4f0cc suppress VC++ warning 2006-09-14 08:06:03 +00:00
Andreas Fabri 07986b2fc5 fixed min/max problem 2006-08-17 09:11:49 +00:00
Andreas Meyer 68c3715b5c support for LEDA 5.x (mostly done by Eric Berberich) 2006-08-10 15:14:32 +00:00
Andreas Fabri 48a18de4c1 fix min/max problem 2006-08-03 03:39:32 +00:00
Andreas Fabri 8ef99a91c2 Polynomial is now in the subnamespace Nef 2006-07-13 13:00:08 +00:00
Laurent Saboret 312353dd51 Global fix of svn:executable property in trunk 2006-04-14 15:07:17 +00:00
Andreas Fabri be0fceee50 a tentative to trick the g++/darwin/powerpc 2006-03-20 16:21:13 +00:00
Peter Hachenberger cf14aa4cf6 added virtual destructor to client_base 2006-03-16 14:02:34 +00:00
Peter Hachenberger 6e10c0c89a - small bug fix in locate()
- is_empty() adapted for bounded kernel
2006-02-28 19:56:14 +00:00
Peter Hachenberger bd152d8b24 now PM_point_locator is compilable with extended
and bounded kernels
2006-02-28 19:50:17 +00:00
Andreas Fabri bf97502d9e Added using statements in Bounding_box_2.h 2006-02-27 12:51:55 +00:00
Andreas Fabri c2c883cc53 Added a Base::using in PM_point_locator.h 2006-02-27 12:45:26 +00:00
Andreas Fabri b4cd6cef42 Added license header 2006-02-23 13:21:49 +00:00
Marc Glisse 13380ebe5e Add some missing std:: and #include <c*> 2006-02-22 15:22:27 +00:00
Laurent Saboret 77340051f5 Change CVS keywords to SVN style 2006-02-17 16:03:17 +00:00
Peter Hachenberger 470069c53c QPL => LGPL 2006-02-16 15:53:42 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Peter Hachenberger 57c6af6576 class helps to perform ray shooting and
point location without
infimaximal box. It computes a bouding box
around the polyhedron to find the end
of a ray shot.
2006-02-16 14:12:09 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 77f1d7f08c Move packages to trunk root 2006-02-14 08:58:17 +00:00