Commit Graph

586 Commits

Author SHA1 Message Date
Sebastien Loriot c1def7afc7 fix warning 2015-07-28 17:15:06 +02:00
Clement Jamin 1c70482064 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2015-07-20 12:19:54 +02:00
Clement Jamin 80d046bc81 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-07-20 12:17:03 +02:00
Laurent Rineau aa72eaa371 Merge pull request #154 from maxGimeno/CGAL-Qt5_support-GF
Qt5 support, GSoC 2014

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Qt5_support

In this commit, I have fixed the permissions of the file:
	Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/data/points

In this commit, I have also modified:
	Installation/changes.html
2015-07-17 14:13:37 +02:00
Marc Glisse 785903b058 Replace Value_at (computation) with Oriented_side (predicate). 2015-07-15 12:18:21 +02:00
Marc Glisse 05ed02d319 Use matrix of static size when possible. 2015-07-15 12:06:11 +02:00
Marc Glisse b8503f3788 Handle hyperplanes passing through the origin. 2015-07-15 11:50:34 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Laurent Rineau 81b7171da2 Merge pull request #84 from mglisse/NewKernel_d-insphere-glisse
Add functors to Epick_d

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Side_of_bounded_diametral_sphere
2015-05-18 11:21:01 +02:00
Marc Glisse 3a322b76e5 Explicit cast to make VS quiet (?) 2015-05-13 16:18:38 +02:00
Marc Glisse 10ed4a2991 Rename functor in the test. 2015-05-12 18:09:41 +02:00
Marc Glisse 24ae40100e Merge branch 'NewKernel_d-insphere-glisse-old' into NewKernel_d-insphere-glisse
Conflicts:
	NewKernel_d/include/CGAL/NewKernel_d/functor_tags.h
	NewKernel_d/test/NewKernel_d/Epick_d.cpp
2015-05-12 17:56:35 +02:00
Marc Glisse 3c489ef482 More circum{sphere,center,radius} related functors. 2015-05-12 17:25:51 +02:00
Andreas Fabri b7f9849599 Replace CGAL::get() with CGAL::get_pointee_or_identity() and remove using get:: 2015-04-30 11:31:21 +02:00
Laurent Rineau 6c6484eaff Merge pull request #10 from lrineau/NewKernel_d-isobox-glisse
Branch from Andreas Fabri, with constributions from Marc Glisse and Clément Jamin.

Adds new functors to Epick_d, so that Epick_d can be used with Spatial Searching.

