Commit Graph

680 Commits

Author SHA1 Message Date
Andreas Fabri f8df875321 Now Mpzf is used for up to Delaunay_d<6> 2020-03-03 14:53:34 +00:00
Andreas Fabri 5d053dba1a Add determinant 7x7 2020-03-02 20:56:22 +00:00
Laurent Rineau 5ce802f658 Fix compilation error: CGAL_ASSUME->CGAL_assume 2020-03-02 17:40:46 +01:00
Andreas Fabri 3e6ece5e4b VC++ does not yet provide __cpp_if_constexpr 2020-03-02 16:09:33 +00:00
Andreas Fabri a3719c3628 Compile in C++03 and C++14 2020-03-02 12:52:23 +00:00
Marc Glisse b1c2910b9e Use a ring bignum type for a couple of filtered predicates. 2020-03-02 11:49:16 +01:00
Marc Glisse 8ffa2ef69d Only use Eigen's determinant as a last resort. 2020-03-02 11:35:28 +01:00
Marc Glisse 3ebe8839b6 swap for Point_2 and Point_d
and make the implementations more similar, in case someone wants to
replace it with a macro at some point.
2020-03-01 12:50:13 +01:00
Laurent Rineau a9102bd3d9 Merge pull request #4484 from mglisse/Triangulation-test_Epeck_d-glisse
Also test Triangulation with Epeck_d
2020-02-14 14:39:26 +01:00
Laurent Rineau 0d1a89ac32 Implement a workaround for MSVC 2015
See the compilation errors at:
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-68/Triangulation/TestReport_afabri_x64_Cygwin-Windows10_MSVC2015-Debug-64bits.gz
2020-02-11 13:56:53 +01:00
Simon Giraudot 6c8fd43ebb Use CGAL_target_use_* mechanism for Eigen, LASLIB, OpenCV, TensorFlow, GLPK, SCIP, Boost IOStreams and Serialization 2020-02-10 11:57:56 +01:00
Sébastien Loriot f1d85d3f63 Merge remote-tracking branch 'cgal/master' 2019-12-20 09:29:50 +01:00
Marc Glisse 0a3c85c781 Fewer dereferences. 2019-11-09 10:11:13 +01:00
Marc Glisse 2a0eac67f0 Remove some unnecessary dereferencing. 2019-11-09 09:58:21 +01:00
Sébastien Loriot b9a079b530 remove cpp11/cpp0x 2019-11-04 11:34:53 +01:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Marc Glisse 215d05f714 TAB-allergy 2019-07-23 14:52:51 +02:00
Sebastien Loriot 2a426bb1e1
Merge pull request #4063 from sloriot/CGAL-NO_CXX11
Remove CGAL_CXX11 macro usage
2019-07-19 16:16:22 +02:00
Sebastien Loriot 4f62fd0321
Merge pull request #4081 from mglisse/NewKernel_d-loopinv-glisse
Move store outside the loop.
2019-07-19 15:37:24 +02:00
Marc Glisse 21cb3ddeb4 Test the new functors 2019-07-14 18:48:14 +02:00
Marc Glisse 8b207c6aef Add functors for weighted alpha-complexes.
Not sure why I have both Side_of_bounded_sphere and
Side_of_bounded_circumsphere for the unweighted case.
2019-07-13 23:24:50 +02:00
Marc Glisse b156ae6a1b Move store outside the loop.
Looks like a typo kind of mistake: the value was computed and stored
repeatedly in the inner loop instead of once in the outer loop...
2019-07-12 21:55:20 +02:00
Maxime Gimeno 64253458aa Fix warnings 2019-07-12 10:49:10 +02:00
Sébastien Loriot 0f0e7e6dfa restore comments 2019-07-10 06:23:18 +02:00
Sébastien Loriot c0edb5ecaa remove CGAL_CXX11 macro usage 2019-07-08 11:42:17 +02:00
Laurent Rineau 39a245220a Merge pull request #3660 from mglisse/NewKernel_d-lazy_Epeck_d-glisse
Epeck_d
2019-07-01 11:16:33 +02:00
Laurent Rineau 1957ecc263 Fix a warning
See https://github.com/CGAL/cgal/pull/3660#issuecomment-503915741
2019-06-20 10:14:26 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Laurent Rineau 45efa5a6c0 Tame a warning from MSVC 2015
```
...\include\CGAL/NewKernel_d/utils.h(85): warning C4552: '*': operator has no effect; expected operator with side-effect
...\include\CGAL/transforming_iterator.h(65): note: see reference to function template instantiation 'decltype(auto) CGAL::Scale<double>::operator ()<const double&>(FT) const' being compiled
        with
        [
            FT=const double &
        ]
```
2019-06-04 16:30:12 +02:00
Marc Glisse 2f709a40e5 Visual Studio 2015 is broken. 2019-05-19 23:42:49 +02:00
Laurent Rineau 149046f8c1
Merge branch 'master' into NewKernel_d-lazy_Epeck_d-glisse 2019-04-29 19:54:03 +04:00
Marc Glisse 92f4a7d3ad std::abs 2019-04-16 11:43:10 +02:00
Andreas Fabri 057c37828b Fix pragma push/pop 2019-04-15 12:26:03 +02:00
Sébastien Loriot db65bd8ecc Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2019-04-11 21:38:48 +02:00
albert-github 1dd7473818 Correction of links
Correction of redirected links and links that moved to another place.
2019-04-11 21:37:05 +02:00
Maxime Gimeno 78db3f646d Solve conflicts 2019-04-09 10:04:44 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Sébastien Loriot ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Andreas Fabri ce0a5ef64b oops 2019-02-21 13:45:49 +01:00
Andreas Fabri dcf909d994 NewKernel_d: Suppress VC2015 warning 2019-02-21 13:05:26 +01:00
Marc Glisse 5826d192cc Move helper to STL_Extension 2019-02-13 14:29:25 +01:00
Marc Glisse 321268e1d1 CGAL_CXX11 leftover 2019-02-13 14:27:30 +01:00
Marc Glisse 730cfdc2b6 Missing #includes. 2019-02-12 13:23:34 +01:00
Marc Glisse 455d80c8a6 Handle computations the same as constructions. 2019-02-10 15:29:25 +01:00
Marc Glisse 402279bcab Use range-for in a couple places. 2019-02-10 12:57:40 +01:00
Marc Glisse 15d2b82ff8 Copy ranges defined by iterator pairs inside Lazy objects. 2019-02-09 22:31:31 +01:00
Marc Glisse 6e579bb11a Avoid functors that take unpaired input iterators 2019-02-09 12:51:37 +01:00
Marc Glisse 224e127522 Experiment how we can store ranges in lazy objects. 2019-02-08 23:26:27 +01:00
Marc Glisse 28c2763f1a Remove leftover macro CGAL_CONSTRUCTION_OPERATOR 2019-02-08 21:39:47 +01:00
Marc Glisse e2ce6d9daa Remove unnecessary overload of Side_of_oriented_sphere 2019-02-08 21:36:13 +01:00
Marc Glisse a17f5655e1 More [[no_unique_address]] 2019-02-08 17:21:28 +01:00
Marc Glisse f099add88e Various small simplifications 2019-02-08 16:54:08 +01:00
Marc Glisse 02cfcafb72 Replace some boost with std.
It doesn't help much, but we should still stop using those boost
facilities that are now standard.
2019-02-08 16:16:20 +01:00
Marc Glisse 9fef604bc2 Move some operators to inline friends.
It gives nicer error messages...
2019-02-08 16:03:07 +01:00
Marc Glisse 7d9e2a45fc Remove some result_of 2019-02-08 15:54:56 +01:00
Marc Glisse 7b2dfaccff Remove macro CGAL_FORWARD 2019-02-08 15:37:38 +01:00
Marc Glisse 4b369cd70e Remove macro CGAL_FORWARDABLE 2019-02-08 15:34:02 +01:00
Marc Glisse 31dac099c5 Remove macro CGAL_MOVE 2019-02-08 15:26:36 +01:00
Marc Glisse c872a75e10 Remove macro CGAL_CONSTEXPR 2019-02-08 15:23:35 +01:00
Marc Glisse 16af3fcf81 Remove macro CGAL_BOOSTD 2019-02-08 15:21:04 +01:00
Marc Glisse cde81908d4 Remove some C++98 code to unclutter the files a bit. 2019-02-08 15:18:09 +01:00
Marc Glisse 530238db1a Remove some C++98 code to unclutter the files a bit. 2019-02-08 14:54:30 +01:00
Marc Glisse 5ef0977d67 Use Vector_dimension on vectors 2019-02-08 12:34:17 +01:00
Marc Glisse 678f911a47 C++14 tweaks 2019-02-06 13:56:05 +01:00
Marc Glisse 34cbb9cd4b Make Epeck_d work & C++14-only cleanups
Still some rough edges:
1) double tab[]={.1,.2,.3}; Point_d p(tab+0,tab+3); lazily stores
iterators to tab, so tab had better still be alive when we need
update_exact.
2) One functor (point on a sphere) cannot be done exactly exactly with
a representation center+squared radius.
3) Several hacks that make this not as generic as it should be.
2019-02-03 23:16:28 +01:00
Marc Glisse cbddd4575a One more occurence of Lazy
this code is not used (unfinished), but it still gets included in the test, probably so it doesn't bitrot too fast.
2019-01-27 15:16:38 +01:00
Sébastien Loriot 0550728292 fix indentation 2018-12-06 14:19:33 +01:00
Sébastien Loriot 864d4cd0c1 fix maybe-uninitialized warning 2018-12-06 14:17:19 +01:00
Sebastien Loriot 00cf0a2889
Merge pull request #3413 from gdamiand/CGAL-cmake_cleanup-gdamiand
Clean CMakeLists.txt of examples and tests
2018-11-12 15:01:46 +01:00
Sébastien Loriot 089377d238 Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD 2018-11-12 10:07:27 +01:00
Sebastien Loriot 21d53cd984
Merge pull request #3172 from sloriot/Triangulation-fix_IO
Fix vertex istream operator
2018-11-12 09:58:14 +01:00
Sébastien Loriot 3705c7a35c fix warning and compilation error 2018-11-02 10:09:41 +01:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Maxime Gimeno a7a998cbda add binary management to Point_d, Weighted Point_d and Vector_d and test 2018-10-11 15:06:58 +02:00
Marc Glisse 04176bc1ae Use iformat in input functions. 2018-10-04 13:50:35 +02:00
Marc Glisse 0bf71d0aa1 I/O for Vector_d and Weighted_point_d 2018-10-04 13:50:35 +02:00
Marc Glisse cfbb3ef977 Fix is>>point_d
Now it matches what os<<point_d does at least.
2018-10-04 13:50:35 +02:00
Marc Glisse f64ae1b240 Move is>>point_d from Triangulation to NewKernel_d. 2018-10-04 13:50:34 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau 5fea3c3eb1 Add CGAL_CXX14
and remove uses of `__cplusplus` that are not in `<CGAL/config.h>`.
2018-04-17 17:15:04 +02:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Andreas Fabri 6438ade98a fixes after the first testsuite 2018-01-23 09:38:03 +00:00
Andreas Fabri 257b180351 Triangulation 2018-01-18 13:56:10 +00:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 8f46324806 Merge pull request #2475 from sgiraudot/Fix_counting_iterator_warning_everywhere-GF
Fix counting iterator warnings
2017-10-11 19:15:15 +02:00
Laurent Rineau 2b35bddfb2 Replace all std::binary_function by CGAL::binary_function 2017-10-04 16:36:32 +02:00
Simon Giraudot 1e7b9ea027 Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Laurent Rineau aff2a7a899 Merge pull request #2287 from maxGimeno/Fix_GCC8_warnings-GF
Fix new -Wcatch-value warnings (gcc>=8.0)
2017-07-25 18:17:42 +02:00
Maxime Gimeno 96f7b0f138 Fix catch value warnings 2017-07-21 11:27:14 +02:00
Laurent Rineau b14263762d Check gcc version and return() if < 4.4 2017-07-19 16:09:04 +02:00
Clement Jamin 5b9562ea84 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2017-06-16 11:09:07 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Marc Glisse bcf9d7d051 Fold Point_drop_weight_d into Construct_point_d.
Old name kept temporarily until Triangulation is updated.
For the record, I don't like this change.
2016-09-22 16:28:47 +02:00
Andreas Fabri 8d15be6c59 fix for auto and Intel compiler 2016-09-22 10:27:44 +02:00
Marc Glisse 8aa0ede187 Point_weight_d -> Compute_weight_d 2016-09-21 19:38:42 +02:00
Clement Jamin a664634a9f Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2016-09-20 16:10:13 +02:00
Laurent Rineau 7d85453f4d Use Boost.Config to detect a real gcc<=4.4
... Avoids that Intel Compiler or Clang are detected as well.
2016-09-15 16:03:33 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Clement Jamin 90de002af7 Remove duplicated code 2016-07-29 12:13:56 +02:00
Marc Glisse 3d8d601b28 Construct_center_d alias for RangeSearchTraits 2016-07-07 19:32:51 +02:00
Clement Jamin a099cc2ea2 Add Power_distance and Translated_point + use std::abs in test 2016-06-01 14:06:03 +02:00
Marc Glisse ba50bc5b9c Power_center.
(cherry picked from commit 8c5e28cd3d)

