Commit Graph

160 Commits

Author SHA1 Message Date
Marc Glisse 8c5e28cd3d Power_center. 2014-10-21 17:20:20 +02:00
Marc Glisse 57690e3a90 Translated_point_d 2014-10-14 16:19:00 +02:00
Marc Glisse 4c6c0be37f Unofficial Epeck_d (exact and very slow) for testing purposes. 2014-10-13 17:11:43 +02:00
Clement Jamin 6078634d07 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-23 08:56:09 +02:00
Marc Glisse 86de7491fd Difference_of_points_d. 2014-09-11 17:56:05 +02:00
Clement Jamin 7c75c2f73d Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-10 15:50:34 +02:00
Marc Glisse 1c8dd2c1e1 Difference_of_vectors_d, Scalar_product_d. 2014-09-09 18:42:03 +02:00
Clement Jamin 03253edf19 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-09 14:35:38 +02:00
Marc Glisse 54d23d7a9b Squared_length_d, Scaled_vector_d. 2014-09-09 12:47:31 +02:00
Laurent Rineau add951becd Use CGAL::Exact_rational instead of CGAL::Gmpq 2014-08-05 17:28:54 +02:00
Laurent Rineau 07edbca4cd Add "NOTICE:" to please the regex for missing dependencies
Trivial fix for master
2014-07-01 11:28:00 +02:00
Marc Glisse f88bfc0e51 Work around Visual Studio's inability to perform the empty base optimization.
(cherry picked from commit 0796b53a91)
2014-06-12 10:37:30 +02:00
Marc Glisse 0796b53a91 Work around Visual Studio's inability to perform the empty base optimization. 2014-06-11 19:17:36 +02:00
Marc Glisse 43aba79297 Default constructor for Weighted_point_d. 2014-06-06 23:00:52 +02:00
Marc Glisse 6745d3058c Default constructor for Sphere, Hyperplane, Segment. 2014-06-06 21:03:55 +02:00
Marc Glisse ac30387173 Typo (confusion between point and vector). 2014-05-29 18:39:16 +02:00
Marc Glisse 7957b757f6 Vector_d::operator[] 2014-05-29 18:26:12 +02:00
Marc Glisse 1d2d456d17 Typedefs for the weighted_point interfaces. 2014-05-28 17:17:35 +02:00
Marc Glisse 66679e327d In_flat_power_test 2014-05-28 17:00:37 +02:00
Marc Glisse a7417b582d Power test. 2014-05-28 16:40:14 +02:00
Clement Jamin 56c834f687 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse' of ssh://scm.cgal.org/var/git/cgal into Triangulation-add_regular_tri-cjamin_mglisse 2014-05-28 15:00:15 +02:00
Marc Glisse bfc5a33ac4 Weighted_point type. 2014-05-27 15:57:51 +02:00
Marc Glisse 7d5e11295c Last clang warning !!! 2014-05-06 17:39:13 +02:00
Marc Glisse d218be48be Test Contained_in_simplex 2014-05-06 16:04:51 +02:00
Marc Glisse de3314319f Test Affine_rank. 2014-05-06 15:15:31 +02:00
Marc Glisse 153f10eca4 Test Affinely_independent. 2014-05-06 14:29:25 +02:00
Marc Glisse 3596f5cbef Test Linearly_independent. 2014-05-06 14:10:40 +02:00
Marc Glisse b704bd2da7 Test Contained_in_linear_hull. 2014-05-06 13:54:57 +02:00
Marc Glisse b919256566 Test Linear_rank. Depends on the branch Number_types-Interval_with_long-glisse. 2014-05-05 18:34:34 +02:00
Marc Glisse dda84d067b Test more functors. 2014-04-30 17:55:20 +02:00
Marc Glisse 36f0f9c754 Test a few more functors. 2014-04-30 17:08:56 +02:00
Marc Glisse cf26434f0c Improve hyperplane support. 2014-04-19 13:04:18 +02:00
Marc Glisse 171259e8c2 Make Point DefaultConstructible even in an unknown dimension (gives a
point of dim 0).

(cherry picked from commit 1d10685ec7)
2014-04-02 15:43:22 +02:00
Marc Glisse 1d10685ec7 Make Point DefaultConstructible even in an unknown dimension (gives a
point of dim 0).
2014-04-02 15:37:24 +02:00
Marc Glisse 7cb5ef208d Construct_flat_orientation orients positively.
That's a bit inconvenient and not necessary at all for Triangulation,
and it exposes a bug there where dark and light triangulations have
inconsistent orientations.

