Commit Graph

30 Commits

Author SHA1 Message Date
Marc Glisse 7aa00b76aa Use Get_* for segments too. Disable Cartesian_complete, now useless. 2013-01-05 23:20:14 +01:00
Marc Glisse 7dcb68314e Remove more unused code. 2013-01-04 20:35:00 +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 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 e3ea6e5011 (re-)introduce Get_type. 2012-12-29 22:17:45 +01: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 ce307dc585 Buh, the tests just pass for dynamic dimension... 2012-08-23 12:51:27 +00:00
Marc Glisse ec3428bbfc More squared_distance_to_origin. 2012-05-16 12:44:44 +00:00
Marc Glisse c850599085 shorten some functor names 2012-05-16 11:21:30 +00:00
Marc Glisse e86a11c0ca shorten some functor names 2012-05-16 11:18:04 +00:00
Marc Glisse 485d5d3894 dot product 2012-04-23 14:34:12 +00:00
Marc Glisse 8269d8129f let it compile. let the kernel use what LA provides. 2012-04-20 18:20:18 +00:00
Marc Glisse 9ab9754a1b remove redundant file 2012-04-18 17:11:56 +00:00
Marc Glisse dee3b16c29 LA has a fixed dimension + rebind, as Samuel did.
Fold Vector back into LA (partially).
2012-04-16 16:18:56 +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 df87f24149 introduce Object_list 2012-03-21 20:42:34 +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 852c317f56 Take vector from Vector, not LA.
Hush signed/unsigned comparison.
2011-10-12 15:40:20 +00:00
Marc Glisse 5717606849 cleanup use of dimension a bit 2011-05-26 17:08:24 +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 a873c26099 Continue with Wrapper 2011-05-13 16:05:15 +00:00
Marc Glisse 55190f7069 don't share Cartesian_const_iterator between point and vector 2011-05-12 16:15:17 +00:00
Marc Glisse 76c16e45ee a 2011-05-12 12:47:30 +00:00
Marc Glisse 146ee6dbd1 A beginning. 2011-05-09 14:08:57 +00:00