Tested in CGAL-4.6-Ic-169.
2015-04-01 17:14:06 +02:00
Philipp Moeller 03bf29acf5 Filter_predicate2.h has the wrong include guard
The file was copied from Filtered_kernel and one class was renamed, but apparently the include guard was missed. This leads to missing types when code from Filtered_kernel is included first and vice versa.
2015-03-31 16:28:47 +02:00
Clement Jamin 87f4dcb6c9 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2015-03-25 13:56:36 +01:00
Clement Jamin 5f8ca65abf Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-03-25 13:48:38 +01:00
Marc Glisse 6d9ba0f083 Improve operator<< for Epick_d::Point_d. 2015-02-26 16:14:14 +01:00
Andreas Fabri faa4a11e8e Add operator<<(ostream&, Point_d) 2015-02-26 11:27:37 +01:00
Marc Glisse 2d52f4b728 Construct_min_vertex_d, Construct_max_vertex_d 2015-02-25 16:57:32 +01:00
Marc Glisse ed6ac90384 Link Power_distance_d. 2015-02-24 17:32:47 +01:00
Marc Glisse f4de16d093 Link Power_center_d. 2015-02-24 14:00:28 +01:00
Marc Glisse 7325c00166 WIP: Side_of_bounded_diametral_sphere 2015-01-30 08:24:01 +01:00
Clement Jamin e0b402b094 Merge branch 'Triangulation-higher_dimensions-odevil_shornus'
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Triangulation_d
Tested in CGAL-4.6-Ic-98
Approved by the release manager
2015-01-08 18:15:34 +01:00
Marc Glisse ae4084948e Remove hack for Intel compiler: it didn't work, and version 15 fixed the bug. 2014-12-17 12:25:30 +01:00
Mael Rouxel-Labbé 3f5bb0cdd5 Fix trailing whitespace 2014-11-18 11:33:31 +01:00
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
Clement Jamin f79b923d5e Try to fix a compilation error related to LEDA 2014-09-22 15:22:24 +02:00
Marc Glisse f87f124d64 Orientation in dimension 1. <%-) 2014-09-12 22:22:11 +02:00
Marc Glisse a7b58d60d4 Try a different way to avoid returning a reference to a temporary. The
previous workaround was giving us iterators into temporaries :-(
2014-09-12 18:37:39 +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
Clement Jamin 4b48d7db87 Comments clean-up 2014-09-05 16:03:08 +02:00
Laurent Rineau add951becd Use CGAL::Exact_rational instead of CGAL::Gmpq 2014-08-05 17:28:54 +02:00
Clement Jamin 3c8e50e1b2 Remove const& for now (waiting for a better solution from Marc) 2014-07-29 11:58:08 +02:00
Marc Glisse 0f8c681de9 Rename 2 header files that Laurent doesn't like. 2014-07-02 19:19:42 +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 0d33f5dd9c Remove the old tentative to document preKernel.
Remove the local patched copies of Handle_for and Lazy, they are
necessary for ref-counting and for Lazy_d, but not for Epick_d.
2014-06-20 15:08:36 +02:00
Clement Jamin 54ab0fc5a1 Clean-up debug traces 2014-06-17 14:48:34 +02:00
Marc Glisse 750f09c3c4 Temporarily make Forward_rep copy, I am not sure how best to avoid
returning references to temporaries without copying (or moving).
2014-06-14 23:50:14 +02:00
Clement Jamin 9277e907db Commented the traces out 2014-06-14 08:16:30 +02:00
Clement Jamin 92de88555f More debug traces 2014-06-13 19:12:34 +02:00
Clement Jamin 25a319f4a5 Fix compilation with GCC 2014-06-13 15:33:22 +02:00
Clement Jamin 54a3641ae7 Regular_triangulation. Compiles but does not work. 2014-06-12 13:54:29 +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 53d0db3e48 Move Weighted_point to a subnamespace to avoid collisions.
All the good names are already taken ;-)
2014-06-06 18:13:23 +02:00
Marc Glisse df37199c1e Include Weighted_point.h in Epick_d.h, for now. 2014-06-06 17:24:41 +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
Marc Glisse 8ac34ad7a6 Re-introduce code removed in merge conflict. 2014-05-28 15:13:57 +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 1c6b184657 Add license.txt from detect_packages_licenses.
Update licenses of the 2 files copied from elsewhere in CGAL.
2014-05-16 11:16:54 +02:00
Marc Glisse eb996046c3 Rename macros to appease check_macro_names. 2014-05-16 11:02:42 +02:00
Marc Glisse 77cd25d456 Fewer conversion warnings. 2014-05-10 11:53:49 +02:00
Marc Glisse 38b26e6ce8 max... 2014-05-10 10:45:22 +02:00
Marc Glisse ab0e7fa467 Missed one return statement when I changed the return type. 2014-05-10 02:04:54 +02:00
Marc Glisse 9cb8801c78 Wrong parentheses. 2014-05-09 13:50:16 +02:00
Marc Glisse fa7fdb2dfb Add copyright/license header everywhere. 2014-05-08 20:18:12 +02:00
Marc Glisse 07d2be676d Remove dead file interface_macros.h. 2014-05-08 19:44:34 +02:00
Marc Glisse abe5682ef4 Move Point_d to a namespace so it doesn't conflict with the old kernel. 2014-05-08 19:11:48 +02:00
Marc Glisse 2a387ede81 Remove unused check_dimension_lt. 2014-05-07 19:37:53 +02:00
Marc Glisse cb4ca9d8c8 Don't use Dynamic_dimension_tag::value. 2014-05-07 19:28:33 +02:00
Marc Glisse fc4e4212f2 Remove trailing whitespace. 2014-05-07 19:05:53 +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 1b31e34cbe Order of parameters for std::binary_function. 2014-05-02 16:39:14 +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 a43fb1ef4f Forgot to add/commit Hyperplane_d.h. 2014-04-28 17:34:34 +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 5e5e4d4a4d Remove the wrapper also for non-const argument... 2014-03-20 17:42:05 +01: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 572683c267 Ugly workaround for Intel compiler's issue.
AFAIK the C++98 pedantic macro warnings are the only issue left, and I
don't think I'll change those.
2014-03-15 17:05:19 +01:00
Marc Glisse 7e722ed009 Defining RT and FT in terms of each other is not so useful and can
confuse some compilers.
2014-03-15 16:48:27 +01:00
Marc Glisse effec9de4b Missing 1 argument. 2014-03-15 15:14:23 +01:00
Marc Glisse f730d221d7 Some platforms have decltype but not std::declval. 2014-03-15 15:07:34 +01:00
Marc Glisse 285008f15e Off by 1 in Linear_base. 2014-03-15 11:56:51 +01:00
Marc Glisse 7e4a7ea746 boost::conditional only appeared in boost-1.45, use boost::mpl::if_c for
the benefit of dinosaurs.
2014-03-15 11:24:47 +01:00
Marc Glisse 1836edde46 Quiet sensible warnings. We don't care about dimensions larger than a
billion, but the compiler can't know that.
2014-03-15 10:18:24 +01:00
Marc Glisse 6f7814bf5d Use cpp11::array and std::vector instead of eigen to store objects,
because of alignment issues (fingers crossed for C++17...).

