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