Commit Graph

160 Commits

Author SHA1 Message Date
Andreas Fabri 5d70cb1992 Fix package Kernel_d: include headers 2016-09-30 15:22:28 +02:00
Andreas Fabri 5865160c27 We need another macro when the variable is default constructed.
In order to be future compatible I added the suffix "_0"  for "with 0 arguments"
The version without suffix will later get the suffix "_1"
I don't do that now, as there are many open branches to modify
We can do that once they are in master.
2016-09-29 09:24:28 +02:00
Andreas Fabri c47fee31d1 make variables thread local 2016-09-26 14:39:17 +02:00
Frédérik Paradis 35b3b09ab8 Adding less-than operator (<) to Point_d 2016-05-14 14:28:51 -04:00
Frédérik Paradis 39ab3e6e3a Adding const to the rhs of equality check of Iso_box_d 2016-04-12 11:18:46 -04:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri fa5bda2fbb if the else -> ()?: 2016-01-27 11:07:26 +01:00
Andreas Fabri d1ffbee57a a CGAL_USE too much 2016-01-22 08:08:13 +01:00
Andreas Fabri 99b4e2f150 more CGAL_USE and some reindentations 2016-01-21 10:22:20 +01:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Laurent Rineau facb2ae760 Merge pull request #184 from afabri/Kernel_d-small_fix-GF
use assertion_code to avoid a clang warning
2015-07-17 15:26:05 +02:00
Andreas Fabri e4eede4915 use assertion_code to avoid a clang warning 2015-07-16 17:26:46 +02:00
Sébastien Loriot 84d82c3a8e fix unused variable warnings 2015-07-16 10:15:33 +02:00
Philipp Möller 236ae3f9d3 Remove two unused includes of pool_allocator 2015-04-10 14:48:33 +02:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Clement Jamin e7ceaaab4d Update license 2015-01-08 16:44:44 +01:00
Clement Jamin 99085c59a5 Add license 2015-01-06 18:11:18 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Olivier Devillers d8197fb718 merge master and Triangulation 2013-11-29 13:40:14 +01:00
Sébastien Loriot d18e42391b fix Intersect_d functor for intersection API v1 2013-09-25 18:08:54 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot bff03dd71d fix compilation loop issue for decltype based result_of 2013-03-15 19:06:23 +01:00
Sébastien Loriot f97d6b8bd9 s/boost::result_of/cpp11::result_of/g 2013-03-14 10:38:13 +01:00
Philipp Möller 4685e2f440 Use result_of for intersections in Kernel_d 2012-12-10 17:56:01 +01:00
Philipp Möller d198458ca7 Merge branch 'origin-gsoc2011-boost_object-pmoeller' into Kernel-replace_object-pmoeller
Conflicts:
	.gitattributes
	AABB_tree/doc_tex/AABB_tree_ref/AABBGeomTraits.tex
	AABB_tree/doc_tex/AABB_tree_ref/AABBTraits.tex
	AABB_tree/doc_tex/AABB_tree_ref/AABB_traits.tex
	AABB_tree/include/CGAL/AABB_traits.h
	AABB_tree/include/CGAL/AABB_tree.h
	AABB_tree/test/AABB_tree/AABB_test_util.h
	Arrangement_on_surface_2/doc_tex/Arrangement_on_surface_2/arr_queries.tex
	Arrangement_on_surface_2/doc_tex/Arrangement_on_surface_2_ref/Arr_trapezoid_ric_point_location.tex
	Arrangement_on_surface_2/doc_tex/Arrangement_on_surface_2_ref/intro.tex
	Arrangement_on_surface_2/include/CGAL/Arr_batched_point_location.h
	Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_lm_generator_base.h
	Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_lm_random_generator.h
	Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h
	Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_walk_along_line_pl_impl.h
	Arrangement_on_surface_2/include/CGAL/Arr_trapezoid_ric_point_location.h
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/point_location.cpp
	Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_line_arc_2.h
	Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_circular_arc_3.h
	Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_line_arc_3.h
	Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_sphere_3.h
	Filtered_kernel/include/CGAL/Lazy.h
	Filtered_kernel/include/CGAL/Lazy_kernel.h
	Intersections_2/include/CGAL/Triangle_2_Iso_rectangle_2_intersection.h
	Intersections_2/test/Intersections_2/test_intersections_2.cpp
	Intersections_3/test/Intersections_3/test_intersections_3.cpp
	Kernel_23/doc_tex/Kernel_23_ref/intersection.tex
	Kernel_23/include/CGAL/Kernel/Type_mapper.h
	Kernel_d/doc_tex/Kernel_d_ref/Kernel.tex