This showed a bug in the way I was conditionally enabling some functors,
good thing there are more than 2 integers.
2014-03-14 21:28:47 +01:00
Marc Glisse bb4cf33b5e SFINAE issue with MSVC. 2014-03-14 15:08:54 +01:00
Marc Glisse e01cbc1659 Stupid language limitation enforced by some compilers. Never use
non-type template parameters for anything fancy.
2014-03-13 18:17:43 +01:00
Marc Glisse b505d6d5d8 Silly clang warning. 2014-03-13 18:01:15 +01:00
Marc Glisse 6c0f38b029 I think VC wants the extra typename, and gcc/clang are not complaining. 2014-03-13 17:43:13 +01:00
Marc Glisse 7390dbcf65 VC and min/max... 2014-03-13 17:38:22 +01:00
Marc Glisse 6a37e80b27 Tweak includes, but that can't make a difference since the previous
header was doing the same.
2014-03-13 14:04:53 +01:00
Marc Glisse 0d1a8f8c96 using typename Base::X; was broken in gcc-4.6. Replace with typedef. 2014-03-13 13:35:25 +01:00
Marc Glisse 6571a80fdd fix pedantic warnings. 2014-03-13 13:21:21 +01:00
Marc Glisse 6098607fb8 Work around a complicated instantiation cycle. Don't hardcode Gmpq. 2014-03-12 18:43:21 +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 b5648be8be Don't copy between point and vector when they are the same. 2014-03-12 15:38:04 +01:00
Marc Glisse 99084cbd8e Dangling reference. 2014-03-12 15:28:16 +01:00
Marc Glisse e84b3d17ed Generic version of Scalar_product. 2014-03-12 14:29:03 +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 31556dfe94 dont_submit 2 files that are patched versions of other packages.
They are not necessary for epick_d, but I don't want to throw them away.
2014-03-12 11:47:32 +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 ec1de48316 Move functor_tags.h into Kernel_d. 2014-03-12 11:29:48 +01:00
Marc Glisse 316533d223 More functors in the test file. 2014-03-10 16:57:15 +01:00
Marc Glisse effd50d311 Move a couple more headers. 2014-03-10 15:40:00 +01:00
Marc Glisse b53fce0b90 Move some headers below Kernel_d. 2014-03-10 15:12:26 +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 f8a07a51da One more (also untested). 2014-02-15 16:12:20 +01:00
Marc Glisse 6fea55e611 One more functor. 2014-02-15 15:12:40 +01:00
Marc Glisse 727bb7b76a 4 more functors. 2014-02-15 14:32:06 +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 6e10080f95 hack to get homogeneous coordinates 2014-02-09 12:18:42 +01:00
Marc Glisse b9af149293 Remove \cgalModif markers. 2014-02-02 12:52:44 +01:00
Marc Glisse 7ddc45a73b pasto 2014-01-13 18:46:24 +01:00
Marc Glisse 066bbb2da2 Minor doc updates. 2013-11-25 16:27:32 +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 29fefc1a22 Has_on_positive_side_d 2013-07-28 20:45:54 +02:00
Marc Glisse 8344312677 Oriented_side_d 2013-07-28 20:21:39 +02:00
Marc Glisse 4dc6fa5d2a Uglify private typedef in Handle_for for C++03 compilers.
Add functor Value_at.
2013-07-28 19:08:31 +02:00
Marc Glisse 14d2073dd2 Move Dimension.h back to its place. 2013-07-22 15:44:50 +02:00
Marc Glisse 0d67d54bf3 I was starting to reduce the diff between master's Lazy.h and mine, but
it is too large, I guess I'll have to start again from the one in
master. IIRC it needed work anyway and is not useful for Epick_d so it
can wait.
2013-07-22 15:11:38 +02:00
Marc Glisse 40119cb6ea and rename the file, to match the class. 2013-07-22 14:28:03 +02:00
Marc Glisse 7c574d3dd8 Rename Filtered_predicate since it isn't compatible with the old version. 2013-07-22 14:23:08 +02:00
Marc Glisse 61d1290505 Missing functor 2013-07-21 16:32:26 +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 92bbb4cb6c Move back long_long.h changes to the original file. 2013-07-19 22:20:29 +02:00
Marc Glisse dafdb45786 Move is_iterator changes back to the original file. 2013-07-19 21:55:34 +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 096c04c794 Minor update for newer CGAL. Remove unused file. 2013-07-19 11:36:40 +02:00
Marc Glisse 380b394e7b Spheres are called circles in 2D. 2013-02-23 10:39:27 +01: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 6e11857e6a Use default functors less eagerly. Prepare for removal of
Cartesian_complete.
2013-01-05 20:44:18 +01:00
Marc Glisse 183f6fec86 Unused 2013-01-05 15:01:56 +01:00
Marc Glisse 5d32399e1b BOOST_MPL_HAS_XXX_TEMPLATE_DEF doesn't work, that took me forever to
track down...
2013-01-05 14:24:06 +01:00
Marc Glisse 82482cf971 Unused 2013-01-04 20:40:25 +01:00
Marc Glisse 7dcb68314e Remove more unused code. 2013-01-04 20:35:00 +01:00
Marc Glisse 85b47f490e Cleanup Cartesian_wrap a bit. 2013-01-04 20:16:12 +01:00
Marc Glisse 816eea66b0 Comment out some unused stuff (so it is visible that it is not used). 2013-01-04 19:28:07 +01:00
Marc Glisse 382591aa02 More types and functors under Get_*. 2013-01-04 18:29:58 +01:00
Marc Glisse 76c8258107 Use a single wrapper for reference counted objects. 2013-01-02 16:05:23 +01:00
Marc Glisse 02516c9e5e If FT is not provided, use Quotient<RT> (for a future homogeneous?).
Avoid circular references :-/
2013-01-02 00:40:14 +01:00
Marc Glisse 0892dad33e Continue moving stuff out of interface_macros.
If no RT is specified, default to FT.
2013-01-01 23:33:10 +01:00
Marc Glisse 3639c6db61 Move more stuff out of interface_macros.h (should disappear soon). 2013-01-01 22:48:11 +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 e71d7c93b1 Rename Tag. 2013-01-01 13:25:40 +01:00
Marc Glisse 023eaa2270 Some meta-programming helpers around Get_type/Get_functor, so the list
of functors in interface_macros.h can disappear.
2012-12-31 16:20:32 +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 74e9067fbd More Get_type. 2012-12-30 22:04:19 +01:00
Marc Glisse e3ea6e5011 (re-)introduce Get_type. 2012-12-29 22:17:45 +01:00
Marc Glisse 7c17e3cc07 More Get_functor. 2012-12-29 19:44:24 +01:00
Marc Glisse e4b8499c36 Start using Get_functor. 2012-12-29 19:10:40 +01:00
Marc Glisse 276a2cea3b Update paths in my private Makefile. 2012-12-29 17:29:28 +01:00
Philipp Möller cb7ac0d4f0 Fix the include guard 2012-12-18 15:16:28 +01:00
Marc Glisse e73ed3a989 Help programs that rely on Kernel_traits 2012-10-09 06:33:29 +00:00
Marc Glisse 940603a746 Allow point construction compatible with Generator_d (I think). 2012-10-03 15:15:55 +00:00
Marc Glisse 5dd6bdca73 missing include 2012-09-28 14:09:07 +00:00
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 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 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 e85b0b11e5 start prekernel doc 2012-05-21 15:56:28 +00:00
Marc Glisse afacf01433 comment 2012-05-21 07:27:47 +00:00
Marc Glisse a4063dd4a0 signed/unsigned warning. Don't remember why I have unsigned here, I thought I'd put signed everywhere... 2012-05-17 11:05:15 +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 e3031af169 Mostly revert the last changes on those 2 files, there is no point trying to support older compilers this way, for them a wrapper class is necessary. 2012-05-09 11:24:12 +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 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