(cherry picked from commit a7d67459b9)
2014-03-31 17:45:09 +02:00
Marc Glisse a7d67459b9 Construct_flat_orientation orients positively.
That's a bit inconvenient and not necessary at all for Triangulation,
and it exposes a bug there where dark and light triangulations have
inconsistent orientations.
2014-03-31 00:14:30 +02:00
Marc Glisse 602d4e059a Ambient_dimension. 2014-03-19 15:07:19 +01:00
Marc Glisse ef14beca0d typedef Epick_d::Dimension 2014-03-18 17:31:17 +01:00
Marc Glisse 5eaa931607 Missed one boost::conditional in the testcase. 2014-03-17 08:20:48 +01:00
Marc Glisse 71f286cd95 Not using Core. 2014-03-12 15:51:56 +01:00
Marc Glisse 4457675389 Require Eigen3 -> commit a CMakeLists.txt. 2014-03-12 15:40:09 +01:00
Marc Glisse 09f3db2025 define CGAL_CXX11. 2014-03-12 14:07:47 +01:00
Marc Glisse 3eb0fd546c C++0x -> C++11 2014-03-12 11:54:10 +01:00
Marc Glisse 54cd2f416f Rename a bit more to avoid conflicts. 2014-03-12 11:46:46 +01:00
Marc Glisse 271debb4ac Kernel_d/ -> NewKernel_d/ to avoid conflicts.
The whole content is currently private.
2014-03-12 11:35:12 +01:00
Marc Glisse 316533d223 More functors in the test file. 2014-03-10 16:57:15 +01:00
Marc Glisse 2233977684 Test that only Intersect_d is missing. 2014-03-10 14:39:02 +01:00
Marc Glisse b5203abcc4 Center_of_sphere 2014-02-26 18:41:01 +01:00
Marc Glisse 51e11eda0e Construct_hyperplane 2014-02-25 17:33:08 +01:00
Marc Glisse d04638c168 Linear_base_d (output iterators are a pain). 2014-02-19 18:13:53 +01:00
Marc Glisse 09e8bcdd5e Side_of_bounded_sphere + work around clang bug in typeset. 2014-02-09 14:18:42 +01:00
Marc Glisse b9af149293 Remove \cgalModif markers. 2014-02-02 12:52:44 +01:00
Marc Glisse 2fd3af8408 Bogus sign in side_of_oriented_sphere. The definition is not so intuitive. 2013-10-09 17:52:58 +02:00
Marc Glisse 14d2073dd2 Move Dimension.h back to its place. 2013-07-22 15:44:50 +02:00
Marc Glisse 4d6d5e685b Reviewers asked that Epick_d take a type argument for the dimension
instead of an int.
2013-07-21 15:31:57 +02:00
Marc Glisse a5b9e12a7c Copy the doc to doxygen (haven't tried to compile yet). 2013-07-19 18:57:33 +02:00
Marc Glisse a2fc0a4a85 Fix change_FT, remove dead complete_* code. 2013-01-06 00:16:45 +01:00
Marc Glisse 8c2c86ae45 Move all segment-related code in the same file, as is already the case
for sphere and others.
2013-01-05 23:31:07 +01:00
Marc Glisse 7aa00b76aa Use Get_* for segments too. Disable Cartesian_complete, now useless. 2013-01-05 23:20:14 +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 7b2752ae32 Minor Get_type-related fixes (previous change was a bit too automatic). 2012-12-30 23:11:48 +01:00
Marc Glisse 7c17e3cc07 More Get_functor. 2012-12-29 19:44:24 +01:00
Marc Glisse 276a2cea3b Update paths in my private Makefile. 2012-12-29 17:29:28 +01:00
Marc Glisse 940603a746 Allow point construction compatible with Generator_d (I think). 2012-10-03 15:15:55 +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 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 d270e67117 Test in_flat_side_of_oriented_sphere 2012-08-22 15:57:26 +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 e6ef3d45fe Add Epick_d 2012-08-15 16:20:39 +00:00
Marc Glisse 4ca9d09b87 warnings 2012-08-12 10:08:10 +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 e86a11c0ca shorten some functor names 2012-05-16 11:18:04 +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 98440b3bd2 hush noisy warnings with g++47 and eigen 2012-03-22 11:12:10 +00:00
Marc Glisse 212ca488ea CGAL_CFG macros 2011-12-07 11:21:00 +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 d90d515da4 Fix untested code.
Add more CRTP.
Work around too much CRTP...
2011-11-05 14:33:54 +00:00
Marc Glisse e12e4f0705 Reuse existing static filter 2011-10-28 17:38:26 +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 21228b30e6 Continue removing LA.
Start obfuscating^Wusing an indirection for object types.
2011-10-12 19:48:23 +00:00
Marc Glisse 43d50228f2 Side_of_oriented_sphere 2011-06-20 13:58:26 +00:00
Marc Glisse 3369e6120c rename Orientation 2011-05-30 10:08:31 +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 32fecea31f Lazy_cartesian is an independent layer 2011-05-20 15:58:28 +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