Conflicts:
	NewKernel_d/include/CGAL/NewKernel_d/Types/Sphere.h
	NewKernel_d/include/CGAL/NewKernel_d/Types/Weighted_point.h
	NewKernel_d/test/NewKernel_d/Epick_d.cpp
2016-06-01 13:42:39 +02:00
Clement Jamin 4958fcc746 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2016-06-01 13:35:18 +02:00
Marc Glisse c752dea8e0 Link Power_center_d.
(cherry picked from commit f4de16d093)

Conflicts:
	NewKernel_d/include/CGAL/NewKernel_d/Kernel_d_interface.h
	NewKernel_d/test/NewKernel_d/Epick_d.cpp
2016-06-01 12:03:27 +02:00
Clement Jamin 81e2e215fa Monique's review, incl. renaming of power_test
+ better handling of the insertion of points at the same position (incl. test)
2016-05-20 18:00:16 +02:00
Clement Jamin 9487c71ad1 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2016-05-18 19:41:22 +02:00
Laurent Rineau 9ea630eeb1 Merge changes from 'releases/CGAL-4.8-branch'
- Merge pull request #1023 from mglisse/NewKernel_d-solve_check-glisse
- Merge pull request #1025 from CGAL/Stream_support-Fix_io.h-lrineau
2016-04-22 15:41:59 +02:00
Marc Glisse 630d42c60d Remove redundant variable. 2016-04-19 20:17:00 +02:00
Marc Glisse 2956ea2969 Don't test then ignore the result of Eigen's solve.
This was causing filters to fail.
I am not convinced this code handles degeneracies correctly, but the
patch essentially removes (costly) dead code.
2016-04-19 20:17:00 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Sebastien Loriot 33fc37e689 Merge pull request #719 from afabri/NewKernelD-not_on_gcc4.1-GF
Do not perform the test for g++ <= 4.2
2016-02-07 18:22:23 +01:00
Sebastien Loriot 48da87c2b5 Merge pull request #732 from afabri/CGAL-replace_bind-GF
Replace all std::bind with boost::bind
2016-02-07 18:21:05 +01:00
Sebastien Loriot 91a47f2083 Merge pull request #743 from sgiraudot/NewKernel_d-Fix_warning_parenthesis-GF
Fix warning in NewKernel_d: use boost::mlp::if_
2016-02-07 18:11:59 +01:00
Sebastien Loriot 718eae7a00 Merge pull request #714 from sgiraudot/CGAL-Fix_boost_warning_unused_typedef-GF
Fix boost warning (unused typedef)
2016-02-05 14:59:28 +01:00
Simon Giraudot 591dc11511 Fix warning: use boost::mlp::if_ with explicit calls to bool_ and or_ to avoid parenthesis warning 2016-02-05 14:42:16 +01:00
Simon Giraudot 737261c330 Typo correction (__GNUC_MINOR__ instead of __GNU_MINOR__) 2016-02-04 17:58:22 +01:00
Simon Giraudot 30ed96c71e Update NOTICE messages with correct G++ version 2016-02-04 12:38:59 +01:00
Simon Giraudot 8e7d464973 Replace BOOST test by direct test on __GNUC__ for old GCC/boost versions 2016-02-04 11:24:47 +01:00
Andreas Fabri 52f8129579 replace all std::bind with boost::bind 2016-02-04 08:59:38 +01:00
Andreas Fabri 6262374378 Do the same in package Triangulation 2016-02-03 12:24:25 +01:00
Andreas Fabri 38457b7285 fix 2016-02-03 10:52:42 +01:00
Andreas Fabri 1b10cd8d28 Do not perform the test for g++ <= 4.2 2016-02-03 10:44:41 +01:00
Simon Giraudot 751d959c05 Fix boost unused typedef warning: replace BOOST_STATIC_ASSERT by CGAL_static_assertion 2016-02-02 14:32:46 +01:00
Andreas Fabri c97484512d Use assertion_code() 2016-01-26 17:03:33 +01:00
Andreas Fabri 34af59ecd1 one more assertion_code() 2016-01-21 12:30:25 +01:00
Andreas Fabri 3b519819b4 Use assertion_code() 2016-01-21 09:33:45 +01:00
Andreas Fabri 6e1a97858f Use CGAL_assertion_code() to avoid warning 2016-01-20 12:16:25 +01:00
Marc Glisse a6adfebc54 Handle mpq_class.
Explicitly specify the number type, since with expression template it
would guess wrong.
2015-12-18 21:38:58 +01:00
Clement Jamin 42f726bf24 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2015-12-08 17:34:59 +01:00
Clement Jamin 003b435a46 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-11-20 11:53:44 +01:00
Andreas Fabri 8576ef2d05 suppress warning concerning macro 'BOOST_PP_EXPAND_I' 2015-11-17 10:02:39 +01:00
Clement Jamin bcb523ba3e Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-09-09 14:21:30 +02:00
Sebastien Loriot c1def7afc7 fix warning 2015-07-28 17:15:06 +02:00
Clement Jamin 1c70482064 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2015-07-20 12:19:54 +02:00
Clement Jamin 80d046bc81 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-07-20 12:17:03 +02:00
Laurent Rineau aa72eaa371 Merge pull request #154 from maxGimeno/CGAL-Qt5_support-GF
Qt5 support, GSoC 2014

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Qt5_support

