Commit Graph

284 Commits

Author SHA1 Message Date
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 b505d6d5d8 Silly clang warning. 2014-03-13 18:01:15 +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 6571a80fdd fix pedantic warnings. 2014-03-13 13:21:21 +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 71f286cd95 Not using Core. 2014-03-12 15:51:56 +01:00
Marc Glisse 4457675389 Require Eigen3 -> commit a CMakeLists.txt. 2014-03-12 15:40:09 +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 31556dfe94 dont_submit 2 files that are patched versions of other packages.
They are not necessary for epick_d, but I don't want to throw them away.
2014-03-12 11:47:32 +01:00
Marc Glisse 54cd2f416f Rename a bit more to avoid conflicts. 2014-03-12 11:46:46 +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
Marc Glisse ec1de48316 Move functor_tags.h into Kernel_d. 2014-03-12 11:29:48 +01:00
Marc Glisse 316533d223 More functors in the test file. 2014-03-10 16:57:15 +01:00
Marc Glisse effd50d311 Move a couple more headers. 2014-03-10 15:40:00 +01:00
Marc Glisse b53fce0b90 Move some headers below Kernel_d. 2014-03-10 15:12:26 +01:00
Marc Glisse 2233977684 Test that only Intersect_d is missing. 2014-03-10 14:39:02 +01:00
Marc Glisse b5203abcc4 Center_of_sphere 2014-02-26 18:41:01 +01:00
Marc Glisse 51e11eda0e Construct_hyperplane 2014-02-25 17:33:08 +01:00
Marc Glisse d04638c168 Linear_base_d (output iterators are a pain). 2014-02-19 18:13:53 +01:00
Marc Glisse f8a07a51da One more (also untested). 2014-02-15 16:12:20 +01:00
Marc Glisse 6fea55e611 One more functor. 2014-02-15 15:12:40 +01:00
Marc Glisse 727bb7b76a 4 more functors. 2014-02-15 14:32:06 +01:00
Marc Glisse 09e8bcdd5e Side_of_bounded_sphere + work around clang bug in typeset. 2014-02-09 14:18:42 +01:00
Marc Glisse 6e10080f95 hack to get homogeneous coordinates 2014-02-09 12:18:42 +01:00
Marc Glisse b9af149293 Remove \cgalModif markers. 2014-02-02 12:52:44 +01:00
Marc Glisse 7ddc45a73b pasto 2014-01-13 18:46:24 +01:00
Marc Glisse 066bbb2da2 Minor doc updates. 2013-11-25 16:27:32 +01:00
Marc Glisse 2fd3af8408 Bogus sign in side_of_oriented_sphere. The definition is not so intuitive. 2013-10-09 17:52:58 +02:00
Marc Glisse 29fefc1a22 Has_on_positive_side_d 2013-07-28 20:45:54 +02:00
Marc Glisse 8344312677 Oriented_side_d 2013-07-28 20:21:39 +02:00
Marc Glisse 4dc6fa5d2a Uglify private typedef in Handle_for for C++03 compilers.
Add functor Value_at.
2013-07-28 19:08:31 +02:00
Marc Glisse 14d2073dd2 Move Dimension.h back to its place. 2013-07-22 15:44:50 +02:00
Marc Glisse 0d67d54bf3 I was starting to reduce the diff between master's Lazy.h and mine, but
it is too large, I guess I'll have to start again from the one in
master. IIRC it needed work anyway and is not useful for Epick_d so it
can wait.
2013-07-22 15:11:38 +02:00
Marc Glisse 40119cb6ea and rename the file, to match the class. 2013-07-22 14:28:03 +02:00
Marc Glisse 7c574d3dd8 Rename Filtered_predicate since it isn't compatible with the old version. 2013-07-22 14:23:08 +02:00
Marc Glisse 61d1290505 Missing functor 2013-07-21 16:32:26 +02:00
Marc Glisse 4d6d5e685b Reviewers asked that Epick_d take a type argument for the dimension
instead of an int.
2013-07-21 15:31:57 +02:00
Marc Glisse 92bbb4cb6c Move back long_long.h changes to the original file. 2013-07-19 22:20:29 +02:00
Marc Glisse dafdb45786 Move is_iterator changes back to the original file. 2013-07-19 21:55:34 +02:00
Marc Glisse a5b9e12a7c Copy the doc to doxygen (haven't tried to compile yet). 2013-07-19 18:57:33 +02:00
Marc Glisse 096c04c794 Minor update for newer CGAL. Remove unused file. 2013-07-19 11:36:40 +02:00
Marc Glisse 380b394e7b Spheres are called circles in 2D. 2013-02-23 10:39:27 +01:00
Marc Glisse a2fc0a4a85 Fix change_FT, remove dead complete_* code. 2013-01-06 00:16:45 +01:00
Marc Glisse 8c2c86ae45 Move all segment-related code in the same file, as is already the case
for sphere and others.
2013-01-05 23:31:07 +01:00
Marc Glisse 7aa00b76aa Use Get_* for segments too. Disable Cartesian_complete, now useless. 2013-01-05 23:20:14 +01:00
Marc Glisse 6e11857e6a Use default functors less eagerly. Prepare for removal of
Cartesian_complete.
2013-01-05 20:44:18 +01:00
Marc Glisse 183f6fec86 Unused 2013-01-05 15:01:56 +01:00
Marc Glisse 5d32399e1b BOOST_MPL_HAS_XXX_TEMPLATE_DEF doesn't work, that took me forever to
track down...
2013-01-05 14:24:06 +01:00
Marc Glisse 82482cf971 Unused 2013-01-04 20:40:25 +01:00
Marc Glisse 7dcb68314e Remove more unused code. 2013-01-04 20:35:00 +01:00
Marc Glisse 85b47f490e Cleanup Cartesian_wrap a bit. 2013-01-04 20:16:12 +01:00
Marc Glisse 816eea66b0 Comment out some unused stuff (so it is visible that it is not used). 2013-01-04 19:28:07 +01:00
Marc Glisse 382591aa02 More types and functors under Get_*. 2013-01-04 18:29:58 +01:00
Marc Glisse 76c8258107 Use a single wrapper for reference counted objects. 2013-01-02 16:05:23 +01:00
Marc Glisse 02516c9e5e If FT is not provided, use Quotient<RT> (for a future homogeneous?).
Avoid circular references :-/
2013-01-02 00:40:14 +01:00
Marc Glisse 0892dad33e Continue moving stuff out of interface_macros.
If no RT is specified, default to FT.
2013-01-01 23:33:10 +01:00
Marc Glisse 3639c6db61 Move more stuff out of interface_macros.h (should disappear soon). 2013-01-01 22:48:11 +01:00
Marc Glisse 7445bb7f34 More Get_type, replaces the nested RT, FT, Boolean, Comparison_result,
etc.
2013-01-01 16:42:35 +01:00
Marc Glisse e71d7c93b1 Rename Tag. 2013-01-01 13:25:40 +01:00
Marc Glisse 023eaa2270 Some meta-programming helpers around Get_type/Get_functor, so the list
of functors in interface_macros.h can disappear.
2012-12-31 16:20:32 +01:00
Marc Glisse 7b2752ae32 Minor Get_type-related fixes (previous change was a bit too automatic). 2012-12-30 23:11:48 +01:00
Marc Glisse 74e9067fbd More Get_type. 2012-12-30 22:04:19 +01:00
Marc Glisse e3ea6e5011 (re-)introduce Get_type. 2012-12-29 22:17:45 +01:00
Marc Glisse 7c17e3cc07 More Get_functor. 2012-12-29 19:44:24 +01:00
Marc Glisse e4b8499c36 Start using Get_functor. 2012-12-29 19:10:40 +01:00
Marc Glisse 276a2cea3b Update paths in my private Makefile. 2012-12-29 17:29:28 +01:00
Philipp Möller cb7ac0d4f0 Fix the include guard 2012-12-18 15:16:28 +01:00
Marc Glisse e73ed3a989 Help programs that rely on Kernel_traits 2012-10-09 06:33:29 +00:00
Marc Glisse 940603a746 Allow point construction compatible with Generator_d (I think). 2012-10-03 15:15:55 +00:00
Marc Glisse 5dd6bdca73 missing include 2012-09-28 14:09:07 +00:00
Marc Glisse 7daca6fb9b More types and functors from the Kernel_d concept. 2012-09-19 14:37:44 +00:00
Marc Glisse 879d16096e follow kernel_d concept to construct an iterator 2012-09-09 13:20:02 +00:00
Marc Glisse bf119fc83f s/CGAL_USE_EIGEN/CGAL_EIGEN3_ENABLED/g
That doesn't look very consistent, but it's what cgal uses.
2012-08-31 20:24:47 +00:00
Marc Glisse 4fc9c340be this functor was already there 2012-08-23 16:26:22 +00:00
Marc Glisse 6df643c538 List the missing functors 2012-08-23 15:53:49 +00:00
Marc Glisse ce307dc585 Buh, the tests just pass for dynamic dimension... 2012-08-23 12:51:27 +00:00
Marc Glisse e067f7fcdf Test lexicographic comparison.
Make kernel constructors more uniform.
2012-08-23 11:50:46 +00:00
Marc Glisse 18193f1298 Test (and fix) Contained_in_affine_hull_d 2012-08-22 16:16:32 +00:00
Marc Glisse d270e67117 Test in_flat_side_of_oriented_sphere 2012-08-22 15:57:26 +00:00
Marc Glisse b185997a71 Kill warning, convert Flat_orientation (may need something nicer later), test in_flat_orientation. 2012-08-22 14:31:11 +00:00
Marc Glisse 8856fbb938 More testing, less warning. 2012-08-19 10:44:14 +00:00
Marc Glisse 5de10d887b connect a few more types 2012-08-15 17:31:05 +00:00
Marc Glisse e6ef3d45fe Add Epick_d 2012-08-15 16:20:39 +00:00
Marc Glisse 1e8fc14029 Flat_orientation in Lazy_kernel 2012-08-12 11:08:12 +00:00
Marc Glisse 4ca9d09b87 warnings 2012-08-12 10:08:10 +00:00
Marc Glisse 9e9decda2d matching access functions 2012-08-11 15:28:40 +00:00
Marc Glisse 6eb31e6f87 test kernel_d interface 2012-08-11 14:47:19 +00:00
Marc Glisse 940f6efccf iterator in the interface 2012-08-11 08:36:11 +00:00
Marc Glisse 8565eee63b Placeholder sphere, hyperplane. Unused and untested. 2012-06-03 15:20:48 +00:00