Commit Graph

71 Commits

Author SHA1 Message Date
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
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 c358e2ed56 Continue with Type<*_tag> 2011-10-16 08:38:38 +00:00
Marc Glisse 15fddb1e2f continue move to Type<*_tag> 2011-10-14 20:48:31 +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 acf6f6f83e merge trunk (hmm, there is really no point since I work in a separate dir) and start splitting vector from LA. 2011-10-11 14:39:22 +00:00
Marc Glisse 43d50228f2 Side_of_oriented_sphere 2011-06-20 13:58:26 +00:00
Marc Glisse 5717606849 cleanup use of dimension a bit 2011-05-26 17:08:24 +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 5f0f7fb19d couple more places for stateful kernels 2011-05-23 15:58:00 +00:00
Marc Glisse 32fecea31f Lazy_cartesian is an independent layer 2011-05-20 15:58:28 +00:00