In this commit, I have fixed the permissions of the file:
	Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/data/points

In this commit, I have also modified:
	Installation/changes.html
2015-07-17 14:13:37 +02:00
Marc Glisse 785903b058 Replace Value_at (computation) with Oriented_side (predicate). 2015-07-15 12:18:21 +02:00
Marc Glisse 05ed02d319 Use matrix of static size when possible. 2015-07-15 12:06:11 +02:00
Marc Glisse b8503f3788 Handle hyperplanes passing through the origin. 2015-07-15 11:50:34 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Laurent Rineau 81b7171da2 Merge pull request #84 from mglisse/NewKernel_d-insphere-glisse
Add functors to Epick_d

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Side_of_bounded_diametral_sphere
2015-05-18 11:21:01 +02:00
Marc Glisse 3a322b76e5 Explicit cast to make VS quiet (?) 2015-05-13 16:18:38 +02:00
Marc Glisse 10ed4a2991 Rename functor in the test. 2015-05-12 18:09:41 +02:00
Marc Glisse 24ae40100e Merge branch 'NewKernel_d-insphere-glisse-old' into NewKernel_d-insphere-glisse
Conflicts:
	NewKernel_d/include/CGAL/NewKernel_d/functor_tags.h
	NewKernel_d/test/NewKernel_d/Epick_d.cpp
