Commit Graph

210 Commits

Author SHA1 Message Date
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 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 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 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
Marc Glisse e01cbc1659 Stupid language limitation enforced by some compilers. Never use
non-type template parameters for anything fancy.
2014-03-13 18:17:43 +01:00
Marc Glisse 6c0f38b029 I think VC wants the extra typename, and gcc/clang are not complaining. 2014-03-13 17:43:13 +01:00
Marc Glisse 7390dbcf65 VC and min/max... 2014-03-13 17:38:22 +01:00
Marc Glisse 6a37e80b27 Tweak includes, but that can't make a difference since the previous
header was doing the same.
2014-03-13 14:04:53 +01:00
Marc Glisse 0d1a8f8c96 using typename Base::X; was broken in gcc-4.6. Replace with typedef. 2014-03-13 13:35:25 +01:00
Marc Glisse 6098607fb8 Work around a complicated instantiation cycle. Don't hardcode Gmpq. 2014-03-12 18:43:21 +01:00
Marc Glisse b5648be8be Don't copy between point and vector when they are the same. 2014-03-12 15:38:04 +01:00
Marc Glisse 99084cbd8e Dangling reference. 2014-03-12 15:28:16 +01:00
Marc Glisse e84b3d17ed Generic version of Scalar_product. 2014-03-12 14:29:03 +01:00
Marc Glisse 09f3db2025 define CGAL_CXX11. 2014-03-12 14:07:47 +01:00
Marc Glisse 3eb0fd546c C++0x -> C++11 2014-03-12 11:54:10 +01:00
Marc Glisse 271debb4ac Kernel_d/ -> NewKernel_d/ to avoid conflicts.
The whole content is currently private.
2014-03-12 11:35:12 +01:00