Commit Graph

78 Commits

Author SHA1 Message Date
Laurent Rineau 5ec1b841b7 Merge pull request #3170 from MaelRL/CGAL-Fix_some_STL_extension_namespaces-GF
STL_Extension: move CGAL::iterator and CGAL::unary/binary functions to CGAL::cpp98::
2018-06-20 17:21:01 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau 796d1bdcb6 Merge pull request #3142 from sgiraudot/Spatial_searching-Fix_disable_if-GF
Spatial Searching: bugfix disable_if
2018-06-12 16:38:20 +02:00
Simon Giraudot ff5120e296 Add test of Search traits adapter with Identity map 2018-06-04 10:36:13 +02:00
Laurent Rineau 2596a302c0 Merge pull request #2954 from MaelRL/Spatial_searching-Fix_fuziness_doc-GF
Spatial searching: rework fuzzy items

# Conflicts:
#	Spatial_searching/test/Spatial_searching/Point_with_info.h
2018-06-01 17:24:02 +02:00
Mael Rouxel-Labbé aa95bed59b Added guard object 'Set_ieee_double_precision'
Fixes issues on 32-bit platforms, see:
https://github.com/CGAL/cgal/pull/2954#issuecomment-384974067
2018-05-28 17:16:42 +02:00
Mael Rouxel-Labbé d1803dcae7 Fixed random seed propagation (bis) 2018-05-28 17:12:44 +02:00
Mael Rouxel-Labbé 58ff986724 Removed trailing whitespace 2018-05-25 11:36:10 +02:00
Mael Rouxel-Labbé a927fd17cb Fixed includes 2018-05-25 11:36:00 +02:00
Mael Rouxel-Labbé 182e7669c6 Properly propagate the random seed 2018-05-16 10:40:34 +02:00
Mael Rouxel-Labbé 1e8f8ab358 Fixed constructing field type from non-int variables 2018-05-16 10:38:47 +02:00
Mael Rouxel-Labbé e3ec3759a6 Fixed warning 2018-04-19 14:17:20 +02:00
Mael Rouxel-Labbé 6897cdea85 Do not use an inner approx if 'eps > r' 2018-04-19 14:16:12 +02:00
Mael Rouxel-Labbé 05ebc4f7ca Improved tests: always add random points on inner/outer approximation boundaries 2018-03-23 22:46:31 +01:00
Mael Rouxel-Labbé 68a9f9c98f Fixed boost include 2018-03-23 17:08:06 +01:00
Mael Rouxel-Labbé eb32927352 Improved tests of Fuzzy sphere and iso box 2018-03-23 17:07:54 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Marc Glisse 211458372d Add trivial assert in the test. 2017-05-04 16:25:34 +02:00
Marc Glisse e5c8142bcf Merge branch 'Spatial_searching-misc-glisse-old' into Spatial_searching-misc-glisse 2017-04-29 09:46:05 +02:00
Mael Rouxel-Labbé fe8f36bcac Trailing whitespace in Spatial searching 2017-01-09 17:46:47 +01:00
Mael Rouxel-Labbé affece6748 Renaming away 'exact' and minor changes 2017-01-09 17:36:04 +01:00
Mael Rouxel-Labbé 577a335aae Fixed inequalities in Circular_query.cpp 2017-01-09 14:40:40 +01:00
Marc Glisse f7741b1f2b Confusion between the 2 islower flags. Ordering issue on setting / clearing removed_ flag. 2016-11-25 17:19:03 +01:00
Marc Glisse 7bdb83a4e1 Very minimal test for Kd_tree::remove. 2016-11-25 15:34:18 +01:00
Sébastien Loriot 96c1d4c45b remove a non needed requirement from concepts
Kernel_traits was needed for the random generator in the examples/tests
2016-10-27 09:41:44 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 6326ea2372 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' 2016-06-16 16:19:04 +02:00
Sébastien Loriot 94828c1eaa add missing const 2016-06-15 17:35:05 +02:00
Sébastien Loriot 013c25c889 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' 2016-06-08 14:11:28 +02:00
Sébastien Loriot ccaa1729ca improve test to cover both Orthogonal & classic incremental neighbor search
Also ensure that the result are good
2016-06-03 16:41:00 +02:00
Sébastien Loriot ebe067191e test takes errors into account for the exit code 2016-05-25 11:51:15 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Laurent Rineau 59a7f710dd Merge branch 'Spatial_searching-final_acceleration-gf'
Improve the performance of Spatial Searching.