2015-05-12 17:56:35 +02:00
Marc Glisse 3c489ef482 More circum{sphere,center,radius} related functors. 2015-05-12 17:25:51 +02:00
Andreas Fabri b7f9849599 Replace CGAL::get() with CGAL::get_pointee_or_identity() and remove using get:: 2015-04-30 11:31:21 +02:00
Laurent Rineau 6c6484eaff Merge pull request #10 from lrineau/NewKernel_d-isobox-glisse
Branch from Andreas Fabri, with constributions from Marc Glisse and Clément Jamin.

Adds new functors to Epick_d, so that Epick_d can be used with Spatial Searching.

Tested in CGAL-4.6-Ic-169.
2015-04-01 17:14:06 +02:00
Philipp Moeller 03bf29acf5 Filter_predicate2.h has the wrong include guard
The file was copied from Filtered_kernel and one class was renamed, but apparently the include guard was missed. This leads to missing types when code from Filtered_kernel is included first and vice versa.
2015-03-31 16:28:47 +02:00
Clement Jamin 87f4dcb6c9 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2015-03-25 13:56:36 +01:00
Clement Jamin 5f8ca65abf Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-03-25 13:48:38 +01:00
Marc Glisse 6d9ba0f083 Improve operator<< for Epick_d::Point_d. 2015-02-26 16:14:14 +01:00
Andreas Fabri faa4a11e8e Add operator<<(ostream&, Point_d) 2015-02-26 11:27:37 +01:00
Marc Glisse 2d52f4b728 Construct_min_vertex_d, Construct_max_vertex_d 2015-02-25 16:57:32 +01:00
Marc Glisse ed6ac90384 Link Power_distance_d. 2015-02-24 17:32:47 +01:00
Marc Glisse f4de16d093 Link Power_center_d. 2015-02-24 14:00:28 +01:00
Marc Glisse 7325c00166 WIP: Side_of_bounded_diametral_sphere 2015-01-30 08:24:01 +01:00
Clement Jamin e0b402b094 Merge branch 'Triangulation-higher_dimensions-odevil_shornus'
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Triangulation_d
Tested in CGAL-4.6-Ic-98
Approved by the release manager
2015-01-08 18:15:34 +01:00
Marc Glisse ae4084948e Remove hack for Intel compiler: it didn't work, and version 15 fixed the bug. 2014-12-17 12:25:30 +01:00
Mael Rouxel-Labbé 3f5bb0cdd5 Fix trailing whitespace 2014-11-18 11:33:31 +01:00
Marc Glisse 8c5e28cd3d Power_center. 2014-10-21 17:20:20 +02:00
Marc Glisse 57690e3a90 Translated_point_d 2014-10-14 16:19:00 +02:00
Marc Glisse 4c6c0be37f Unofficial Epeck_d (exact and very slow) for testing purposes. 2014-10-13 17:11:43 +02:00
Clement Jamin 6078634d07 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-23 08:56:09 +02:00
Clement Jamin f79b923d5e Try to fix a compilation error related to LEDA 2014-09-22 15:22:24 +02:00
Marc Glisse f87f124d64 Orientation in dimension 1. <%-) 2014-09-12 22:22:11 +02:00
Marc Glisse a7b58d60d4 Try a different way to avoid returning a reference to a temporary. The
previous workaround was giving us iterators into temporaries :-(
2014-09-12 18:37:39 +02:00
Marc Glisse 86de7491fd Difference_of_points_d. 2014-09-11 17:56:05 +02:00
Clement Jamin 7c75c2f73d Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-10 15:50:34 +02:00
Marc Glisse 1c8dd2c1e1 Difference_of_vectors_d, Scalar_product_d. 2014-09-09 18:42:03 +02:00
Clement Jamin 03253edf19 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-09 14:35:38 +02:00
Marc Glisse 54d23d7a9b Squared_length_d, Scaled_vector_d. 2014-09-09 12:47:31 +02:00
Clement Jamin 4b48d7db87 Comments clean-up 2014-09-05 16:03:08 +02:00
Laurent Rineau add951becd Use CGAL::Exact_rational instead of CGAL::Gmpq 2014-08-05 17:28:54 +02:00
Clement Jamin 3c8e50e1b2 Remove const& for now (waiting for a better solution from Marc) 2014-07-29 11:58:08 +02:00
Marc Glisse 0f8c681de9 Rename 2 header files that Laurent doesn't like. 2014-07-02 19:19:42 +02:00
Laurent Rineau 07edbca4cd Add "NOTICE:" to please the regex for missing dependencies
Trivial fix for master
2014-07-01 11:28:00 +02:00
Marc Glisse 0d33f5dd9c Remove the old tentative to document preKernel.
Remove the local patched copies of Handle_for and Lazy, they are
necessary for ref-counting and for Lazy_d, but not for Epick_d.
2014-06-20 15:08:36 +02:00
Clement Jamin 54ab0fc5a1 Clean-up debug traces 2014-06-17 14:48:34 +02:00
Marc Glisse 750f09c3c4 Temporarily make Forward_rep copy, I am not sure how best to avoid
returning references to temporaries without copying (or moving).
2014-06-14 23:50:14 +02:00
Clement Jamin 9277e907db Commented the traces out 2014-06-14 08:16:30 +02:00
Clement Jamin 92de88555f More debug traces 2014-06-13 19:12:34 +02:00
Clement Jamin 25a319f4a5 Fix compilation with GCC 2014-06-13 15:33:22 +02:00
Clement Jamin 54a3641ae7 Regular_triangulation. Compiles but does not work. 2014-06-12 13:54:29 +02:00
Marc Glisse f88bfc0e51 Work around Visual Studio's inability to perform the empty base optimization.
(cherry picked from commit 0796b53a91)
2014-06-12 10:37:30 +02:00
Marc Glisse 0796b53a91 Work around Visual Studio's inability to perform the empty base optimization. 2014-06-11 19:17:36 +02:00
Marc Glisse 43aba79297 Default constructor for Weighted_point_d. 2014-06-06 23:00:52 +02:00
Marc Glisse 6745d3058c Default constructor for Sphere, Hyperplane, Segment. 2014-06-06 21:03:55 +02:00
Marc Glisse 53d0db3e48 Move Weighted_point to a subnamespace to avoid collisions.
All the good names are already taken ;-)
2014-06-06 18:13:23 +02:00
Marc Glisse df37199c1e Include Weighted_point.h in Epick_d.h, for now. 2014-06-06 17:24:41 +02:00
Marc Glisse ac30387173 Typo (confusion between point and vector). 2014-05-29 18:39:16 +02:00
Marc Glisse 7957b757f6 Vector_d::operator[] 2014-05-29 18:26:12 +02:00
Marc Glisse 1d2d456d17 Typedefs for the weighted_point interfaces. 2014-05-28 17:17:35 +02:00
Marc Glisse 66679e327d In_flat_power_test 2014-05-28 17:00:37 +02:00
Marc Glisse a7417b582d Power test. 2014-05-28 16:40:14 +02:00
Marc Glisse 8ac34ad7a6 Re-introduce code removed in merge conflict. 2014-05-28 15:13:57 +02:00
Clement Jamin 56c834f687 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse' of ssh://scm.cgal.org/var/git/cgal into Triangulation-add_regular_tri-cjamin_mglisse 2014-05-28 15:00:15 +02:00
Marc Glisse bfc5a33ac4 Weighted_point type. 2014-05-27 15:57:51 +02:00
Marc Glisse 1c6b184657 Add license.txt from detect_packages_licenses.
Update licenses of the 2 files copied from elsewhere in CGAL.
2014-05-16 11:16:54 +02:00
Marc Glisse eb996046c3 Rename macros to appease check_macro_names. 2014-05-16 11:02:42 +02:00
Marc Glisse 77cd25d456 Fewer conversion warnings. 2014-05-10 11:53:49 +02:00
Marc Glisse 38b26e6ce8 max... 2014-05-10 10:45:22 +02:00
Marc Glisse ab0e7fa467 Missed one return statement when I changed the return type. 2014-05-10 02:04:54 +02:00
Marc Glisse 9cb8801c78 Wrong parentheses. 2014-05-09 13:50:16 +02:00
Marc Glisse fa7fdb2dfb Add copyright/license header everywhere. 2014-05-08 20:18:12 +02:00
Marc Glisse 07d2be676d Remove dead file interface_macros.h. 2014-05-08 19:44:34 +02:00
Marc Glisse abe5682ef4 Move Point_d to a namespace so it doesn't conflict with the old kernel. 2014-05-08 19:11:48 +02:00
Marc Glisse 2a387ede81 Remove unused check_dimension_lt. 2014-05-07 19:37:53 +02:00
Marc Glisse cb4ca9d8c8 Don't use Dynamic_dimension_tag::value. 2014-05-07 19:28:33 +02:00
Marc Glisse fc4e4212f2 Remove trailing whitespace. 2014-05-07 19:05:53 +02:00
Marc Glisse 7d5e11295c Last clang warning !!! 2014-05-06 17:39:13 +02:00
Marc Glisse d218be48be Test Contained_in_simplex 2014-05-06 16:04:51 +02:00
Marc Glisse de3314319f Test Affine_rank. 2014-05-06 15:15:31 +02:00
Marc Glisse 153f10eca4 Test Affinely_independent. 2014-05-06 14:29:25 +02:00
Marc Glisse 3596f5cbef Test Linearly_independent. 2014-05-06 14:10:40 +02:00
Marc Glisse b704bd2da7 Test Contained_in_linear_hull. 2014-05-06 13:54:57 +02:00
Marc Glisse b919256566 Test Linear_rank. Depends on the branch Number_types-Interval_with_long-glisse. 2014-05-05 18:34:34 +02:00
Marc Glisse 1b31e34cbe Order of parameters for std::binary_function. 2014-05-02 16:39:14 +02:00
Marc Glisse dda84d067b Test more functors. 2014-04-30 17:55:20 +02:00
Marc Glisse 36f0f9c754 Test a few more functors. 2014-04-30 17:08:56 +02:00
Marc Glisse a43fb1ef4f Forgot to add/commit Hyperplane_d.h. 2014-04-28 17:34:34 +02:00
Marc Glisse cf26434f0c Improve hyperplane support. 2014-04-19 13:04:18 +02:00
Marc Glisse 171259e8c2 Make Point DefaultConstructible even in an unknown dimension (gives a
point of dim 0).

