Commit Graph

106 Commits

Author SHA1 Message Date
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 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
Marc Glisse c705ad6697 more functors 2012-06-01 17:23:08 +00:00
Marc Glisse 7fc5d1fe72 add a few functors 2012-06-01 16:35:29 +00:00
Marc Glisse afacf01433 comment 2012-05-21 07:27:47 +00:00
Marc Glisse 794cd86431 minor dimension stuff 2012-05-17 10:59:55 +00:00
Marc Glisse a031abe9a0 minor preps for dynamic dimension 2012-05-16 14:49:32 +00:00
Marc Glisse ec3428bbfc More squared_distance_to_origin. 2012-05-16 12:44:44 +00:00
Marc Glisse 3e3e8efcc9 in_sphere computation depending on whether the squared norm is precomputed. 2012-05-16 12:26:27 +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 f442a9bb3b Same cleanup. 2012-05-09 10:48:37 +00:00
Marc Glisse cf02718e45 Cleanup:
- remove unused typedefs
- FT -> RT where it makes sense
- add a FIXME
2012-05-09 10:20:26 +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 0cd1fdea4c Replace pair<Point> with Segment<Kernel> (lazier) in preparation for the switch away from Type<>. Used an implementation that was there, but it should probably derive from std::pair instead. 2012-04-11 10:09:46 +00:00
Marc Glisse 7fe5e1741b fix iterators in lazy kernel, seems ok now 2012-03-28 18:22:51 +00:00
Marc Glisse 1e22b787c3 minor lazy fix. 2012-03-27 20:30:45 +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 c64689ba83 Now the revert 2012-03-24 21:20:12 +00:00
Marc Glisse e64fd9fc7e Lazy iterators, doesn't compile, and even if it did, definitely a bad idea. Going to revert right after the commit, I just want to keep the code somewhere... 2012-03-24 21:10:19 +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 8b3539df88 Handle duplicates. 2012-03-24 20:25:24 +00:00
Marc Glisse 5ef5dae107 make doc and impl of converter closer. 2012-03-23 17:45:51 +00:00
Marc Glisse 2dad38bb31 More Object_list. 2012-03-22 14:51:00 +00:00
Marc Glisse c3e8bff39d typeset intersection/union.
use typeset in kernel converter (unifies C++03 and C++11 code).
2012-03-22 14:44:13 +00:00
Marc Glisse df87f24149 introduce Object_list 2012-03-21 20:42:34 +00:00
Marc Glisse 11c5bc353f Basic typeset. Not sure I'll use it yet.\nSome tex file (no content) so I can try the manual tools. 2012-02-28 08:51:14 +00:00
Marc Glisse 92e92d730d missing inline. convert points without iterators. 2011-12-17 09:51:53 +00:00
Marc Glisse b5b521381c Kernel_d-like interface 2011-12-07 11:04:28 +00:00