Pierre Alliez
4c3c6e3845
AABB tree: remove warnings in ascii outputs to remove warnings in the test suite.
2009-07-01 21:18:20 +00:00
Pierre Alliez
1d6e776431
AABB tree: some more cleanup.
2009-07-01 20:49:03 +00:00
Pierre Alliez
18611be7bd
aabb data: normalize model.
2009-07-01 13:36:42 +00:00
Pierre Alliez
8f3cbf217e
aabb tree: more code cleanup
2009-06-27 15:26:09 +00:00
Pierre Alliez
dc0f8c60ce
aabb tree: cleanup test formatting
2009-06-26 15:18:35 +00:00
Stéphane Tayeb
f3d154f62f
Remove warning. Fix wrong assert.
2009-06-26 11:43:05 +00:00
Pierre Alliez
330640c7e2
aabb tree: more on tests
2009-06-25 20:45:09 +00:00
Camille Wormser
680e80157d
adds some typename
2009-06-25 15:03:45 +00:00
Pierre Alliez
fd1f03e4d4
aabb tree: more on tests
2009-06-24 19:23:36 +00:00
Pierre Alliez
88c549f6b1
aabb tree: more on tests
2009-06-23 20:26:45 +00:00
Pierre Alliez
a52576ec1f
aabb tree: remove warning
2009-06-23 15:02:11 +00:00
Pierre Alliez
7928121683
AABB tree: added canonical tetrahedron for testing
2009-06-19 10:11:01 +00:00
Stéphane Tayeb
d454f0d1c4
* Fix aabb_distance_triangle_hint_test (check was buggy)
...
* Remove kd-tree construction in generic test function (must be done in test_impl now)
* Add aabb_naive_vs_tree_distance_segment_test
* Minor fix in naive vs tree distance tests (there is probably more to do)
2009-06-18 09:34:16 +00:00
Pierre Alliez
cddf3f8606
aabb tree: fix compilation issue on VC++ (I guess on Linux this worked fine)
2009-06-17 19:41:46 +00:00
Stéphane Tayeb
f76d00c650
Add naive vs tree distance test for triangles.
2009-06-17 16:07:52 +00:00
Pierre Alliez
4ca25c817a
AABB tree: use pinion model for testing
2009-06-17 14:17:36 +00:00
Pierre Alliez
4b277b85f2
AABB tree: added pinion for testing
2009-06-17 10:23:19 +00:00
Stéphane Tayeb
c5fdd0eb17
remove boost_filesystem includes (causes compilation error on MacOSX).
2009-06-17 07:20:10 +00:00
Pierre Alliez
80fee750c6
AABB tree tests
...
- get rid of boost filesystem business - as requires boost lib dependency
- fix warning
2009-06-16 22:22:02 +00:00
Stéphane Tayeb
1f4b3347ef
Add tree vs naive implementation test. It checks that AABB_tree implementation gives the same results than naive iteration over primitives.
2009-06-15 15:45:26 +00:00
Stéphane Tayeb
761a218fff
* Fix configuration error (boost_system is now optional)
...
* Fix singular iterator copy construction error (build with -D_GLIBCXX_DEBUG)
2009-06-09 08:10:21 +00:00
Stéphane Tayeb
adce605e3e
Fix MacOS X link error.
2009-06-08 15:45:19 +00:00
Stéphane Tayeb
53ab3851ae
Fix check_outputs() function.
2009-06-08 07:59:09 +00:00
Stéphane Tayeb
1d9db3f4c0
Fix error with boost::filesystem.
2009-05-26 16:15:51 +00:00
Pierre Alliez
af2ffa9abd
AABB tree: fixes on tests
2009-05-25 07:57:24 +00:00
Pierre Alliez
f7250d8f19
AABB tree: speed test now parameterizable by duration.
2009-05-20 08:15:50 +00:00
Pierre Alliez
18bbbad67a
AABB tree: use boost::filesystem to loop through all .off files.
2009-05-19 15:38:27 +00:00
Stéphane Tayeb
ec8551727d
Remove one wrong call to timer.stop().
2009-05-19 14:38:41 +00:00
Pierre Alliez
c9964aa7ac
AABB tree: more on tests
2009-05-18 20:33:04 +00:00
Pierre Alliez
45ed27682d
AABB tree: more on tests
2009-05-18 20:22:25 +00:00
Stéphane Tayeb
729ba7be05
Test suite code factorization. Minor fix (return type) in AABB_tree.h.
2009-05-18 14:26:29 +00:00
Pierre Alliez
3395e5f699
AABB tree: removed bimba from the test
2009-05-18 09:37:06 +00:00
Camille Wormser
cc5f9e604f
sorry, unintended change
2009-05-14 08:22:32 +00:00
Camille Wormser
f47e9f1f67
one more primitive,
...
more consistent names
2009-05-14 08:20:50 +00:00
Camille Wormser
9087e9b14b
updated documentation with functors in the AABBTraits concept.
...
Should we keep the const& in the description of the functors ?
I kept them in AABBTraits, but we do not have them in AABBGeomTraits...
What should be the policy?
Note that the functors do not have the "_3" in AABBTraits,
but have it in AABBGeomTraits. This is on purpose.
2009-05-11 11:54:50 +00:00
Camille Wormser
74beff3b13
removed all warnings (-Wall -Wextra).
...
IMPORTANT THINGS
- We need to add Compute_squared_distance_3 (at least for Point_3, Point_3) to the traits requirements
- Since we use the (decorated) Traits as a template parameter for the Search_traits_3, we need to add
this as a requirement. Currently, the Search_traits_3 requests that the template parameter be a CGAL
kernel. This is much too strong!
2009-05-10 16:05:48 +00:00
Camille Wormser
0f376fb294
removed the warnings, except in one of the test cases. Working on it.
2009-05-10 15:24:04 +00:00
Pierre Alliez
5b992f0ffa
AABB tree: more on distance tests with anisotropic triangle mesh model (added finger.off)
...
remove one warning
some remains in the KD-tree... was unable to remove them for now.
2009-05-09 19:57:37 +00:00
Pierre Alliez
49bdb725f6
AABB tree
...
factorize some code for the tests into AABB_test_util.h
2009-05-09 07:20:07 +00:00
Pierre Alliez
4a6eb544a8
AABB tree
...
- rename m_data into m_primitives in Tree
- rename m_p_root into m_p_root_node in Tree
put back squared_distance into distance test
2009-05-09 06:57:36 +00:00
Camille Wormser
64b5882ffb
I know exclude the case where the hint is returned from the inconsistencies.
...
It may be more interesting.
2009-05-08 22:49:55 +00:00
Camille Wormser
32678c876e
interesting benchmarks for the hint strategies in distance queries
2009-05-08 19:54:28 +00:00
Camille Wormser
8414b99e9a
now the test suite compiles and runs! :)
2009-05-08 14:06:51 +00:00
Pierre Alliez
c26e8531e1
AABB tree: intersections now return CGAL::Objects.
2009-05-07 21:03:21 +00:00
Pierre Alliez
e034d54b75
AABB tree: more on distance queries
...
- experiments with primitive vs point hints.
2009-05-07 13:18:17 +00:00
Pierre Alliez
5d609213af
AABB tree: distance tests now pick random query points in tree bbox.
2009-05-07 11:11:36 +00:00
Pierre Alliez
0f225c01cf
AABB tree: rename projection to distance in the tests
2009-05-07 09:50:44 +00:00
Pierre Alliez
fd017c5595
AABB tree: first version of boost::optional for any*
...
obscure compilation issue for now.
more on doc too
2009-05-07 06:44:59 +00:00
Camille Wormser
6f050ab6ca
tentative API for dealing correctly with the degenerate cases:
...
it changes NOTHING to the existing code, except that
number_of_intersections is renamed into number_of_intersected_primitives.
2009-05-02 18:02:11 +00:00
Pierre Alliez
2d22df1c41
AABB tree: more on Point_and_primitive in traversal traits
2009-05-02 09:45:20 +00:00