Commit Graph

83 Commits

Author SHA1 Message Date
Philipp Möller ee09ef2297 Overloading intersection and do_intersect now work by introducing a better match for every possible function 2011-11-18 14:14:41 +00:00
Philipp Möller 450f438518 IT shortcut not circumvents specifying a kernel making it an actual shortcut and nicer for exposure in APIs 2011-11-10 11:06:26 +00:00
Philipp Möller a4e6d57cff Circular_kernel_2 and Circular_kernel_3 now use CGAL_INTERSECTION_VERSION for backwards compatability 2011-11-09 14:29:46 +00:00
Philipp Möller c2bfb68112 * Now dispatching on Ambient_dimension
* incorporated result_type == Object to remove more ifdefs
2011-11-09 11:35:04 +00:00
Philipp Möller 33430eef68 Intersections_3 now fully uses CGAL_INTERSECTION_VERSION 2011-11-08 17:37:24 +00:00
Philipp Möller 66d08b8d65 Intersections_2 now uses CGAL_INTERSECTION_VERSION for backwards compatibility 2011-11-08 13:55:12 +00:00
Philipp Möller a6f4cb16ae Macro for versioning the intersections and support for both versions in the top level function. 2011-11-08 11:56:57 +00:00
Philipp Möller b07e2df018 * Circular_kernel is now Object free, doesn't compile with Lazy yet,
* hack for ternary function
2011-08-25 21:40:12 +00:00
Philipp Möller a1576670e3 Weird remove with subversion 2011-08-25 14:07:29 +00:00
Philipp Möller 5b925d6f6e * Reworked Intersection_traits into a single traits, adjusted
intersections accordingly, turned on IT<....> as return type
* removed result_type from the intersection functors
2011-08-25 10:18:31 +00:00
Philipp Möller 203e5e6f02 Template typo 2011-07-22 00:50:25 +00:00
Philipp Möller fad504838f * Circular_kernel: - Intersections now use variants
- removed most internal uses of Object
* Intersections: more traits, typofix, doc typofix, aliases IT23d
2011-07-20 22:54:03 +00:00
Philipp Möller 12f79a7d1e Object includes and last intersection stragglers 2011-07-18 17:31:20 +00:00
Philipp Möller 2f9b36d618 * intersection and do_intersection now pick their appropriate
overloads automatically;

* a test for the availability of all calls has been added
2011-07-12 16:53:49 +00:00
Philipp Möller 0cbd02a7e5 global free function do_intersect and intersections now use traits instead of overloading 2011-07-06 12:38:58 +00:00
Philipp Möller 6afb8bfea2 * Distance_2: removed unnecessary Object include
* Intersections_2:      Intersections_traits_2 added
                        All Intersections now use Intersection_traits and variants internally 
                        but the public interface still converts to CGAL::Object
2011-07-06 00:58:51 +00:00
Philipp Möller 4fe4a84da1 Benchmark now fairer 2011-07-01 17:15:05 +00:00
Philipp Möller 70d8baaf37 * Added dispatch_output_iterator, need to change benchmark to make comparison fairer 2011-06-30 20:19:24 +00:00
Philipp Möller 212feac613 Benchmark now with Overloads 2011-06-23 13:30:33 +00:00
Philipp Möller d42c530e6e Added variant to object conversion. 2011-06-16 15:05:27 +00:00
Philipp Möller 899903cb02 Added comparison for any. 2011-06-16 14:40:21 +00:00
Philipp Möller decaaf4286 Added intersection_traits and lambda visitor example 2011-06-16 10:39:38 +00:00
Philipp Möller 4266171b46 Added a quick benchmark for variant vs object in intersections 2011-06-15 17:24:07 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Laurent Rineau 08418743b9 Typo. 2009-10-20 10:18:30 +00:00
Laurent Rineau eec1738f8f Factorize do_intersect(line, seg, k) and do_intersect(seg, line, k). 2009-10-20 09:57:22 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Pedro Machado Manhaes de Castro 810601ebb1 Circle_2 Line_2 do_intersect can be done with rationals 2008-10-13 20:35:32 +00:00
Sylvain Pion 696cbd9e6e More *_pair classes cleanups. 2008-09-07 15:09:56 +00:00
Sylvain Pion 8db83a466a Refactorize Segment_2_Iso_rectangle_2_pair to avoid warning. 2008-08-30 11:10:46 +00:00
Sylvain Pion 00d87d50fc Remove "unused argument" warnings. 2008-08-30 10:29:04 +00:00
Sylvain Pion 9718a5b0bc Make the "random generator" global. 2008-08-29 17:23:49 +00:00
Sylvain Pion 212ec9299c While at it, do the same tests by swapping the arguments, it's cheap. 2008-08-29 17:15:40 +00:00
Sylvain Pion c9786a98af Remove unused files. 2008-08-29 12:27:22 +00:00
Sylvain Pion 488c6f4ce8 Rewrite the test-suite using:
- a single test file
- a template parameter for the kernel
- data sets and results in the source code instead of text files using diff for comparing
- no custom cgal_test script
2008-08-29 12:26:54 +00:00
Sylvain Pion 7d2a42123d Line_2_Line_2_pair changes to avoid a warning.
(code dating back to the origins of CGAL... and it shows...)
2008-08-21 12:50:41 +00:00
Sylvain Pion f5b031be68 Common reformatting of the _pair classes (oh joy...). 2008-08-20 13:49:31 +00:00
Sylvain Pion 49549ded08 Remove the "may be used uninitialized in this function" by refactoring/cleaning the code
(much more would need to be done in this area...).
2008-08-20 12:36:50 +00:00
Sylvain Pion a846642aa9 typo : succes -> success 2008-08-20 12:35:27 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +00:00
Sylvain Pion 173ef7c590 Allow propagation of Uncertain-ty in more places, to reduce the number of exceptions.
- Use K::Bool_type, K::Orientation... instead of bool, CGAL::Orientation...
- More functions around Uncertain<> : make_certain(), extract_singleton(),
                                      possible conversions tightenning.

Many conversions still remain, e.g. for switch and if statements, &&, ||...
2008-07-16 13:45:13 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion b24108f5fd Remove #include <cassert> from everywhere under include/CGAL/.
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00