(cherry picked from commit 1d10685ec7)
2014-04-02 15:43:22 +02:00
Marc Glisse 1d10685ec7 Make Point DefaultConstructible even in an unknown dimension (gives a
point of dim 0).
2014-04-02 15:37:24 +02:00
Marc Glisse 7cb5ef208d Construct_flat_orientation orients positively.
That's a bit inconvenient and not necessary at all for Triangulation,
and it exposes a bug there where dark and light triangulations have
inconsistent orientations.

(cherry picked from commit a7d67459b9)
2014-03-31 17:45:09 +02:00
Marc Glisse a7d67459b9 Construct_flat_orientation orients positively.
That's a bit inconvenient and not necessary at all for Triangulation,
and it exposes a bug there where dark and light triangulations have
inconsistent orientations.
2014-03-31 00:14:30 +02:00
Marc Glisse 5e5e4d4a4d Remove the wrapper also for non-const argument... 2014-03-20 17:42:05 +01:00
Marc Glisse 602d4e059a Ambient_dimension. 2014-03-19 15:07:19 +01:00
Marc Glisse ef14beca0d typedef Epick_d::Dimension 2014-03-18 17:31:17 +01:00
Marc Glisse 5eaa931607 Missed one boost::conditional in the testcase. 2014-03-17 08:20:48 +01:00
Marc Glisse 572683c267 Ugly workaround for Intel compiler's issue.
AFAIK the C++98 pedantic macro warnings are the only issue left, and I
don't think I'll change those.
2014-03-15 17:05:19 +01:00
Marc Glisse 7e722ed009 Defining RT and FT in terms of each other is not so useful and can
confuse some compilers.
2014-03-15 16:48:27 +01:00
Marc Glisse effec9de4b Missing 1 argument. 2014-03-15 15:14:23 +01:00
Marc Glisse f730d221d7 Some platforms have decltype but not std::declval. 2014-03-15 15:07:34 +01:00
Marc Glisse 285008f15e Off by 1 in Linear_base. 2014-03-15 11:56:51 +01:00
Marc Glisse 7e4a7ea746 boost::conditional only appeared in boost-1.45, use boost::mpl::if_c for
the benefit of dinosaurs.
2014-03-15 11:24:47 +01:00
Marc Glisse 1836edde46 Quiet sensible warnings. We don't care about dimensions larger than a
billion, but the compiler can't know that.
2014-03-15 10:18:24 +01:00
Marc Glisse 6f7814bf5d Use cpp11::array and std::vector instead of eigen to store objects,
because of alignment issues (fingers crossed for C++17...).

This showed a bug in the way I was conditionally enabling some functors,
good thing there are more than 2 integers.
2014-03-14 21:28:47 +01:00
Marc Glisse bb4cf33b5e SFINAE issue with MSVC. 2014-03-14 15:08:54 +01:00