Commit Graph

2419 Commits

Author SHA1 Message Date
Andreas Fabri 1094f26dd5 comment unused parameters 2015-01-08 09:47:09 +01:00
Efi Fogel 16151c46ff Enhanced operator(). Made the type of the coordinate index iterator a template parameter
Patch exceptionally accepted in master on a file not used by CGAL.
Approved by the interim release manager.
2014-09-29 10:53:18 +02:00
Laurent Rineau 0ee52b23f0 Add more display to Aos_2 test runner script
In order to help reproducing the results of the Aos_2 test running
script (cgal_test_base), display the precise CMake command line that is used.
2014-08-11 19:55:36 +02:00
Laurent Rineau 746f76c6b2 [CGAL_DISABLE_GMP and test/Aos_2] Yet another bug!
Yet another.. stupid bug! My substitutions were completely wrong!
2014-08-11 19:55:35 +02:00
Laurent Rineau de5beea69c Fix the use of CGAL_DISABLE_GMP
My previous commit was wrong:
  | commit 28aed34f517109816ba7950aa134ee3260d82dbd
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Aug 8 15:59:29 2014 +0200
  |
  |     When GMP is disable, use LEDA types instead
  |

I stupidly forgot to quote ${CGAL_DISABLE_GMP}. Without the quotation,
regardless of whether the variable was empty or not empty, the test
[ -n $var ] returned true.
2014-08-11 19:55:35 +02:00
Laurent Rineau bd8554d3c6 When GMP is disable, use LEDA types instead 2014-08-11 19:55:35 +02:00
Laurent Rineau 227c05ef89 Fix mixed end-of-line style 2014-08-11 19:55:35 +02:00
Sébastien Loriot 881a5b49bb remove warnings triggered in release mode
trivial bugfix for master
2014-08-10 15:57:29 +02:00
Sébastien Loriot d3d758421d fix typo 2014-08-07 16:05:12 +02:00
Sébastien Loriot cc36cf8359 Merge branch 'boost-work_around_dijktra_bug_1.54-local'
Distribute dijktra header file from boost 1.55 to work around
  a bug in the version 1.54. The header file is only used if the
  user compiles with boost 1.54

Tested in CGAL-4.5-Ic-102
Approved by the release manager

Conflicts:
	Installation/changes.html
2014-07-23 08:46:33 +02:00
Sébastien Loriot bc8e1f399d workaround a bug in dijsktra algorithm in boost 1.54 affecting normal estimation 2014-07-19 12:20:29 +02:00
Sébastien Loriot 8b7af3a397 vector_property_map include is done by CGAL/property_map.h 2014-07-19 11:36:33 +02:00
Andreas Fabri 65200381d7 Arithmetic_kernel -> Exact_integer/rational 2014-07-16 18:55:30 +02:00
Efi Fogel 207f70b167 minor fix for master. traits() => geometry_traits() 2014-07-13 10:27:30 +03:00
Efi Fogel ff308b5696 minor fix for master. Removed description of non-exisiting member functions 2014-07-09 17:12:13 +03:00
Sébastien Loriot 0b353bb85b Merge remote-tracking branch 'origin/CGAL-use_leda-GF'
Reintroduce the possibility to use CGAL without GMP
  (to use LEDA number types instead for example).
  The cmake option to set to switch off GMP when building
  the lib is CGAL_DISABLE_GMP.

Tested in CGAL-4.5-Ic-86
Approved by the release manager

ge is necessary,
2014-07-04 12:02:37 +02:00
Laurent Rineau 59ce1261d3 Fix compilation error with llvm-gcc-4.2
The error was:
/usr/local/include/boost/type_traits/has_new_operator.hpp: In function 'bool test_ray(Arrangement_2&, Face_handle)':
/usr/local/include/boost/type_traits/has_new_operator.hpp:24: error: 'template<class U, U x> struct boost::detail::test' is not a function,
CGAL-4.5-Ic-86/cmake/platforms/x86-64_Darwin-13.0_Apple-llvm-gcc-4.2_Release/test/Arrangement_on_surface_2/test_unbounded_removal.cpp:24: error:   conflict with 'bool test(const Arrangement_2&)'
CGAL-4.5-Ic-86/cmake/platforms/x86-64_Darwin-13.0_Apple-llvm-gcc-4.2_Release/test/Arrangement_on_surface_2/test_unbounded_removal.cpp:55: error:   in call to 'test'

