Guillaume Damiand
14dfd95f48
Cleanup Kinetic_data_structures for header only
2015-06-09 16:24:24 +02:00
Clement Jamin
ed3113f89d
Code clean-up
2015-03-16 17:01:49 +01:00
Guillaume Damiand
9c78897ba5
Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin
2015-03-16 14:00:43 +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
Clement Jamin
ff79502a72
In a class, we should using "static" functions
2014-12-16 11:28:16 +01:00
Clement Jamin
3915c89c17
Oops, forgot to commit the *_impl.h files
2014-12-03 11:29:54 +01:00
Clement Jamin
e18e59a72a
Header-only for package Kinetic_data_structures
2014-12-02 20:41:19 +01:00
Sébastien Loriot
3cfc2e7efe
using Exact_rational instead of Gmpq
2014-06-27 15:20:48 +02:00
Sébastien Loriot
251a9d8446
fixes for tests to use leda and not gmp
2014-06-19 14:29:20 +02:00
Andreas Fabri
dd531f5068
suppress size_t->int loss of precision warning
2014-05-14 08:44:53 +02:00
Andreas Fabri
698a9de02f
_MSC_VER was still wrong
2014-05-09 08:46:53 +02:00
Andreas Fabri
ae5c56c7ce
_MSC_VER was too small
2014-05-08 13:34:43 +02:00
Andreas Fabri
e574340204
workaround for VC12
2014-05-07 14:38:45 +02:00
Andreas Fabri
d4bca9e2a4
Qiet down VC++ on a 'performance' warning
2014-05-07 14:38:44 +02:00
Andreas Fabri
7f52c63c82
Apply a bug fix proposed by Jeffrey Bush
2014-05-07 14:38:44 +02:00
Laurent Rineau
be467e7958
This operator>> is really badly written.
...
When istream::getline reaches the EOF, it sets the failbit. Then it must
be cleared, so that a successful read does not return a failed stream.
2014-01-06 15:36:57 +01:00
Andreas Fabri
5ff303803a
remove unused parameters
2013-03-12 09:55:38 +01:00
Andreas Fabri
fde05660f2
put entire loop in an #ifndef CGAL_NO_ASSERTIONS
2013-03-04 14:35:02 +01:00
Andreas Fabri
b3b1aee424
class -> struct
2013-03-04 14:28:29 +01:00
Andreas Fabri
feb7a73657
static_cast
2013-03-01 14:26:06 +01:00
Andreas Fabri
c751ac0cc0
removed unused parameter name
2013-02-28 16:44:40 +01:00
Andreas Fabri
9a17fce6b1
Remove '&' from the return type, as it would be a reference to a local variable
2013-02-28 09:46:57 +01:00
Andreas Fabri
92ebc695a2
remove unused parameter name
2013-02-28 09:46:55 +01:00
Andreas Fabri
6531c0ba44
NULL -> 0
2013-02-28 09:46:51 +01:00
Andreas Fabri
6c92f49150
add static_cast<int>
2013-02-27 13:37:00 +01:00
Laurent Rineau
d19578725b
Fix warnings
2013-02-07 18:15:23 +01:00
Eric Berberich
681f282d77
Fix by Daniel Russel to make testsuite greener
...
Raise "NUMERICAL ISSUE" instead of "WARNING". The latter made some
rows of the testsuite completely yellow. Fix has been tested locally.
2012-10-09 12:55:09 +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
Laurent Rineau
95c4307510
Fix the copyright/license header
2012-01-16 14:26:41 +00:00
Laurent Rineau
cb2d3bbd64
Disable the warning about dll-interface needed for std::ofstream members
...
of Log::State
2011-10-21 10:49:38 +00:00
Andreas Fabri
e337d22aa2
Add export statements
2011-10-13 10:03:33 +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
Guillaume Damiand
a29c905ee0
Replace BOOST_STATIC_ASSERT by CGAL_static_assertion.
2011-08-31 14:30:07 +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
3c110e9771
Fix pedantic errors: extra ';'
2010-12-10 10:00:40 +00:00
Laurent Rineau
d5c660832a
Fix compilation error after one of my previous commits (about mirror_edge).
2010-12-01 10:51:04 +00:00
Marc Glisse
77cfc7e02a
remove extra ';'
2010-11-30 10:05:22 +00:00
Laurent Rineau
9c3701e4fc
Use boost::iterator_facade. Without it, it is very difficult to write
...
iterators that real are models of the iterator concepts.
2010-11-29 12:33:20 +00:00
Laurent Rineau
aced534160
Fix warnings about unused variables.
2010-11-29 12:32:22 +00:00
Laurent Rineau
09bab9cce9
Missing operator+ in CGAL::POLYNOMIAL::internal::Derivative<Fn>::It
2010-11-25 15:41:22 +00:00
Daniel Russel
0311e3f96e
remove unused variables
2010-11-18 15:48:09 +00:00
Laurent Rineau
82171d1e91
Patch so that KDS no longer uses deprecated code (mirror_index and
...
mirror_vertex from Triangulation_face_base).
2010-11-12 15:17:09 +00:00
Laurent Rineau
c6d77ff3af
Partial revert of revision 58795 for <CGAL/Kinetic/Sort.h>. I had commited debug things from my working copy
2010-09-22 22:20:13 +00:00
Laurent Rineau
113141506d
Fixes for CLang (more C++ conformance)
2010-09-22 16:24:04 +00:00
Andreas Fabri
714149267e
built-in arrays have no member functions as size() and empty()
2010-08-23 07:38:37 +00:00
Andreas Fabri
efffec74b9
see if Intel C++ strict ansi likes this assertion better
2010-08-10 08:46:12 +00:00
Andreas Fabri
d781f3d704
Removed one of two default constructors
2010-08-06 11:08:29 +00:00
Andreas Fabri
885678e792
Removed default constructor as there exists a constructor with one argument having a default value
2010-08-05 06:41:44 +00:00
Sébastien Loriot
d53e01f1a1
remove package namespace macro
2010-06-09 08:45:58 +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
Daniel Russel
afb06904f4
remove extra ;
2010-06-01 15:22:32 +00:00
Andreas Fabri
84943419b0
Remove ';'
2010-05-17 14:09:39 +00:00
Andreas Fabri
8cf605f3eb
Use '.' instead of '->'
2010-05-17 10:39:00 +00:00
Andreas Fabri
d358eb315a
Add 'using' for ansi compliance
2010-05-17 10:34:49 +00:00
Marc Glisse
2256ae01e7
Trivial fixes for the testsuite.
2010-04-22 09:58:25 +00:00
Daniel Russel
f4aefd44b1
attempt to make things work when core not supported. I can't build the tests for some reason, so something might have been missed. Have to look in to that
2010-04-02 18:02:25 +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
Sylvain Pion
58910703cb
Remove spurious extra ";".
2009-11-16 12:05:02 +00:00
Sylvain Pion
5fda817f95
Remove a few "warning: extra ';'" with g++ -pedantic.
2009-11-14 11:49:52 +00:00
Laurent Rineau
83912b2952
Massive fix of svn:keywords properties, and $URL$ keyword.
2009-10-20 08:59:26 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Daniel Russel
f6b7658161
add spaces in case CC is neglecting to add them
2009-07-07 16:42:28 +00:00
Daniel Russel
a958ed6927
use iterator traits
2009-07-05 19:39:18 +00:00
Sylvain Pion
7ad4cdfa4b
Avoid a deprecated interface for incident_face().
2009-05-08 09:24:17 +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
Sylvain Pion
23f1b98350
typos and related.
2009-04-08 11:40:21 +00:00
Daniel Russel
3efe9b092b
use ranges
2009-04-01 23:17:20 +00:00
Daniel Russel
00ee3ddb1f
do not use deprecated vh->degree() call
2009-01-08 16:44:49 +00:00
Daniel Russel
1a57abab2e
fix typo, didn't test build on this branch
2009-01-06 15:02:02 +00:00
Daniel Russel
e8f4820be7
mirror-index went away
2009-01-05 23:16:31 +00:00
Daniel Russel
ecf72f5db2
fix bad conversion on push back on some platforms
2009-01-05 19:45:21 +00:00
Daniel Russel
961dee39fb
properly handle event times which don't support infinity
2008-09-29 16:59:08 +00:00
Daniel Russel
07dfe8bf8c
Skip printing null key. Not sure why that escaped so long
2008-09-26 19:57:57 +00:00
Daniel Russel
562b62e0a3
don't make intervals with inf
2008-09-26 19:18:11 +00:00
Michael Hemmer
646f5585ed
rename RET::Sign RET::Sgn
2008-09-18 15:41:45 +00:00
Andreas Fabri
d0bc6469b9
Operator needed for VC++ HAS_ITERATOR_DEBUGGING
2008-09-16 13:54:07 +00:00
Michael Hemmer
14debf77ce
mv Real_embeddable_traits_base in internal namespace
2008-08-07 08:57:24 +00:00
Michael Hoffmann
a25985b73b
Remove dependency on CGAL/functional -> replace Unary_function
...
and Binary_function by std:: counterparts.
2008-07-23 15:07:16 +00:00
Sylvain Pion
79864c0c8e
Remove Arity_tag.
2008-07-22 12:29:01 +00:00
Sylvain Pion
1d8779b171
Rename the following functions:
...
det2x2_by_formula
det3x3_by_formula
det4x4_by_formula
det5x5_by_formula
det6x6_by_formula
to:
determinant
How cute... a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion
ebb5e40b14
Remove casts to Sign.
...
They are useless since we merged the various enum types.
2008-04-09 13:09:17 +00:00
Sylvain Pion
643ea487a0
Remove casts to Comparison_result.
...
They are useless since we merged the various enum types.
2008-04-09 12:46:22 +00:00
Daniel Russel
10bfa4d35d
not really part of kinetic
2008-04-01 18:04:47 +00:00
Daniel Russel
814aa19b72
make pretty
2008-04-01 18:04:16 +00:00
Daniel Russel
b3754f9e94
make the macros usable outside of the namespace
2008-04-01 18:03:41 +00:00
Daniel Russel
c26995f483
Slightly safer choice of NT
2008-04-01 18:02:51 +00:00
Daniel Russel
b5da19d44f
Call the renamed instantaneous versions
2008-04-01 18:02:12 +00:00
Daniel Russel
7bd75414f2
Split instantaneous and kinetic versions of predicate as the compiler was having trouble telling the templates apart.
2008-04-01 18:01:39 +00:00
Daniel Russel
b28d073a9f
Static asserts to make sure the various template parameters are compatible
2008-04-01 18:00:57 +00:00
Daniel Russel
618bb2a764
cross packge dependencies with GETSET
2008-03-06 07:12:04 +00:00
Daniel Russel
1e531c4370
class vs struct fixed
2008-02-06 18:13:32 +00:00
Sylvain Pion
b24108f5fd
Remove #include <cassert> from everywhere under include/CGAL/.
...
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00
Sylvain Pion
44792b0f90
Fix partial specialization.
2008-01-17 18:32:43 +00:00
Daniel Russel
75d053154f
fixed demos. Found some problem with dynamic insertion in regular triangulations.
2008-01-14 22:01:20 +00:00
Sylvain Pion
b55e442199
Add missing #include <CGAL/Tools/Counter.h>.
2008-01-14 21:12:02 +00:00
Sylvain Pion
88ed563f44
Remove some workarounds for SunPRO + RW's STL:
...
CGAL_CFG_MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG
CGAL_CFG_RWSTD_NO_MEMBER_TEMPLATES (partially so far)
CGAL_make_vector
CGAL_make_list
2008-01-03 14:50:13 +00:00
Sylvain Pion
7302cae41f
Use CGAL_assertion_code macro instead of if(...); hack to kill unused variable warning in release mode, as this triggers a g++ 4.3 warning for empty if body.
2007-12-27 16:23:41 +00:00
Sylvain Pion
b500997a37
Remove useless "const" on return type to avoid g++ 4.3 warning.
2007-12-24 13:36:51 +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