2012-12-04 17:57:53 +01:00
Marc Glisse e4ed1e89fa Typo in Center_of_sphere_d. 2012-09-24 14:15:54 +00:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Olivier Devillers 576e7338c5 merge next 2012-05-24 09:20:13 +00:00
Philipp Möller 17797b7271 Merge next into this branch. There have been conflicts in the
AABB_tree documentation, Intersections_3 and Arrangement_on_surface_2.

The merge also introduced a regression for a bug fixed in R68387 which
fixed a bug in Triangle_3 Segment_3 intersections. The relevant
testcase is in triangle_other_intersection_test.cpp.
2012-04-24 15:06:19 +00:00
Philipp Möller 3fe7c7b9dd Removed cruft from Intersection_traits and Kernel_d now uses the macros do declare global functions 2011-11-21 13:52:39 +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 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 0408e258b6 Backwards compatibility with INTERSECTION_VERSION. 2011-11-08 14:38:59 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Olivier Devillers ccf1c2c7bb merge next 2011-09-23 12:42:19 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Olivier Devillers 224a5e7f2d merge next 2011-09-19 11:59:14 +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 609dd7c47f intersections_d switched to variant 2011-07-19 16:31:25 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot 0c092b2da3 static_cast<const XXX &> to avoid copy 2011-06-29 07:02:20 +00:00
Sébastien Loriot ca1d3536d9 *use Point_dimension_d in adapter_d
*remove const in Kernel_d result_type functors
2011-05-25 09:23:01 +00:00
Sébastien Loriot b9e7afba64 merge from Spatial_sorting-increase_dimension-odevil 2011-05-25 09:00:55 +00:00
Olivier Devillers 4934cff531 add Point_dimension_d functor in kerneld and spatial_sorting_d traits class 2011-05-25 08:39:09 +00:00
Samuel Hornus b1836a362f fix bug: matrix should not be modified but was 2011-05-09 20:20:22 +00:00
Samuel Hornus 71552e64f2 Unified result_type typedefs 2011-05-06 17:55:49 +00:00
Samuel Hornus 9398b9c46e add types needed for filtering capabilities 2011-05-06 17:08:49 +00:00
Samuel Hornus 01803d9c8b changed implementation of OrientationCd with smaller matrix, and some cosmetic changes 2011-05-02 15:29:22 +00:00
Samuel Hornus 35c988118c write error to cerr when the base of affine subspace is... not a base 2011-05-01 21:30:26 +00:00
Olivier Devillers 2afd39edc3 adding predicate Less_coordinate_d 2011-04-29 14:31:48 +00:00
Olivier Devillers ffb9c445a5 result_type added in function_objects 2011-04-28 16:12:24 +00:00
Olivier Devillers 4b0ef663fc autres modifs 2011-04-28 15:07:51 +00:00
Olivier Devillers 0086efbf49 adding predicates and filtering 2011-04-28 14:34:15 +00:00
Marc Glisse 13a5499caf missing an operator for a true iterator 2011-03-05 16:47:52 +00:00
Laurent Rineau 87c20c90ca Missing #include:
<CGAL/constructions_d.h> from Kernel_d was not self contained.
2010-11-17 10:25:51 +00:00
Olivier Devillers b52f67700b add Compute_coordinate_d 2010-11-12 10:52:58 +00:00
Marc Glisse 5936156cb1 Hush 2010-10-30 21:28:34 +00:00
Olivier Devillers e63e278e35 remove warning 2010-10-22 14:49:31 +00:00
Olivier Devillers 87e5fc54bd remove warning 2010-10-22 14:49:10 +00:00
Andreas Fabri f111a29a8f static_casts 2010-06-22 16:17:33 +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 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
Andreas Fabri b064019f3d struct -> class 2008-10-13 13:18:11 +00:00
Andreas Fabri 13c2776cff Unify struct and class 2008-09-18 13:44:36 +00:00
Andreas Fabri 6723c8d7c2 Unify struct and class 2008-09-18 12:22:25 +00:00
Michael Hoffmann 545229c2de Remove dependency on CGAL/functional. 2008-07-23 15:27:18 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 7eeb87cf71 Add a Dimension typedef to the d-dim kernels.
Swap the order of the arguments of the Point<2, K> so that there can be a default for the dimension.
2008-04-17 14:02:06 +00:00
Sylvain Pion 3868a6ca3d Remove traces of unused NOCGALINCL macro. 2008-04-17 13:32:52 +00:00
Sylvain Pion 55d538b335 "Ambient" is not spelled "Ambiant" in English... 2008-04-17 10:13:31 +00:00
Sylvain Pion 2389cdcc1e Dimension detecting stuff rewrite.
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +00:00
Sylvain Pion 02e543a294 Add Dimension<T, K> whose nested "value" is the dimension of the ambiant
space.  A special constant CGAL::Dynamic_dimension (equal to INT_MAX)
indicates the case where the dimension is only known at run time.
2008-04-11 21:03:22 +00:00
Sylvain Pion 6084db93d2 Extract the class Cartesian_const_iterator_d to make it re-usable
by the 2D-3D Homogeneous kernel as well.
2008-04-09 16:26:38 +00:00
Sylvain Pion 771a50a5f8 Re-add a cast to CGAL::Sign, as LA::sign_of_determinant() returns an int (yuck!).
Maybe "to be fixed later".
2008-04-09 16:24:01 +00:00
Sylvain Pion a70cdbf863 Remove useless comments 2008-04-09 16:07:00 +00:00
Sylvain Pion b0f2c77fdc Remove casts to Oriented_side.
They are useless since we merged the various enum types.
2008-04-09 12:35:10 +00:00
Sylvain Pion 4d1b8d63e3 Remove workarounds and support for the BORLAND compiler. 2008-01-20 20:24:20 +00:00
Sylvain Pion 1caa856e2f Disable workaround for a warning as I suspect it is obsolete. 2008-01-20 15:54:27 +00:00
Sylvain Pion 166798d0fd Replace namespace ::CGALLA by ::CGAL::Linear_Algebra. 2008-01-18 10:20:44 +00:00
Sylvain Pion ba2dc8bab2 Disable debug mode which was enabled by default...
( Maybe this caused slowdowns for the d-dim stuff... )
2008-01-17 21:59:23 +00:00
Sylvain Pion d3179418a4 Move debugthread variable to an internal namespace to avoid clash with Nef_2's,
and pollution of the global scope.
(it remains the fact that it's non sense to have a static variable in a header file,
but it's only debug code, so...)
2008-01-15 13:31:56 +00:00
Sylvain Pion 6049e4ac78 Protect (global scope !!!) definition of debugthread variable by CGAL_KD_DEBUG. 2008-01-12 21:02:46 +00:00
Sylvain Pion fd0df56ebd Get rid of some eternally commented debug code at global scope ::MSDEBUG. 2008-01-12 21:00:11 +00:00
Sylvain Pion b95fbae11a Remove last traces of KCC 2008-01-02 17:28:16 +00:00
Sylvain Pion 28f4ae9125 Fix g++ 4.3 warnings by specifying "{}" as the empty body of for loops
(instead of only a semi-column).
2007-12-27 16:15:21 +00:00
Sylvain Pion fe1bd91e97 add spaces to kill g++ 4.3 warning 2007-12-27 16:07:38 +00:00
Andreas Meyer 0f941fbcf2 again CGAL_error -> CGAL_error_msg 2007-11-09 15:27:44 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sylvain Pion 90b39fe156 Replace abort() by CGAL_assertion*. 2007-11-05 10:08:04 +00:00
Sylvain Pion 51b8b2e28a Do not use _DEBUG, prefix some macros by CGAL_KD_. 2007-05-23 13:33:11 +00:00
Sylvain Pion f7b30ec07b Remove pgcc warnings "white space between backslash and newline in line splice ignored" 2007-03-10 10:42:31 +00:00
Sylvain Pion df23612ab4 macros must be prefixed by CGAL_ 2007-02-15 21:32:14 +00:00
Sylvain Pion 22d4246093 remove warning 2007-02-11 22:39:45 +00:00
Sylvain Pion 37bc9b39dc remove warning 2007-02-11 22:38:44 +00:00
Sylvain Pion df026fcd46 remove g++ 4.3 warning 2007-02-11 22:27:17 +00:00
Michael Hemmer 9b95f31c05 rm global function io_tag
introduced Io_traits with public type Io_tag. 
the default is io_Operator_tag 
--> rm most io_tag specializations without replacement
2006-11-10 13:36:37 +00:00
Bernd Gärtner ef597cca3f fixed operator[]'s to be const 2006-10-21 17:04:32 +00:00