Commit Graph

384 Commits

Author SHA1 Message Date
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Laurent Rineau 826ca03d69 Merge pull request #2871 from afabri/CGAL-invocable_as_const-GF
Declare several operator() used for comparisons const
2018-03-02 16:33:07 +01:00
Laurent Rineau 0cd5d3f21c Merge pull request #2853 from MaelRL/Generator-Fix_missing_domain_check-GF
Generator: Fix `random_points_in_triangle_mesh_2`

# Conflicts:
#	Generator/include/CGAL/point_generators_2.h
2018-02-23 17:33:12 +01:00
Andreas Fabri e5118d1401 Declare several operator() used for comparisons const 2018-02-23 15:34:15 +00:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Mael Rouxel-Labbé 6b77d5149b
Fixed typo 2018-02-19 12:07:14 +01:00
Mael Rouxel-Labbé 5dfd491622 Added a precondition
An empty range will mean a segfault when calling weights.back(), with the
precondition, it will be more obvious.
2018-02-16 16:41:04 +01:00
Mael Rouxel-Labbé 58a8eb0504 Fixed random points on triangle mesh example
No mesh means no inside/outside...
2018-02-16 16:37:51 +01:00
Mael Rouxel-Labbé a125f08e8f Improved point generators tests 2018-02-16 16:10:21 +01:00
Mael Rouxel-Labbé 55b928b08c Fixed random_points_in_triangle_mesh_2 to actually filter out-of-domain faces 2018-02-16 16:10:09 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Andreas Fabri 64d0c6f563 Removed a return statement in a test that I think should not be there as it ends the test prematurely 2018-01-24 09:00:26 +00:00
Andreas Fabri dc2f37a4ae disable/enable warnings 2018-01-24 08:59:20 +00:00
Andreas Fabri f76e744bff Spatial_searching 2018-01-17 20:12:06 +00:00
Andreas Fabri 43d2ecb521 Triangulation_3 2018-01-17 16:57:46 +00:00
Andreas Fabri 6c791f161a Triangulation_2 2018-01-17 16:12:12 +00:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Sébastien Loriot 19adf3b05e make the doc match struct/class with the implementation 2017-11-17 11:34:55 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 2e09f77031 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-10-13 17:07:21 +02:00
Laurent Rineau 85dd5a2ffb Merge pull request #2443 from sloriot/Generator-fix_copy_cstr
Fix determinism of points inside 2D/3D triangles, and tetrahedron
2017-10-13 16:53:08 +02:00
Laurent Rineau 2b35bddfb2 Replace all std::binary_function by CGAL::binary_function 2017-10-04 16:36:32 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Sébastien Loriot 836f067b8d remove default value hidding the copy-constructor
the random generator was replaced at each copy
2017-09-19 14:22:43 +02:00
Sébastien Loriot 4489593ab5 add missing include directive 2017-08-03 20:47:11 +02:00
Andreas Fabri 322796d7b9 #include Polyhedron_3.h 2017-08-03 16:09:52 +02:00
Mael Rouxel-Labbé 207f46cbee Aesthetic fix 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 920fe90f0d Fixed generic_random_test
-- used proper types
-- removed useless stuff
-- made readable
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 4968b7706b Fixed Bare_point / Weighted_point usage in /Generator includes
Along the way, improved the implementation of two generators
-- easier to read
-- correct types (the generator returns bare_points, not weighted_points)
-- better function names
-- do not default-construct traits class
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 6323afb788 Fix return type of Apply_approx_sqrt
1. Should try to remove any reference so we get a proper value type
2. it's result_of(const T&) not result_of(T)
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 33bc47d4b7 Add constructors to Apply_approx_sqrt 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 60f95748a4 Minor doc fix 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 096627742f Fixed doc of Random_points_in_triangle_mesh_3 2017-06-28 10:15:30 +02:00
Clement Jamin f1971bf9ba Fix errors & warnings from testsuite 2017-06-19 15:04:14 +02:00
Andreas Fabri c81b707bfb Do not include graph_traits_{Polyhedron | Surface_mesh}.h 2017-04-24 19:17:43 +02:00
Andreas Fabri d35ebb9432 Generator: doc fix
Fix phrasing in the ref manual of `Random_points_in_sphere_3`.
2017-03-29 12:59:34 +02:00
Sébastien Loriot 1d1b0301fe add a random generator on edges of a mesh 2016-12-29 07:20:25 +01:00
Sébastien Loriot 468abf708e copy-paste random points on 2D segment in 3D 2016-12-29 07:20:25 +01:00
Sébastien Loriot 19a7a84983 correctly use the Creator 2016-12-29 07:20:23 +01:00
Maxime Gimeno 06c8a7a72b Fix the return type of Apply_approx_sqrt. 2016-12-29 07:20:22 +01:00
Maxime Gimeno 9e767fd16f Fix and clean-up 2016-12-29 07:20:21 +01:00
Maxime Gimeno 542efa95d7 Implement the NamedParameters functions and use the property maps. 2016-12-29 07:20:20 +01:00
Maxime Gimeno 218392c7b3 Cherry-pick from Generator-branch.
Conflicts:
	Generator/include/CGAL/internal/Generic_random_point_generator.h
	Generator/include/CGAL/point_generators_3.h
2016-12-29 07:20:20 +01:00
Maxime Gimeno 81ea4ee8fc Add a constructor for `Random_points_in_triangle_mesh_3` that takes a vertex point map as argument. 2016-12-29 07:20:20 +01:00
Maxime Gimeno 39e7b76902 WIP 2016-12-29 07:20:19 +01:00
Andreas Fabri 13806e86f2 Make static variable thread local 2016-11-02 15:01:46 +01:00