I do not understand how `boost::detail::test` was introduced in the
matching set of functions. The `boost::detail` namespace is not supposed
to be involved.
2014-07-03 12:31:31 +02:00
Sébastien Loriot 3cfc2e7efe using Exact_rational instead of Gmpq 2014-06-27 15:20:48 +02:00
Laurent Rineau 0700232c51 s/Gmpq/Exact_rational/ 2014-06-27 15:11:45 +02:00
Laurent Rineau 6f5fca20da Fix a warning with -DNDEBUG 2014-06-27 14:54:11 +02:00
Sébastien Loriot 251a9d8446 fixes for tests to use leda and not gmp 2014-06-19 14:29:20 +02:00
Efi Fogel 65bfcd77a3 minor fix for master: fixed locate_gen(cv), where cv is vertical 2014-06-19 10:03:12 +03: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
Sébastien Loriot 6ee3c59489 doc bug-fix: Hidden_type -> unspecified_type
theses were coming from merges done after the global replacement
2014-06-02 07:47:05 +02:00
Laurent Rineau bb492768b1 Merge remote-tracking branch 'origin/Arrangement_on_surface_2-remove_edge-efif'
Conflicts:
	Installation/changes.html
2014-05-26 12:21:37 +02:00
Laurent Rineau 2242efe153 fix permissions 2014-05-22 14:58:17 +02:00
Efi Fogel a7c7a842f7 Fixed removal of unbounded & added corresponding tests 2014-05-18 17:16:54 +03:00
Laurent Rineau 73f4734525 Fix permissions 2014-05-15 18:33:36 +02:00
Efi Fogel eb1ac16965 Fixed unbounded removal 2014-05-04 18:55:46 +03:00
Efi Fogel e930e3806c Enhanced 2014-05-04 12:44:24 +03:00
Efi Fogel 924c5f878e cleanup 2014-05-02 11:50:49 +03:00
Andreas Fabri 163fbd0749 fix typos 2014-04-15 12:03:50 +02:00
Laurent Rineau a749963859 Merge branch 'CGAL_VC12_GF'
Fix a compilation error of VC9, due to the merge of previous revisions
of CGAL_VC12_GF.

Tested in CGAL-4.4-Ic-161.
2014-03-28 18:16:01 +01:00
Laurent Rineau ff8a7bbe3c Fix a compilation error with VC9 2014-03-26 16:04:57 +01:00
Andreas Fabri 66380cca74 Merge branch 'CGAL_VC12_GF'
Get the testsuite compiled with VC12 ( = MSVC 2013)

Approved by the release manager
2014-03-26 12:13:01 +01:00
Efi Fogel 1936810b36 minor fix for master 2014-03-25 01:58:59 +02:00
Andreas Fabri 28ab87eb7a Turn copy constructor into a real default constructor 2014-03-19 12:30:20 +01:00
Laurent Rineau f71354623a Remove an unwanted directory 2014-03-05 10:58:56 +01:00
Sébastien Loriot 9114db9085 restore figure source files removed in 0fa2cacb
| commit 0fa2cacb60
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Tue Dec 3 17:27:02 2013 +0100
  |
  |     remove doc_tex documentation (including developer manual) and old manual tools
2014-02-10 14:54:23 +01:00
Laurent Rineau 6330632723 Fix various warnings about unused variables/types 2014-01-10 13:25:23 +01:00
Laurent Rineau 269ae1ca61 Fix the uses of std::basic_ios::bad(), and use fail() instead.
bad() implies fail() but std::basic_ios::operator! is actually equivalent
to std::basic_ios::fail(), not bad().

For example,
    std::ifstream is(argv[1]);
    if (is.bad()) {
is probably wrong because, in case the file does not exist, only the failbit it set,
and not the badbit.

Other example:
   double x;
   is >> x;
If the stream 'is' does not contains a string that can represent a double,
then failbit is set (and maybe the eofbit if the stream is actually too
short), but not the badbit.

bad() can be used, in case fail() returned true, to discriminate between a
I/O error and a logical error.

See:
  http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool
  http://en.cppreference.com/w/cpp/io/ios_base/iostate
2013-12-12 16:13:40 +01:00
Efi Fogel 32b8625a46 Merge branch 'Aos_2-test_spherical_blp_vd-tau'
* Enhancing the testsuite---adding tests for
    batched, point location
    vertical decomposition, and
    triangulation point location.
* Various bug fixes:
    bugs in point location.
    memory leaks found by Andreas.

* Resolving several small issues to remove compiler warnings.
Tested last in CGAL-4.4-Ic-54.
Approved by the release manager
2013-12-11 15:15:40 +02:00
Efi Fogel d6ef591c06 removed unused typedef 2013-12-09 08:49:37 +02:00
Efi Fogel a1bd7bd05d removed unnecessaty typedef 2013-12-08 11:06:35 +02:00
Efi Fogel 6af55c4978 Resolved min/max issue with msvc 2013-12-06 13:15:13 +02:00
Efi Fogel e6839a652c cleaned up destructors 2013-12-06 01:57:27 +02:00
Efi Fogel c745b67e4b cleaned up 2013-12-06 01:26:54 +02:00
Efi Fogel bb018b8fbe Added is_on_y_identification functor 2013-12-06 01:25:55 +02:00
Efi Fogel c3207ea105 pacify compiler 2013-12-06 01:25:15 +02:00
Efi Fogel 57b5b4ef24 Included Arr_triangulation_point_location.h 2013-12-05 17:50:55 +02:00