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
1957ecc263
Fix a warning
...
See https://github.com/CGAL/cgal/pull/3660#issuecomment-503915741
2019-06-20 10:14:26 +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
Laurent Rineau
149046f8c1
Merge branch 'master' into NewKernel_d-lazy_Epeck_d-glisse
2019-04-29 19:54:03 +04: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
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
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
Sébastien Loriot
483f69728e
Refresh branch
2018-02-12 22:21:38 +01:00
Simon Giraudot
6269309d86
Use CGAL include for boost counting/transform iterators everywhere
2018-01-23 11:09:52 +01: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
Maxime Gimeno
96f7b0f138
Fix catch value warnings
2017-07-21 11:27:14 +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
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
Marc Glisse
3d8d601b28
Construct_center_d alias for RangeSearchTraits
2016-07-07 19:32:51 +02:00
Clement Jamin
4958fcc746
Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin
2016-06-01 13:35:18 +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
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
Andreas Fabri
52f8129579
replace all std::bind with boost::bind
2016-02-04 08:59:38 +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
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
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
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
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
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
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