Commit Graph

180 Commits

Author SHA1 Message Date
Marc Glisse 36f0f9c754 Test a few more functors. 2014-04-30 17:08:56 +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 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 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 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 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 316533d223 More functors in the test file. 2014-03-10 16:57:15 +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 09e8bcdd5e Side_of_bounded_sphere + work around clang bug in typeset. 2014-02-09 14:18:42 +01:00
Marc Glisse b9af149293 Remove \cgalModif markers. 2014-02-02 12:52:44 +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 14d2073dd2 Move Dimension.h back to its place. 2013-07-22 15:44:50 +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 a5b9e12a7c Copy the doc to doxygen (haven't tried to compile yet). 2013-07-19 18:57:33 +02: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 7445bb7f34 More Get_type, replaces the nested RT, FT, Boolean, Comparison_result,
etc.
2013-01-01 16:42:35 +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 7c17e3cc07 More Get_functor. 2012-12-29 19:44:24 +01:00
Marc Glisse 276a2cea3b Update paths in my private Makefile. 2012-12-29 17:29:28 +01:00
Marc Glisse 940603a746 Allow point construction compatible with Generator_d (I think). 2012-10-03 15:15:55 +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 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 e6ef3d45fe Add Epick_d 2012-08-15 16:20:39 +00:00
Marc Glisse 4ca9d09b87 warnings 2012-08-12 10:08:10 +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 e86a11c0ca shorten some functor names 2012-05-16 11:18:04 +00:00
Marc Glisse 7c91385b87 Remove Type<>. This should make users' life easier (although not mine...). 2012-04-12 16:31:14 +00:00
Marc Glisse 7fe5e1741b fix iterators in lazy kernel, seems ok now 2012-03-28 18:22:51 +00:00
Marc Glisse 39ba4946b4 Split points and vectors some more. Might remerge them later...
Iterators are not objects, handle that everywhere. Still some not-lazy-enough issues I'll have to deal with.
2012-03-27 16:05:32 +00:00
Marc Glisse 2f6dbee262 Small fix to lazy_cartesian now that iterators are objects (will probably change that soon, only caused trouble).
Provide an easy way to have K::Point (shorter than K::Type<Point_tag>::type...). Could do the same for functors, maybe.
Now that I have an Object_list, it would be possible to use directly K::Point and get rid of that Type<Point_tag>::type horror, which sure looks simpler (although it is actually more complicated behind), but it has some drawbacks. In particular, in a CRTP context, typedef std::pair<Derived::Point> Segment; won't work (it worked inside Type<...>), one has to use typedef MySegment<Derived> Segment; instead (C++ can be a pain...).
2012-03-26 11:15:14 +00:00
Marc Glisse f3304589c0 More conversion to iterators as object. Still not sure about that, they end up special cased every time so they probably should have a different category. 2012-03-24 21:08:33 +00:00
Marc Glisse 98440b3bd2 hush noisy warnings with g++47 and eigen 2012-03-22 11:12:10 +00:00
Marc Glisse 212ca488ea CGAL_CFG macros 2011-12-07 11:21:00 +00:00
Marc Glisse 2e88bc0daf Move Segment to a module that can be included. Segmentd.h should disappear, the functionality should be in Wrapper/Segment_d.h. 2011-11-08 11:53:21 +00:00
Marc Glisse d90d515da4 Fix untested code.
Add more CRTP.
Work around too much CRTP...
2011-11-05 14:33:54 +00:00
Marc Glisse e12e4f0705 Reuse existing static filter 2011-10-28 17:38:26 +00:00
Marc Glisse 1d9e7b9858 try and make the converter more flexible 2011-10-25 11:57:11 +00:00
Marc Glisse 3fd4068328 Remove non-Type<tag> stuff 2011-10-17 11:34:11 +00:00
Marc Glisse 21228b30e6 Continue removing LA.
Start obfuscating^Wusing an indirection for object types.
2011-10-12 19:48:23 +00:00
Marc Glisse 43d50228f2 Side_of_oriented_sphere 2011-06-20 13:58:26 +00:00
Marc Glisse 3369e6120c rename Orientation 2011-05-30 10:08:31 +00:00
Marc Glisse 1347e068cd Fix Orientation when Point!=Vector. I don't think there is much point having a single functor for both. 2011-05-25 09:06:05 +00:00
Marc Glisse 9c655afded More stateful kernels. 2011-05-24 15:28:27 +00:00
Marc Glisse 32fecea31f Lazy_cartesian is an independent layer 2011-05-20 15:58:28 +00:00
Marc Glisse 363b57cbd9 finish refcounting wrapper 2011-05-17 20:02:04 +00:00
Marc Glisse 8aaf9c465a Wrap(Null_functor)==Null_functor 2011-05-17 17:30:33 +00:00
Marc Glisse b75920fff5 make Construct_*_cartesian_const_iterator a true functor 2011-05-17 16:40:30 +00:00
Marc Glisse 3690072964 Use a single Functor template regrouping Predicate, Construct and Compute, and a map to know the category of a functor. 2011-05-17 15:21:49 +00:00
Marc Glisse 12fe1be5bb Merge from next to get the is_iterator fix 2011-05-14 10:34:10 +00:00
Marc Glisse 7a58fd43b4 More wrapper ugliness 2011-05-13 20:23:19 +00:00
Marc Glisse a873c26099 Continue with Wrapper 2011-05-13 16:05:15 +00:00
Marc Glisse cb55b147eb d 2011-05-12 16:15:26 +00:00
Marc Glisse 5fa563096e c 2011-05-12 13:23:54 +00:00
Marc Glisse 0e0374300f b 2011-05-12 13:15:40 +00:00
Marc Glisse dc29aebfd2 ploum (but obscenities may come to fill in for empty commit messages) 2011-05-11 20:15:08 +00:00
Marc Glisse 217ed569f2 pouët 2011-05-11 15:14:26 +00:00
Marc Glisse b63f32ccdd Add possibility to filter on kernels instead of number-types. 2011-05-11 10:10:48 +00:00
Marc Glisse 1cd3febf83 A beginning. 2011-05-09 14:08:39 +00:00