Sébastien Loriot
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Laurent Rineau
4fbf00fb8a
CMake>=3.13: opt for for new policies up to 3.15
2019-06-19 14:34:59 +02:00
Maxime GIMENO
e636faedcd
Update AABB_tree/test/AABB_tree/aabb_test_all_intersected_primitives_tree.cpp
...
Yes ! I added it last second, after the test and before the push >_<
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
2019-06-14 11:31:31 +02:00
Maxime Gimeno
476f742745
Change test so that the order of the intersected primitives does not matter. Also fix for warning.
2019-06-14 10:51:18 +02:00
Maxime Gimeno
c873d7bf36
Documents do_intersect() for AABB_trees and add a test file
2019-05-23 16:14:56 +02:00
Sébastien Loriot
ce126b87c6
remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead
2019-03-29 13:28:32 +01:00
Sébastien Loriot
1d908c1c0b
remove code for CGAL_INTERSECTION_VERSION 1
2019-03-29 13:28:32 +01:00
Andreas Fabri
e62ab30e6c
Fixes of fixes
2019-02-15 09:03:58 +01:00
Andreas Fabri
d0ba5e40a9
AABB_tree, BGL
2019-02-14 09:44:18 +01:00
Guillaume Damiand
7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand
2018-11-05 07:32:58 +01:00
Sébastien Loriot
056c778305
Merge pull request #3370 from maxGimeno/AABB_tree-Change_facegraph_triangle_primitive_id-GF
...
Aabb_tree: change the id of AABB_face_graph_triangle_primitive and AABB_halfedge_graph_segment_primitive
2018-11-02 10:34:26 +01:00
Guillaume Damiand
92ba7fa6c9
Update minimum cmake required version in all CMakeLists.txt
2018-10-18 14:49:23 +02:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Maxime Gimeno
1a9b9677a3
more tests
2018-10-10 14:55:45 +02:00
Maxime Gimeno
06c400ad86
Use a primitive without shared data in the test
2018-10-10 14:42:02 +02:00
Maxime Gimeno
eacf880034
Add a const function datum() to AABB_tree and test.
2018-10-10 11:55:23 +02:00
Maxime Gimeno
da01fb43ee
fix doc and don't duplicate the id. Use a pointer to the graph.
2018-10-09 14:14:51 +02:00
Maxime Gimeno
1960e01aeb
fixes and do the same for the edges
2018-10-09 14:14:51 +02:00
Maxime Gimeno
232373c9ca
Change the Id of the AABB_face_graph_triangle_primitive so it contains the mesh if necessary.
2018-10-09 14:14:51 +02:00
Andreas Fabri
991f3847e8
Do not include graph_traits_Polyhedron.h, properties_polyhedron.h and Polyhedron_iostream.h
2018-05-03 13:23:50 +02:00
Andreas Fabri
7675141f2b
AABB_tree
2018-01-17 19:43:47 +00:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Sébastien Loriot
7e2ee496de
update project name of cmake scripts of tests
2016-09-08 00:26:37 +02:00
Sebastien Loriot
62d06a2b88
Revert "AABB_tree : fix doc vs code inconsistency"
2016-08-23 11:12:33 +02:00
Jane Tournois
2fade16c73
replace Compute_closest_point with Construct_closest_point
2016-08-10 16:48:11 +02:00
Jane Tournois
23cfd95541
fix test
2016-08-10 15:47:44 +02:00
Andreas Fabri
d17a61b5ca
no template in non-template code
2016-05-05 08:33:36 +02:00
Andreas Fabri
c8d335e227
polish #includes
2016-05-04 09:01:40 +02:00
Andreas Fabri
7ea7719d68
no need for template keyword inside non-template code
2016-05-04 08:23:55 +02:00
Andreas Fabri
970460ec0b
Use std::priority_heap if boost version < 1.50
2016-05-02 10:27:55 +02:00
Andreas Fabri
145ab7e3db
Add an example for ray shooting
2016-04-26 17:12:16 +02:00
Sébastien Loriot
03f9c56c76
Make the code matching the submission
...
- rename first_intersection_and_primitive to first_intersection
- update examples and test
- switch on the function doc
- add implementation for first_intersected_primitive
2016-04-26 17:12:15 +02:00
Philipp Möller
af1d4494e8
Beef up the testcase
2016-04-26 17:10:38 +02:00
Philipp Möller
5e6ae0f29d
Add test case for ray_intersection
...
The test compares the results of using the naive approach to the results
of using ray_intersection directly.
2016-04-26 17:10:31 +02:00
Philipp Möller
4a1ec53c30
Add a test for Is_ray_intersection_traits
2016-04-26 17:10:28 +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
Andreas Fabri
a41165b6eb
various
2016-01-05 18:04:14 +01:00
Sébastien Loriot
765684b613
test availability of BGL primitive constructors from a simplex
2014-11-05 17:19:38 +01:00
Sébastien Loriot
39c073948e
when using HalfedgeGraph or FaceGraph API, graph_traits must be included
2014-07-04 17:24:07 +02:00
Sébastien Loriot
5f4813b64d
properties_Polyhedron_3.h is now included by graph_traits_Polyhedron_3.h
2014-07-04 17:24:05 +02:00
Andreas Fabri
e95c3d452c
Switch to new BGL API in package AABB_tree
2014-05-24 08:55:43 +02:00
Laurent Rineau
afe06c0b69
Fix the testsuite of AABB tree
...
That is a followup to the following commit:
| commit 3e93d0bfc6
| Author: Laurent Rineau <laurent.rineau@cgal.org>
| Date: Tue Dec 31 15:15:24 2013 +0100
|
| Fix test of AABB_tree (use of an epsilon)
|
| The test 'aabb_naive_vs_tree_distance_triangle_test' failed
| something. It was due to a test using an epsilon, with a too-low epsilon
| value (1e-8). I managed to reproduce the bug, and the quantity compared
| to the epsilon value was about 1.8e-8. I increase the epsilon value to
| 1e-7, and add a few lines that show the compared values, when the test
| fails.
1/ There was one more epsilon value with 1e-8 in the tests.
2/ There was a test that check the equality of two points, in a case,
but the test cannot be fully correct with a non-exact kernel.
2014-02-05 12:04:11 +01:00
Laurent Rineau
3e93d0bfc6
Fix test of AABB_tree (use of an epsilon)
...
The test 'aabb_naive_vs_tree_distance_triangle_test' failed
something. It was due to a test using an epsilon, with a too-low epsilon
value (1e-8). I managed to reproduce the bug, and the quantity compared
to the epsilon value was about 1.8e-8. I increase the epsilon value to
1e-7, and add a few lines that show the compared values, when the test
fails.
Trivial bug-fix.
2013-12-31 15:15:24 +01:00
Sébastien Loriot
0864336a66
remove compatibility with original polyhedron primitives
...
there is no need to maintain such an artificial compatibility, the old
primitives are still in CGAL.
2013-07-29 17:17:56 +02:00
Sébastien Loriot
9c0808cad1
fix name of classes that do not respect CGAL naming conventions
...
AABB_HalfedgeGraph_segment_primitive -> AABB_halfedge_graph_segment_primitive
AABB_FaceGraph_triangle_primitive -> AABB_face_graph_triangle_primitive
2013-07-23 17:46:50 +02:00
Laurent Rineau
dece6a1429
Fix a compilation error
2013-06-25 12:05:55 +02:00