Commit Graph

570 Commits

Author SHA1 Message Date
Marc Glisse c529279886 update comment 2012-04-25 17:49:31 +00:00
Marc Glisse f531e331d3 Minor fixes.
CGAL::compare<__int128> (yeah, I'll recycle the small feature once the unsigned thing is integrated)
2012-04-25 17:28:48 +00:00
Marc Glisse d52193df25 start on integer coordinates 2012-04-23 20:58:35 +00:00
Marc Glisse 5de77673ee dot product (forgot one file) 2012-04-23 14:35:14 +00:00
Marc Glisse 485d5d3894 dot product 2012-04-23 14:34:12 +00:00
Marc Glisse 8d4e68ab32 determinant omit last coordinate 2012-04-23 13:44:23 +00:00
Marc Glisse e67e7ecdfc Untested SSE Vector_2 2012-04-23 13:09:15 +00:00
Marc Glisse 789bf03909 Untested AVX Vector_4 2012-04-23 11:05:40 +00:00
Marc Glisse 8d8b159090 move 2012-04-21 10:05:42 +00:00
Marc Glisse 4dd39cec38 One more. 2012-04-21 10:04:19 +00:00
Marc Glisse 7c96173f37 Different interfaces to determinant, may not all be useful. 2012-04-20 19:37:54 +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 784156ba77 move determinants to their own file 2012-04-19 18:11:34 +00:00
Marc Glisse 26e611e450 Untested LA experiment. 2012-04-18 17:22:30 +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 98440b3bd2 hush noisy warnings with g++47 and eigen 2012-03-22 11:12:10 +00:00
Marc Glisse df87f24149 introduce Object_list 2012-03-21 20:42:34 +00:00
Marc Glisse 7a14e56b84 still horribly mangled by Manual_tools 2012-03-21 20:19:56 +00:00
Marc Glisse ac3c0d52bd doc for typeset 2012-03-21 19:43:08 +00:00
Marc Glisse 2869bf0c59 make typeset functional. 2012-03-21 18:13:38 +00:00
Marc Glisse 7dd3d86ff1 newline 2012-03-21 15:41:53 +00:00
Marc Glisse 82cec77b9e details 2012-03-21 13:07:36 +00:00
Marc Glisse 09a52dccc3 note on object wrapper for stateful kernels 2012-03-21 12:37:52 +00:00
Marc Glisse 83ac195e3f lazy doc 2012-03-20 16:16:44 +00:00
Marc Glisse c57757e24e doc Cartesian_wrap 2012-03-20 14:35:53 +00:00
Marc Glisse 41d9a5e631 doc segment 2012-03-19 15:55:49 +00:00
Marc Glisse 4c60e9f669 let doc compile 2012-03-19 12:16:21 +00:00
Marc Glisse 99b0bf9604 more doc... 2012-03-19 11:31:51 +00:00
Marc Glisse ba79a013d0 more doc stubs 2012-03-19 11:25:20 +00:00
Marc Glisse 5a20d46962 basic doc for filtered kernel and kernel converter 2012-03-17 15:52:22 +00:00
Marc Glisse 821dc0a543 doc for Point 2012-03-16 18:05:14 +00:00
Marc Glisse e9c2442176 typo 2012-03-16 17:20:56 +00:00
Marc Glisse d75fff953e Minor doc changes I forgot to commit from the office. 2012-03-16 17:12:44 +00:00
Marc Glisse 1d02e5a32c beginning of a doc, seems to compile, although PkgDescription may be ignored... 2012-02-28 15:11:00 +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 212ca488ea CGAL_CFG macros 2011-12-07 11:21:00 +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 4d0c67612e sizeof... always needs parentheses 2011-11-26 16:08:43 +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 9374416840 Same change as in next. 2011-05-31 17:58:38 +00:00
Marc Glisse 3369e6120c rename Orientation 2011-05-30 10:08:31 +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
Marc Glisse ef27c36545 f 2011-05-19 15:19:03 +00:00
Marc Glisse 447777d156 e 2011-05-19 14:17:17 +00:00
Marc Glisse 895c891cd2 Small start on stateful kernels 2011-05-18 16:47:24 +00:00
Marc Glisse b92b4d87f0 Aux armes, citoyens
Formez vos bataillons
Marchez, marchez !
Qu'un sang impur
Abreuve nos sillons !
2011-05-17 20:08:57 +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 c17a1b2f6d forgot to svn add 2011-05-14 13:38:01 +00:00
Marc Glisse 372dae5009 continue refcount 2011-05-14 13:37:19 +00:00
Marc Glisse 12fe1be5bb Merge from next to get the is_iterator fix 2011-05-14 10:34:10 +00:00
Marc Glisse 8d0384fb9e Start on a reference counting wrapper to point 2011-05-14 10:30:38 +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 9ec30b773c Vector wrapper 2011-05-12 19:41:03 +00:00
Marc Glisse cb55b147eb d 2011-05-12 16:15:26 +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 3f6c9660b3 d 2011-05-12 13:24:05 +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 76c16e45ee a 2011-05-12 12:47:30 +00:00
Marc Glisse b92124727e blabla 2011-05-12 10:12:31 +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 a5cdca3cdf &é"#{[|^@]}^$£*µù%!§(-è_çà)=¿? 2011-05-11 10:12:48 +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 6eeb2259a4 Why shouldn't I use empty commit messages? 2011-05-10 15:47:00 +00:00
Marc Glisse 146ee6dbd1 A beginning. 2011-05-09 14:08:57 +00:00
Marc Glisse 1cd3febf83 A beginning. 2011-05-09 14:08:39 +00:00
Marc Glisse ddbfbe8398 directories 2011-04-29 19:49:09 +00:00