Small features:

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

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

Approved by the Release Manager

Conflicts:
	Installation/changes.html
2015-01-15 15:31:35 +01:00
Andreas Fabri c2edcbc1ba Kd_tree::search now returns the correct iterator 2015-01-14 14:58:35 +01:00
m.overtheil d9a132b72e Unrolled orthogonal distance loops for DIM 2 and 3 2014-12-04 14:32:53 +01:00
m.overtheil af343d926e Added new traversal rule and dists vector to Orthogonal search
Functions min_dist_to_rectangle and max... have an overload with
std::vector<FT>& dists now. That is required for ortho searches, so
we have no backwards compatibility.
The values for extended internal nodes have also been changed.
2014-12-02 10:36:36 +01:00
m.overtheil d22d78a04f Reorder pts vector for spatial locality
IMPORTANT: This only works for point types with a
default constructor! Added that in the test.
2014-11-28 12:42:19 +01:00
Andreas Fabri d3f7d2565b Use CGAL_IA_FORCE_TO_DOUBLE to fix the tessuite 2014-11-26 14:44:05 +01:00
Mael Rouxel-Labbé 0cface5c3c Fix Circular_querry.cpp
The Fuzzy_sphere bug (c0cbdab) was previously undetected by
the testsuite because Circular_querry.cpp used circles
with radius that cannot exactly be represented (0.2) in
binary and a point could never exactly be on the circle
(the squared distance would be 0.04 + epsilon and the assertions
did not fail). This attempts to fix it by using decimals
that can exactly be represented.

The testsuite now compiles and runs succesfully locally.
2014-07-15 18:24:51 +02:00
Eric Berberich dee9fc8235 Merge branch 'Snap_rounding_2-kd_tree_replacement-wkhan-old' into Snap_rounding_2-kd_tree_replacement-wkhan
Conflicts:
	Installation/changes.html
2014-04-09 10:11:35 +02:00
Eric Berberich 3723b74b61 removed warning (comparison signed/unsigned) 2014-04-03 11:27:47 +02:00
Eric Berberich 1d24106829 removed waarning (comparison signed/unsigned) shown in testsuite 2014-03-29 12:07:34 +01:00
Eric Berberich 3bec7b2823 added comment and allow that capacity might be larger than demanded 2014-03-28 14:56:03 +01:00
Waqar Khan 7b06c4b7c8 Cout changed to cerr in the error message. 2014-03-28 14:46:12 +01:00
Waqar Khan 98e6007dd3 * Added the capacity() function to the Kd_tree.h and also added its documentation
* Added a test that checks the reserve() and capacity() function for Kd_tree
2014-03-26 18:02:04 +01:00
Sébastien Loriot 0b3c2ae383 fix a documentation bug and add static assertions
the class Search_traits_adapter must use only Lvalue_property_map since
  it uses the Cartesian_const_iterator from the base class which is usually
  simply the pointer on the double in the point. If the point returned by
  the property map is a temporaty, the iterator is invalid and its behavior
  is undefined
2014-02-21 15:36:40 +01:00
Sébastien Loriot 9fcf46e11a replace CGAL_[kernel/qpe/triangulation/]_assertion by assert in tests
this should be the case, following our guidelines.

using:
find */test/* -name '*.[hc]*' | xargs sed -i 's/CGAL_assertion/assert/g'
2013-03-21 10:50:55 +01:00