Doug Roeper
6e4be92b5e
Adds a CGAL::midpoint() implementation for Segments.
2021-03-22 09:11:23 -04:00
Doug Roeper
69779ebf80
Adds some helpers to calculate the span of a Bbox in each dimension.
2021-03-22 06:37:29 -04:00
Dmitry Anisimov
00c185b028
Merge branch 'master' into Kernels-decltypes-danston
2021-03-12 12:06:20 +01:00
Laurent Rineau
f1e550fdd2
Merge pull request #5363 from sloriot/Kernel-Oriented_side_extra_operator
...
Add an extra operator to have an exact plane
2021-03-03 17:33:20 +01:00
Laurent Rineau
216560554e
Merge pull request #5112 from sloriot/Kernel_23-bisector_sqrt
...
Allow an inexact version of bisector when no sqrt is available.
2021-02-18 15:26:51 +01:00
Maxime Gimeno
d5811d0a41
clang-tidy on tests
2021-02-18 15:15:12 +01:00
Andreas Fabri
18f7f91c3c
Add test; remove the word 'constant' in the documenation
2021-02-17 14:41:41 +00:00
Dmitry Anisimov
81d9556707
Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston
2021-02-10 10:06:45 +01:00
Sébastien Loriot
d4b6a55a68
remove unused typedefs
2021-02-01 09:36:47 +01:00
Sébastien Loriot
a4b0f88d41
test all now
2020-10-29 16:08:47 +01:00
Maxime Gimeno
2ad4c16b6e
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-10-26 15:00:53 +01:00
Sébastien Loriot
335ac3d5dd
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-10-20 13:32:03 +02:00
Sébastien Loriot
e5019d04e6
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2020-10-20 13:27:26 +02:00
Maxime Gimeno
bebd60c12b
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-10-20 09:53:54 +02:00
Mael Rouxel-Labbé
5a27f1b8de
Test affine transformation of weighted points
2020-10-16 16:23:55 +02:00
Maxime Gimeno
9c15f2c9dc
Use FeatureSummary in the demo, and remove CGAL_FOUND
2020-08-04 12:46:17 +02:00
Laurent Rineau
09b52ce69f
Add test/Kernel_23/test_approximate_dihedral_angle_3.cpp
2020-08-03 16:55:25 +02:00
Dmitry Anisimov
da0635e4b1
result_of changed to decltype
2020-07-20 17:03:28 +02:00
Laurent Rineau
7173530dad
Merge pull request #4557 from lrineau/NewKernel_d-det-GF-CGAL-5.0
...
NewKernel_d: Accelerate by using Mpzf instead of Gmpq (CGAL-5.0 and later)
2020-05-27 18:27:56 +02:00
Mael Rouxel-Labbé
cb08f676d1
Move check code from determinant.h to Kernel_23/test + more tests
2020-05-12 11:56:18 +02:00
Mael Rouxel-Labbé
8a52dd3393
Remove trailing whitespace / tabs
2020-05-12 11:21:06 +02:00
Andreas Fabri
0040436ae3
Add non-recursive determinant for 7x7 matrix
2020-03-27 10:57:48 +01:00
Sébastien Loriot
8bb22d5b2c
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of the 5.0 release branch
+ manual fix of the files (indentation was changed in the meantime):
* Spatial_sorting/include/CGAL/Multiscale_sort.h
* Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot
8b153fb495
Merge branch 'cgal/releases/CGAL-5.0-branch'
...
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
0a46621dc6
Merge branch 'cgal/releases/CGAL-4.14-branch'
...
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Mael Rouxel-Labbé
65d2221449
Fix used but uninitialized warnings (+ add some more tests)
2019-12-18 09:48:56 +01:00
Sébastien Loriot
43166732b6
remove license notice from kernel tests
2019-10-19 16:39:32 +02:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
d0f23b56f6
update deprecated 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-only/"
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-only/"
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-only/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.1$" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.1$/SPDX-License-Identifier: LGPL-2.1-only/"
2019-10-18 22:08:05 +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
3e4b177506
Merge pull request #4116 from MaelRL/Kernel_23-Generalize_ray_point_method-GF
...
Change ray_23 and line_23's point(int) function to point(FT)
2019-08-19 12:54:38 +02:00
Laurent Rineau
0d7fd463ff
Merge pull request #4116 from MaelRL/Kernel_23-Generalize_ray_point_method-GF
...
Change ray_23 and line_23's point(int) function to point(FT)
2019-08-19 12:53:59 +02:00
Mael Rouxel-Labbé
6c8a8f347d
Change ray/line.point(int --> FT)
...
There is no real requirement on it being an 'int', except some symmetry with
the segment.
2019-07-26 15:59:52 +02:00
Laurent Rineau
3d1450b71f
Merge branch 'releases/CGAL-4.14-branch'
2019-07-23 17:17:06 +02:00
Laurent Rineau
8ce9207d10
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-23 17:14:40 +02:00
Mael Rouxel-Labbé
505a07b2ac
Remove test using (temporarily) removed kernel EPICK_without_intervals
...
See bb640d2883
2019-07-18 17:03:53 +02:00
Laurent Rineau
c0ba28f80a
Merge branch 'releases/CGAL-4.14-branch'
2019-07-03 11:18:20 +02:00
Laurent Rineau
e79bfd5d03
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-03 11:10:03 +02:00
Laurent Rineau
a99269d91d
Merge pull request #3410 from maxGimeno/Kernel_23-Add_suport_for_reflextions-GF
...
Aff_transformation_2: Add suport for reflections
2019-07-01 11:16:36 +02:00
Laurent Rineau
32f80cbece
Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
...
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Laurent Rineau
327b310add
Fix the hopefully last warning
2019-07-01 10:30:52 +02:00
Laurent Rineau
e2b9c56675
Fix the assertion "Expr: FPU_get_cw() == mode"
2019-06-27 11:26:39 +02:00
Laurent Rineau
9346847f20
Fix warnings about uninitialized variables
2019-06-27 11:26:26 +02:00
Laurent Rineau
11e634246a
Make this PR compatible with https://github.com/CGAL/cgal/pull/3939
2019-06-24 10:19:52 +02:00
Laurent Rineau
8fd3f2d8fd
Merge pull request #3973 from sgiraudot/Kernel_23-Add_hash_functions-GF
...
[Small Feature] Add hash functions for kernel objects
2019-06-20 14:21:09 +02:00
Laurent Rineau
8535a3c03c
Merge branch 'releases/CGAL-4.14-branch'
...
# Conflicts:
# Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Apollonius_graph_2_impl.h
# Convex_hull_3/include/CGAL/convex_hull_3.h
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/face_graph_utils.h
# Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp
# Stream_support/include/CGAL/IO/Color.h
2019-06-20 14:20:37 +02:00
Laurent Rineau
b0f1f90a4d
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-06-20 14:08:25 +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
b13bdadfa8
Fix conflicts
2019-06-17 15:33:33 +02:00
Laurent Rineau
34a9b24698
Fix a remaining warning about t1 not being initialized
...
There are a lot of uninitialized variables, in that testsuite, that
are used anyway (like copied). Strangely the compilers do not seem to
catch them all at the same time. That probably depends on inlinings.
2019-06-17 10:03:56 +02:00
Laurent Rineau
30b25a4d58
Fix warnings
...
There was a unused assigned variable:
```
test/Kernel_23/include/CGAL/_test_new_2.h:375:6: warning: variable ‘tmp22d’ set but not used [-Wunused-but-set-variable]
375 | FT tmp22d = Compute_squared_distance(p1, p2);
| ^~~~~~
```
and also use of uninitialized variable. That pattern was used a lot:
```
typename R::Iso_cuboid_3 ir;
CGAL::Iso_cuboid_3<R> r0(ir);
```
that is:
- create a default-initialized object,
- then copy it.
Default-initialized object cannot be copied without a warning.
2019-06-14 11:09:40 +02:00
Laurent Rineau
7d543d5bf8
Add a testsuite for Epick and Epick_without_intervals
2019-06-13 15:06:19 +02:00
Laurent Rineau
3b2b6bb468
Fix that incorrect testsuite of Epick_without_intervals
2019-06-13 09:19:48 +02:00
Laurent Rineau
f94122b31b
Add a testsuite for Epick
2019-06-13 09:19:48 +02:00
Simon Giraudot
9ee478139b
Remove hash for Direction_23/Ray_23 as equality is more complicated
2019-06-04 13:26:05 +02:00
Simon Giraudot
d88b7bab69
Hash functions for many kernel objects
2019-06-03 15:56:07 +02:00
Simon Giraudot
a954fbf69e
Add hash function for Point_3
2019-06-03 14:36:32 +02:00
Laurent Rineau
7105406ee1
Fix warnings with CGAL_USE
2019-05-16 15:46:27 +02:00
Laurent Rineau
162544dade
Add a test of Epick_without_intervals in Kernel_23
2019-05-16 15:46:27 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Andreas Fabri
2ebc7d17cd
Use integers as test bounds for Homogeneous
2019-04-11 09:59:12 +02:00
Andreas Fabri
24699e9560
Use integers as test bounds for Homogeneous
2019-04-11 09:48:32 +02:00
Andreas Fabri
42af962bc2
Add overload for two vectors
2019-04-11 09:48:32 +02:00
Andreas Fabri
d62d88196e
Add a function to compute the angle between three 3D points
2019-04-11 09:48:30 +02:00
Sébastien Loriot
1d908c1c0b
remove code for CGAL_INTERSECTION_VERSION 1
2019-03-29 13:28:32 +01:00
Sébastien Loriot
82c13e6e74
remove cpp11 workaround in kernel related packages
2019-03-29 10:41:50 +01:00
Laurent Rineau
7cf4a1fff8
Merge pull request #3501 from lrineau/CGAL-fix_with_LEDA_without_CGAL_Core-GF
...
Partially fix the testsuite with LEDA instead of GMP
2019-02-22 10:04:22 +00:00
Laurent Rineau
afc3de2894
Merge branch 'master' into Stream_support-Color-GF
2019-01-23 09:37:08 +01:00
Maxime Gimeno
25401840f8
Merge remote-tracking branch 'cgal/master' into Kernel_23-Add_suport_for_reflextions-GF
2019-01-11 09:43:19 +01:00
Andreas Fabri
f1dd633be0
Fix Kernel_23 and Cone_spanner
2019-01-09 17:54:47 +01:00
Sébastien Loriot
846f19f401
init variables
2018-12-05 18:20:06 +01:00
Sébastien Loriot
aecbd80d20
avoid Wmaybe-uninitialized
...
Triggered when compiling the target Simple_cartesian
@lrineau do you think it is an acceptable fix (I tend not to like it).
2018-12-05 17:56:30 +01:00
Laurent Rineau
0e053a4023
First step to support LEDA instead of CGAL_Core
2018-11-30 16:20:37 +01:00
Sebastien Loriot
ff278a61eb
Merge pull request #3399 from maxGimeno/Kernel_23-Aff_transformation-Equality_test-GF
...
Kernel_23: Add an equality test to Aff_transfo 2 and 3.
2018-11-12 15:06:07 +01:00
Guillaume Damiand
7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand
2018-11-05 07:32:58 +01:00
Laurent Rineau
3601c6d69e
Merge pull request #3345 from afabri/Kernel-fix_Point_2_Line_2_projection-GF
...
Improve Projection of 2D point on line
2018-10-29 10:27:30 +01:00
Guillaume Damiand
92ba7fa6c9
Update minimum cmake required version in all CMakeLists.txt
2018-10-18 14:49:23 +02:00
Guillaume Damiand
0c2dcf7208
Re-add include({CGAL_USE_FILE} ) in each CMakeLists.txt where CGAL is used with some component.
2018-10-18 14:38:42 +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
Guillaume Damiand
7f09308d33
Remove all include_directories(BEFORE ../../include) in CMakeLists.txt
2018-10-17 13:07:22 +02:00
Maxime Gimeno
33b7172715
Fix homogeneous code
2018-10-16 16:57:57 +02:00
Maxime Gimeno
83f35c687c
WIP tests and compose()
2018-10-16 16:11:59 +02:00
Maxime Gimeno
824697c684
add missing test for aff_transfo_3
2018-10-15 09:05:53 +02:00
Maxime Gimeno
23d701c1a5
Add an equality test to Aff_transfo 2 and 3.
2018-10-12 16:34:19 +02:00
Andreas Fabri
dc3f0e9400
Remove the benchmark from the issue
2018-10-09 09:45:14 +02:00
Andreas Fabri
30ddc56391
Add an issue and benchmark
2018-10-09 09:45:13 +02:00
Laurent Rineau
908311e903
Merge branch 'releases/CGAL-4.11-branch' into releases/CGAL-4.12-branch
2018-07-20 17:34:47 +02:00
Laurent Rineau
0585ffcc39
Merge pull request #3232 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points (cont.)
2018-07-20 17:20:16 +02:00
Laurent Rineau
2d89a5ec5b
Fix a warning for Linux 32 bits
...
test/Kernel_23/test_bbox.cpp:38: warning: integer constant is too large for ‘long’ type
2018-07-16 10:56:41 +02:00
Laurent Rineau
e900b684b4
Add a test of Bbox_[23]::dilate
2018-07-13 17:28:15 +02:00
Andreas Fabri
c844a0b788
Do the same for the weight
2018-06-08 14:00:12 +01:00
Andreas Fabri
73ed26ba75
Add a dynamic cast and remove the assert
2018-06-08 12:58:51 +01:00
Maxime Gimeno
d3b425281d
Add test for projections
2018-04-27 10:24:37 +02:00
Laurent Rineau
f37630bc0f
Merge branch 'releases/CGAL-4.11-branch'
...
# Conflicts:
# Kernel_23/test/Kernel_23/include/CGAL/_Result_of_kernel.h
# Kernel_23/test/Kernel_23/test_result_of.cpp
2017-12-05 18:14:23 +01:00
Laurent Rineau
708d0f6de4
Merge pull request #2646 from lrineau/Kernel_23-remove_test_of_result_of-GF
...
Kernel_23: Remove the test of result_of
2017-12-05 18:01:35 +01:00
Laurent Rineau
fa5a9cc6cc
Remote that test...
...
Long time ago, CGAL was using the Boost Result_of library, that prevailed
before `std::tr1::result_of` and then `std::result_of` were standardized in
the C++ norm. Then CGAL made a switch to using the wrapper
`CGAL::cpp11::result_of`, implemented either with `tr1::result_of`, or a
C++11 decltype-based implementation...
The test is just checking that, when C++11 the decltype implementation is
used, the result is the same as with `tr1::result_of`... Now that we know
it works, let's remove the test (that no longer compile with Boost 1.65).
2017-12-01 10:17:31 +01:00
Sébastien Loriot
72cda50a5e
fix incorrect LGPL version tags
2017-11-12 10:17:52 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Maxime Gimeno
96f7b0f138
Fix catch value warnings
2017-07-21 11:27:14 +02:00
Mael Rouxel-Labbé
8eb835d8b7
Fixed unused typedefs warning
2017-06-28 10:17:14 +02:00
Mael Rouxel-Labbé
acac4f7135
Added new class: Has_conversion
...
Used to check whether a Kernel converter (either Cartesian_converter or
Homogeneous_converter) provides the necessary functor T1 operator()(T2)
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
926a9a06fc
Added a test to check Point / Weighted_point conversions
...
and fixed a previous test that used now-disabled implicit conversions
2017-06-28 10:14:35 +02:00
Andreas Fabri
9ccc9c1178
Fix compare_slope()
2017-05-12 09:49:39 +02:00
Andreas Fabri
5f8bc52082
Add angle(Point_3, Point_3,Point_3,Vector_3)
2017-05-12 09:48:23 +02:00
Andreas Fabri
061a9b1ecd
Kernel:23 Add Compare_slope_3
2017-05-12 09:48:21 +02:00
Mael Rouxel-Labbé
9f366d6acf
Fixed missing _object(){ } for construct_wp/p functors of projection traits
2017-04-30 19:51:49 +02:00
Mael Rouxel-Labbé
37eac35321
Added functions related to Weighted_point_2 to Projection_traits_3
...
+ tests
2017-04-21 18:14:38 +02:00
Mael Rouxel-Labbé
c79e2d4b36
Added Compute_power_product_2 to the 2D kernel predicates
...
doc + test included
2017-04-21 13:07:40 +02:00
Mael Rouxel-Labbé
7040cb1f40
Added a few more tests to power_side_of_bounded_power_sphere_3
...
Just to check that the ordering indeed does not matter.
2017-04-21 11:43:29 +02:00
Mael Rouxel-Labbé
bb086ff739
Added power_side_of_bounded_power_circle_2 to the 2D kernel predicates
...
A partial implementation was deleted from the Alpha_shapes_2 package without
moving the functions to the kernel...
This implementation adds the missing overloads (4, 3, and 2 points)
Test + doc included
2017-04-21 11:37:27 +02:00
Mael Rouxel-Labbé
dd2e7f3a0c
Made compute_squared_smallest_orthogonal_circle_2() a kernel functor
...
and documented, tested, etc. it
Previously in Alpha_shape_2
2017-04-19 11:06:14 +02:00
Mael Rouxel-Labbé
5f8a64148a
Fixed years
2017-04-10 12:55:26 +02:00
Mael Rouxel-Labbé
05835d2c2a
Fixed power tests and clarified the documentation
2017-04-10 12:52:39 +02:00
Mael Rouxel-Labbé
18169be82a
Added tests for Weighted_point_23 and related functions
2017-04-07 03:45:05 +02:00
Sébastien Loriot
5212bb55a6
fix Core dependancies
2017-02-13 17:16:30 +01:00
Sébastien Loriot
1fc9b0976a
fix Core dependancies
2017-02-13 16:21:02 +01:00
Laurent Rineau
af64852edb
test/Kernel_23 requires Core
2017-02-10 19:09:28 +01:00
Andreas Fabri
068078229d
fix assertion in testsuite
2016-12-21 09:42:39 +01:00
Maxime Gimeno
b0dd7d25cb
Add Compute_L_infinity_distance_3.
2016-12-21 09:41:33 +01:00
Andreas Fabri
eb7e38493c
Add the function FT l_infinity_distance(Point_2, Point_2)
...
as well as the corresponding functor
This is a function where the implementation is in the file
Kernel_23/include/CGAL/Kernel/function_objects.h
When the implementation is different for Cartesia and Homogeneous coordinates
the code should go into the function_objects.h files
in the packages Cartesian_kernel and Homogeneous_kernel
2016-12-21 09:40:53 +01:00
Laurent Rineau
f2e7050364
Merge pull request #1428 from sloriot/AABB_tree-fix_Closest_point
...
Fix implementation of AABB_traits::Closest_point
2016-10-17 10:03:20 +02:00
Laurent Rineau
8dda7b3cd1
Merge pull request #1362 from sloriot/Kernel_23-add_compound_assignement_operator_for_vectors
...
Add compound assignment operators for 2D and 3D vector classes
2016-10-17 10:00:53 +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
c751ab4310
Add operators for segment and triangle types in Construct_projected_point_3
...
the original implementation comes from the AABB-tree package
2016-09-01 16:04:55 +02:00
Sébastien Loriot
6c447e37f2
add compound assignement operator for points
2016-08-25 10:45:10 +02:00
Sébastien Loriot
151d52bb84
add compound assignment operators for 2D and 3D vector classes
2016-08-24 15:16:18 +02:00
Laurent Rineau
2cd9a15bb9
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
...
Merge the following merge commits:
> 12b92f5 Merge pull request #1271 from lrineau/Mesh_3-distance_criterion_sizing_field-GF
> 9c3d0b0 Merge pull request #1295 from lrineau/CGAL-add_test-GF
Conflicts:
Maintenance/release_building/BUGFIX_NUMBER
Maintenance/release_building/public_release_name
2016-07-22 18:31:02 +02:00
Laurent Rineau
c46e983139
Allow parallel execution of tests in test/Kernel_23
2016-07-21 14:42:35 +02:00
Andreas Fabri
5c1a2bd835
Add global function scalar_product(Vector_2,Vector_2)
2016-07-07 14:42:57 +02:00
Andreas Fabri
6273a0a247
Add global function scalar_product(Vector_3,Vector_3)
2016-07-07 14:30:10 +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
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
Jane Tournois
feb76b7439
add missing namespaces for msvc2015
...
avoid ambiguity of calls
2015-08-11 15:48:55 +02:00
Philipp Möller
47cae427d7
Add a description of the issue
2015-08-06 12:35:59 +02:00
Philipp Möller
27ac9b621a
Add test case for issue 129
2015-08-06 12:17:16 +02:00
Michael Hemmer
7d562833e0
rm warnings
2015-04-27 13:29:50 +02:00
Michael Hemmer
0cdc653281
add typedef for:
...
Exact_predicates_exact_constructions_kernel_with_kth_root
Exact_predicates_exact_constructions_kernel_with_root_of
add documentation
add testing
2015-03-26 13:46:23 +01: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
Laurent Rineau
be079cb5a3
Fix compilation with Boost-1.56 and later
...
In Boost-1.56 and later, with C++11, boost::optional::operator bool() is
explicit.
2015-01-13 16:21:04 +01:00
Sébastien Loriot
0218954ea6
Merge branch 'barycentric_coordinates_2-dmitry'
...
Tested in CGAL-4.6-Ic-99 and CGAL-4.6-Ic-100
Approved by the release manager
Conflicts:
Installation/changes.html
Kernel_23/include/CGAL/internal/Projection_traits_3.h
2015-01-09 10:35:20 +01:00
Sébastien Loriot
5b9be0f8c7
workaround ambiguous call in kernel intersection functions when including BSO_2
2014-12-11 16:33:29 +01:00
Guillaume Damiand
ebc4300334
Header only for random.cpp.
...
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +01:00
Sébastien Loriot
6ae7d56bc7
fix dimension typo
2014-10-06 08:13:54 +02:00
Sébastien Loriot
61e40e74a1
add additional functors in the projection traits and a test file
...
* Compute_scalar_product_2
* Collinear_2,
* Collinear_are_ordered_along_line_2
* Compute_squared_length_3
2014-10-03 08:58:33 +02:00
Sébastien Loriot
0230e979e2
Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
...
Conflicts:
Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
Documentation/doc/Installation.txt
Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Laurent Rineau
6500bd907f
Add Angle_3(Vector_3, Vector_3)
...
...by similarity with Angle_2.
2014-05-21 12:18:49 +02:00
Laurent Rineau
191b01b13b
Add Angle_3()(Point_3, Point_3, Point_3, Point_3)
2014-05-21 11:04:59 +02:00
Laurent Rineau
269ae1ca61
Fix the uses of std::basic_ios::bad(), and use fail() instead.
...
bad() implies fail() but std::basic_ios::operator! is actually equivalent
to std::basic_ios::fail(), not bad().
For example,
std::ifstream is(argv[1]);
if (is.bad()) {
is probably wrong because, in case the file does not exist, only the failbit it set,
and not the badbit.
Other example:
double x;
is >> x;
If the stream 'is' does not contains a string that can represent a double,
then failbit is set (and maybe the eofbit if the stream is actually too
short), but not the badbit.
bad() can be used, in case fail() returned true, to discriminate between a
I/O error and a logical error.
See:
http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool
http://en.cppreference.com/w/cpp/io/ios_base/iostate
2013-12-12 16:13:40 +01:00
Sébastien Loriot
435077021e
rename function in test
2013-09-27 16:09:31 +02:00
Sébastien Loriot
91705599c9
add a test checking all linear intersection computations with API v1 and v2
2013-09-26 17:30:43 +02:00
Laurent Rineau
fa7588e6e5
Restore correct permissions of files
...
File created by the Windows port of Emacs, and then commited using the
Cygwin version of Git, have incorrect permissions: they are all executable!
Andreas works using that combination of software.
2013-09-24 11:05:57 +02:00
Sébastien Loriot
cd5e88f11f
Merge branch 'Kernel_23-Bbox_more_friendly-local'
...
Implements Features/Small_Features/More_friendly_bbox
Successfully tested in CGAL-4.3-Ic-74
Approved by the release manager
2013-06-28 15:05:31 +02:00
Sébastien Loriot
5635183db7
add global functions bbox_2 and bbox_3 in the Kernel
...
remove the function from the 2D function from the Polygon package
2013-05-31 19:44:21 +02:00
Sébastien Loriot
43d4a00db0
add operator+= in bbox classes
2013-05-31 19:09:31 +02:00
Sébastien Loriot
c67ba90514
Merge branch 'Kernel-replace_object-pmoeller-old' into Kernel-replace_object-pmoeller
...
Conflicts:
Circular_kernel_2/include/CGAL/Circular_kernel_2/Circular_arc_2.h
Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_circle_2.h
Installation/changes.html
Kernel_d/doc/Kernel_d/CGAL/intersections_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Center_of_sphere_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Compare_lexicographically_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Component_accessor_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Compute_coordinate_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Contained_in_affine_hull_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Contained_in_linear_hull_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Contained_in_simplex_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Equal_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Has_on_positive_side_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Intersect_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Less_coordinate_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Less_lexicographically_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Less_or_equal_lexicographically_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Lift_to_paraboloid_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Linear_base_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Linear_rank_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Linearly_independent_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Midpoint_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Orientation_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Oriented_side_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Orthogonal_vector_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Point_dimension_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Point_of_sphere_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Point_to_vector_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Project_along_d_axis_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Side_of_bounded_sphere_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Side_of_oriented_sphere_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Squared_distance_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Value_at_d.h
Kernel_d/doc/Kernel_d/Concepts/Kernel--Vector_to_point_d.h
2013-05-23 13:13:08 +02:00
Sébastien Loriot
fff0776446
Merge branch 'Kernel_23-Iso_rectangle_2_Iso_cuboid_3_bbox_constructible'
...
Conflicts:
Kernel_23/include/CGAL/Iso_cuboid_3.h
Tested in CGAL-4.3-Ic-1
2013-04-16 07:50:38 +02:00
Andreas Fabri
f7d7395864
Merge branch 'OLD' into CGAL-use_leda-GF
...
Conflicts:
Boolean_set_operations_2/test/Boolean_set_operations_2/test_polygon_validation.cpp
Envelope_2/test/Envelope_2/test_envelope_segments.cpp
Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp
2013-03-27 20:22:54 +01:00
Andreas Fabri
4d2f9280e8
Write an eol
2013-03-22 15:00:04 +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
Sébastien Loriot
f97d6b8bd9
s/boost::result_of/cpp11::result_of/g
2013-03-14 10:38:13 +01:00
Sébastien Loriot
d6905c61be
Merge branch 'Kernel-replace_object-pmoeller-old' into Kernel-replace_object-pmoeller
...
Conflicts:
AABB_tree/include/CGAL/AABB_tree.h
Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_line_arc_2.h
Intersections_3/include/CGAL/Intersections_3/intersection_3_1_impl.h
Kernel_23/doc/Kernel_23/CGAL/intersections.h
Kernel_23/doc/Kernel_23/Concepts/FunctionObjectConcepts.h
STL_Extension/doc/STL_Extension/CGAL/iterator.h
2013-03-14 10:29:31 +01:00
Andreas Fabri
7db10a19e6
Add a CGAL_USE
2013-02-26 07:24:42 +01:00
Andreas Fabri
13bac84716
less warnings in various packages
2013-02-01 10:27:07 +01:00
Andreas Fabri
c59152f478
simplification
2013-01-31 15:09:20 +01:00
Andreas Fabri
72bbb807be
less warnings in the Kernel testsuite
2013-01-31 15:06:04 +01:00
Andreas Fabri
65b74a8437
Add a file that tests nested types required by the Kernel comcept (for now RT)
2013-01-31 14:47:03 +01:00
Sébastien Loriot
e446188097
add constructor from bbox for iso-cuboid and iso-rectangle
2012-12-20 10:41:23 +01:00
Philipp Möller
cbd2b2b946
Missing copyright notice
2012-12-11 10:33:46 +01:00
Philipp Möller
61f7a55922
Remove use.h from Kernel_23/test
...
Kernel_23 defined its own CGAL::use, replace it with the one from
Testsuite.
2012-08-09 08:48:36 +00:00
Laurent Rineau
62a8fdc2d4
Merge /branches/features/Triangulation_2_UseTraitsInHierarchy-GF/Kernel_23
...
... and only that directory. The rest of the branch is a patch to
Triangulation_2, that will be sumbitted as a small feature.
2012-06-29 16:27:25 +00:00
Philipp Möller
a621ff3f6b
Remove the first batch of files that are no longer needed.
2012-05-20 13:23:33 +00:00
Philipp Möller
542f5d9c51
Merged ^/branches/next here
2012-04-16 08:53:21 +00:00
Laurent Rineau
88b7d66753
Remove unused variables (warning)
2012-01-31 15:00:14 +00:00
Laurent Rineau
e3b9d8edf6
Remove unused variable (that was a warning)
2012-01-31 14:21:03 +00:00
Philipp Möller
58a6c86cbc
* fixed include issue
...
* some work to make Lazy work with C++11
2011-12-15 15:45:39 +00:00
Philipp Möller
75b3fc84ec
* Now also tests homogeneous and passes run-time tests as well.
...
* Fixed leftover bug Homogeneous function objects
2011-12-14 14:29:07 +00:00
Philipp Möller
659d2295d0
Added tests to verify the types returned by boost::result_of match the
...
real tests and ajusted the type of Construct_vertex_3 for Iso_cuboid_3
2011-12-13 15:13:07 +00:00
Philipp Möller
0e0a200646
* Using result_of instead of Qualified_result_of
...
* limited refactoring in the lazy kernel
* still bugs in circular_3
* still specialization problem with iso_rectangle
2011-11-23 17:52:38 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Sébastien Loriot
dad46fe794
remove not need CMakeLists.txt's
2011-09-27 08:51:49 +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
Sébastien Loriot
2a6ca3b67f
add a small example showing the overload problem when result_type
...
is defined in Null_functor
2011-06-30 17:19:48 +00:00
Laurent Rineau
3c02e07b23
Try to fix my last revision about cmake_policy, with CMake-2.6.x
...
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau
c97205f085
Global handling of CMake policies (second part)
...
We declare
cmake_minimum_required(VERSION 2.6.2)
but we also use
cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.
That way, we no longer need any declaration of specific policies.
Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau
0631943153
Uniform capitalization in our CMake script: use lowercase for commands
2011-04-28 10:36:18 +00:00
Laurent Rineau
ca5c92e034
Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
...
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
- change cmake_minimum_required to VERSION 2.6.2
- no longer any need for the policy CMP0003 (was for 2.4.x)
- no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Sébastien Loriot
e5a96255ba
*remove warnings.
...
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings.
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Sébastien Loriot
78a8e36522
small features to add additional operator() to Angle_2.
...
This is a merge from the branch /branches/experimental-packages/More_robust_Triangulation_2-branch
2011-01-07 10:45:13 +00:00
Sébastien Loriot
ace9c87934
revert dirty commit 60628
2011-01-07 10:37:54 +00:00
Sébastien Loriot
99dda59784
add operator() to Angle_2 functor (code,global function,doc,test).
...
That was submitted as small feature.
2011-01-07 10:04:06 +00:00
Laurent Rineau
18c8238dc2
The kernel testsuite must test Tetrahedron_3<K>::orientation().
2010-12-14 16:00:31 +00:00
Laurent Rineau
5b22e449e0
Kernel::Compare_distance_[23] with three objects, similar to
...
compare_distance_to_point, but with any object types
2010-10-11 11:10:32 +00:00
Laurent Rineau
65d2f554a0
Check the state of the stream before testing the read value
2010-10-11 11:09:28 +00:00
Christian Helbling
837409ebdc
adding compare_lexicographically for Point_2 and Point_3 to improve compatibility with Point_d
2010-09-20 12:30:45 +00:00
Laurent Rineau
040e9869d4
- Merge minor things from the CGAL-3.7-branch.
...
- Updates of svn:mergeinfo
2010-08-10 11:59:10 +00:00