Commit Graph

84 Commits

Author SHA1 Message Date
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
Marc Glisse 13c3f90e33 I'd really like for it to compile soon... 2011-12-05 21:08:32 +00:00
Marc Glisse 24d09207ff Missing inline.
Adding a file that's nonsense currently, but I'll be at the office tomorrow.
2011-11-30 19:50:08 +00:00
Marc Glisse 843e3ab1bb Avoid some unnecessary copying. 2011-11-27 12:13:01 +00:00
Marc Glisse 5f5fe32430 Default value for Derived parameter. 2011-11-26 18:57:31 +00:00
Marc Glisse cfce80eb0b Don't include <initializer_list> in C++03. 2011-11-26 18:56:40 +00:00
Marc Glisse ba6c34279d Orientation bypasses LA for small dimensions (filling a matrix is expensive) and can take points directly instead of iterators. 2011-11-26 12:14:08 +00:00
Marc Glisse 075fcc76d4 Add some whitespace ;-) 2011-11-09 14:26:05 +00:00
Marc Glisse 9b54173f8b Orientation taking points directly instead of iterators 2011-11-09 12:07:58 +00:00
Marc Glisse b57b61b13b Make everything lazy by default 2011-11-08 23:42:21 +00:00
Marc Glisse e6978d9189 piecewise construction of segment 2011-11-08 13:26:23 +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 6fc68e95f0 converter on Object and vector 2011-11-06 19:04:55 +00:00
Marc Glisse 8bb065ba55 Wrapper to make it look like DelaunayTriangulationTraits_3 (not tested yet).
Missing the coplanar predicates.
Missing the things that shouldn't be needed for a basic use: tetrahedron, construct_segment, etc.
2011-11-06 11:20:03 +00:00
Marc Glisse e9b21c3035 Hard to count from 0. 2011-11-05 21:46:45 +00:00
Marc Glisse 90c0cca81e minor fixes 2011-11-05 21:23:31 +00:00
Marc Glisse 2956679f01 Wrapper to make it look like DelaunayTriangulationTraits_2 (not tested yet). 2011-11-05 17:39:38 +00:00
Marc Glisse e8f9c73c04 the CRTP problem in the previous patch could be solved more easily (for now). 2011-11-05 15:17:48 +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 333f59470a Fix static filter, which hadn't been properly tested. 2011-11-04 09:02:57 +00:00
Marc Glisse e12e4f0705 Reuse existing static filter 2011-10-28 17:38:26 +00:00
Marc Glisse 38f2c13c86 Let us override default predicates for specific dimensions. 2011-10-28 15:11:17 +00:00
Marc Glisse 58ebdbac51 just a comment 2011-10-28 14:17:58 +00:00