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
Laurent Rineau
72571f59aa
Put the tests at the right place.
...
The tests of compare_distance(T1, T2, T3, T4) are minimalist. As the
implementation is trivial and rely on CGAL_NTS compare and
CGAL::square_distance, that should be enought.
2010-08-03 15:53:23 +00:00
Laurent Rineau
09d97fc9d7
Backport from trunk:
...
| ------------------------------------------------------------------------
| r57752 | lrineau | 2010-08-03 16:22:25 +0200 (Tue, 03 Aug 2010) | 6 lines
| Changed paths:
| M /trunk/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h
| M /trunk/Homogeneous_kernel/include/CGAL/Homogeneous/function_objects.h
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareDistance_2.tex
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareDistance_3.tex
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareSquaredDistance_2.tex
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareSquaredDistance_3.tex
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_ComputeSquaredDistance_2.tex
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_ComputeSquaredDistance_3.tex
| A /trunk/Kernel_23/doc_tex/Kernel_23_ref/compare_distance.tex
| M /trunk/Kernel_23/doc_tex/Kernel_23_ref/compare_squared_distance.tex
| M /trunk/Kernel_23/include/CGAL/Kernel/global_functions.h
| M /trunk/Kernel_23/include/CGAL/Kernel/global_functions_internal_2.h
| M /trunk/Kernel_23/include/CGAL/Kernel/global_functions_internal_3.h
| M /trunk/Kernel_23/test/Kernel_23/include/CGAL/_test_new_2.h
| M /trunk/Kernel_23/test/Kernel_23/include/CGAL/_test_new_3.h
|
| - Deprecate operator()(T1, T2, T3, T4) of Kernel::CompareSquaredDistance_[23]
| and move it to Kernel::CompareDistance_[23].
| - Add CGAL::compare_distance(T1, T2, T3, T4).
|
| (Test suite OK.)
|
| ------------------------------------------------------------------------
2010-08-03 14:24:59 +00:00
Laurent Rineau
351c3233be
- Deprecate operator()(T1, T2, T3, T4) of Kernel::CompareSquaredDistance_[23]
...
and move it to Kernel::CompareDistance_[23].
- Add CGAL::compare_distance(T1, T2, T3, T4).
(Test suite OK.)
2010-08-03 14:22:25 +00:00
Laurent Rineau
c4e8058cf5
Do not use an uninitialized object for tests.
2010-07-06 10:42:09 +00:00
Laurent Rineau
5ef3fe4c5b
Do not use uninitialized objects for tests.
2010-07-06 10:39:17 +00:00
Laurent Rineau
665c0ea8c1
Kernel::Compare_Squared_distance_[23]::operator() has now the following
...
overloads:
template <typename T1, typename T2>
Comparison_result
operator()(T1, T2, Kernel::FT);
and
template <typename T1, typename T2, typename T3, typename T4>
Comparison_result
operator()(T1, T2, T3, T4); // compare distances |t1, t2|^2 and |t3, t4|^2.
Before that revision, the types T_i were hardcoded to Kernel::Point_3
without any reason.
And Kernel::Compare_Squared_distance_2 and
Kernel::Compare_Squared_distance_3 now have the same implementation, and
almost the same documentation (but the set of admitted input types). The
implementations could even have been factorized.
(The Kernel_23 testsuite passes on Linux, as well as the doc_tex testsuite.)
2010-06-30 12:19:54 +00:00
Laurent Rineau
7106e69e7a
Fix keyword $URL$ and $Id$: "$URL: " and "$Id: " are not correct Subversion keywords
2010-06-29 12:47:18 +00:00
Marc Glisse
986b932014
cleanup extra ';'
2010-04-24 09:13:10 +00:00
Sylvain Pion
d2a078803b
Add a new Boolean constant in the kernel, Has_filtered_predicates.
2009-10-16 12:07:18 +00:00
Sébastien Loriot
86d9865f2e
add operator() with one point to compare_squared_radius functor
2009-10-13 08:34:43 +00:00
Laurent Rineau
f097b7a000
Fix the testsuite of compare_dihedral_angle_3.
2009-08-27 08:33:48 +00:00
Laurent Rineau
4a383b3197
In Compare_dihedral_angle_3, add the comparison between the dihedral angle
...
defined by four points (or three vectors), and a FT. The FT represents the
cosine of the angle.
The code passes the testsuite. Documentation coming...
2009-08-26 11:31:51 +00:00
Laurent Rineau
09c4682e0b
Typo: s/cosinus/cosine/.
...
(Thanks to Sylvain for his review of my patch r51491.)
2009-08-25 15:26:08 +00:00
Laurent Rineau
22798366ad
Add a new predicate in the Kernel: Compare_dihedral_angle_3.
2009-08-25 14:48:41 +00:00
Andreas Fabri
751d140702
Add operator to Compare_squared_distance_3
2009-08-24 15:03:08 +00:00
Andreas Fabri
4a9c25a07a
Add tests for squared radius for a point to make kernels model of the alpha shape traits class
2009-07-06 13:04:37 +00:00
Sylvain Pion
da8f43f45f
Mark most one-argument constructors explicit.
2009-05-09 16:08:19 +00:00
Andreas Fabri
16992fa683
Add CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)
2008-11-20 10:16:42 +00:00
Fernando Cacciola
547bffecd9
Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4
2008-11-06 13:03:41 +00:00
Fernando Cacciola
994028ec51
Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_
2008-11-04 13:09:48 +00:00
Fernando Cacciola
70fa9503fd
Added CMP0003 policy
2008-11-04 12:30:29 +00:00
Pedro Machado Manhaes de Castro
ecbb61ca1f
test for radical_line
2008-10-20 15:08:28 +00:00
Pedro Machado Manhaes de Castro
a8647958ae
member functions on Circle_3
2008-10-02 16:19:04 +00:00
Pedro Machado Manhaes de Castro
7b44979a90
Convention to allow Circle_3 c = Circle_3(p1, p2, p3); Sphere_3 s = c; Plane_3 p = c;
2008-09-16 13:04:08 +00:00
Sylvain Pion
6e7b88e4ca
Remove the CGAL_DEPRECATED_CODE notes around the Point/Vector/Linx constructors
...
from number types, as these have been decided to be un-deprecated quite some time ago.
2008-07-28 16:21:53 +00:00
Sylvain Pion
0a76cd42f7
Remove the deprecated linear kernel functors Construct_supporting_line_2 and
...
Construct_supporting_line_3. (they were deprecated in 2004).
2008-07-28 16:07:28 +00:00
Pedro Machado Manhaes de Castro
e8663963f2
Constructing a Circle_3 passing through three points p, q, r
2008-07-17 14:08:50 +00:00
Pedro Machado Manhaes de Castro
66b2705068
Changing Licenses from QPL to LGPL
2008-07-17 12:02:29 +00:00
Pedro Machado Manhaes de Castro
4527058121
Fixing Lazy for Circle_3
2008-06-26 14:26:49 +00:00
Pedro Machado Manhaes de Castro
ca7b46ee81
fix asserts
2008-06-04 12:05:42 +00:00
Pedro Machado Manhaes de Castro
9986bfec83
fix
2008-06-04 09:24:14 +00:00
Pedro Machado Manhaes de Castro
ecc4ca877b
adding a new line at EOF
2008-06-04 07:59:09 +00:00
Pedro Machado Manhaes de Castro
acd4fe9059
adding Circle_3 to the Kernel
2008-06-03 12:21:18 +00:00
Pedro Machado Manhaes de Castro
fc45f43179
Adding Circle_3 object to the Kernel.
2008-06-03 12:17:16 +00:00
Andreas Fabri
b997c33952
Added compare_squared_radius, its functor, doc, testsuite
2008-05-28 14:25:42 +00:00
Sylvain Pion
55d538b335
"Ambient" is not spelled "Ambiant" in English...
2008-04-17 10:13:31 +00:00
Sylvain Pion
bbd100121b
Add barycenter computation.
2008-04-15 15:13:17 +00:00
Sylvain Pion
2389cdcc1e
Dimension detecting stuff rewrite.
...
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +00:00
Sylvain Pion
02e543a294
Add Dimension<T, K> whose nested "value" is the dimension of the ambiant
...
space. A special constant CGAL::Dynamic_dimension (equal to INT_MAX)
indicates the case where the dimension is only known at run time.
2008-04-11 21:03:22 +00:00
Sylvain Pion
aad1552b8a
Add Dimension_tag<int dim> to help dispatching functions depending
...
on the dimension.
2008-04-11 19:29:30 +00:00
Sylvain Pion
ef71559164
Remove the Kernel Concept Archetypes.
2008-04-11 19:26:21 +00:00
Sylvain Pion
11bbf3e2de
Vector_2 and Vector_3 now also provide a Cartesian_const_iterator.
2008-04-09 17:58:57 +00:00
Sylvain Pion
1d8779b171
Rename the following functions:
...
det2x2_by_formula
det3x3_by_formula
det4x4_by_formula
det5x5_by_formula
det6x6_by_formula
to:
determinant
How cute... a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion
b740e90de0
Rename the following functions:
...
sign_of_determinant2x2
sign_of_determinant3x3
sign_of_determinant4x4
sign_of_determinant5x5
sign_of_determinant6x6
to:
sign_of_determinant
So that we have less dimension-dependent namings, at least internally...
2008-04-09 12:20:25 +00:00
Andreas Meyer
20315de571
* replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
...
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Fernando Cacciola
b704509dcf
Examples/Demos/Test CMake scripts updated
2008-03-05 21:14:02 +00:00
Fernando Cacciola
a659cd852a
Added project() and conditional test for CGAL_DIR
2008-02-14 15:42:36 +00:00
Fernando Cacciola
14043c43a0
Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically)
2008-02-08 17:47:21 +00:00
Fernando Cacciola
afddfc4fca
CMake scripts for demos/examples/test added
2008-02-06 19:06:24 +00:00
Andreas Fabri
7da7324906
Testsuite for (unit)_normal functions and functors
2008-01-19 14:01:57 +00:00
Sylvain Pion
c7913aad42
Rename *.C to *.h.
2007-12-28 15:59:16 +00:00
Andreas Meyer
6623d525eb
* replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
...
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Sylvain Pion
3149384263
Add missing doc and test for Vector_2 and Vector_3 squared_length().
2007-08-21 09:14:41 +00:00
Michael Hemmer
854ea80b4b
rm use of CGALi::Is_field etc
...
replaced by use of Algebraic_category tag
2007-03-12 17:34:47 +00:00
Sylvain Pion
52ec7ae45b
Remove makefile, and rename .C to .cpp
2007-01-27 20:04:06 +00:00
Sylvain Pion
63b4b6852d
remove default cgal_test from SVN
2007-01-27 19:32:07 +00:00
Sylvain Pion
70b3bee5af
Move 3D .bbox() to the functors to make Lazy_kernel pass, and enhance the test-suite to test .bbox()
2006-12-27 23:26:06 +00:00
Michael Hemmer
ac993aa678
rm use of Algebraic_structure_tag
2006-12-04 13:59:37 +00:00
Sylvain Pion
bd1e8bfc3a
Add operator[] in Point_3 (and test it).
2006-11-23 12:56:55 +00:00
Michael Hemmer
10897c9daa
simplified Syntax
2006-11-08 14:46:59 +00:00
Michael Hemmer
32fc473988
replaced Number_type_traits by Algbraic_structure_traits
2006-11-08 13:49:39 +00:00
Sylvain Pion
fbe285ca94
New predicates :
...
compare_squared_distance(Point_[23], Point_[23], FT), with
CompareSquaredDistance_[23] functors.
2006-10-24 05:24:31 +00:00
Andreas Fabri
89d1762361
min/max changes also in the testsuite
2006-09-13 16:27:24 +00:00
Sylvain Pion
ed36e763c7
Second part of Return_base_tag changes.
2006-08-16 16:38:49 +00:00
Sylvain Pion
629c1dfddd
Ray_2.is_degenerate() was buggy.
2006-08-11 09:01:12 +00:00