Maxime Gimeno
20899df7a7
Make the hexahedron creation clearer and fix examples and tests
2018-12-04 11:46:48 +01:00
Sébastien Loriot
6c3e3252a9
brute force fix for uninitialize warning
2018-11-25 10:53:10 +01:00
Guillaume Damiand
7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand
2018-11-05 07:32:58 +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
Sébastien Loriot
ea240cfac5
use \PkgXXX instead of \PkgXXXSummary
2018-10-08 10:28:44 +02:00
Sébastien Loriot
a2e8a1c68f
add the suffix Ref to doxygen link to reference
2018-10-08 10:26:56 +02:00
Laurent Rineau
b86fff3f90
Merge pull request #3128 from sgiraudot/Solver_interface-Warn_against_diagonalize_traits-GF
...
Solver Interface: deprecate CGAL::Diagonalize_traits
2018-06-27 10:21:37 +02:00
Simon Giraudot
95e6d089fa
Include Eigen in CMakeLists.txt where needed
2018-06-19 10:57:55 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Laurent Rineau
588cc67897
Merge pull request #3096 from MaelRL/CGAL-Fix_deprecated_code_usage-GF
...
Fix some deprecation-related issues
2018-05-28 13:58:41 +02:00
Mael Rouxel-Labbé
b41f1d6272
Various deprecation-related improvements
2018-05-18 16:47:54 +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
c54a6a4980
Put CGAL::random_shuffle() in the subnamespace cpp98
2018-04-11 09:32:23 +01:00
Andreas Fabri
3955f031bd
Fix examples/tests/demos
2018-04-04 14:18:22 +01:00
Andreas Fabri
063a91a771
Use CGAL::random_shuffle
2018-04-04 14:00:23 +01:00
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
Sébastien Loriot
305afe4787
remove non tested file
...
an issue was open instead
2016-10-06 09:47:37 +02:00
Laurent Rineau
223c1cf5a4
Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
...
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau
1c19028e5b
Merge pull request #1267 from maxGimeno/Random_generator-GF
...
Random generator
2016-10-05 13:02:29 +02:00
Laurent Rineau
9a0bb54922
Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
...
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Sébastien Loriot
414fec3e46
add missing const
2016-10-03 14:16:22 +02:00
Sébastien Loriot
97aa9f615f
fix typo
2016-10-03 10:29:23 +02:00
Sébastien Loriot
a195583c9d
fix the default vertex point map used
2016-10-03 10:26:07 +02:00
Sébastien Loriot
aa5dffa48d
add missing include directive
2016-10-03 09:56:00 +02:00
Laurent Rineau
51f5697d3d
Add missing #include
2016-09-30 15:23:14 +02:00
Andreas Fabri
a3f42864c3
Remove the dependency LGPL on GPL
2016-09-30 15:23:14 +02:00
Andreas Fabri
39f4bf96c9
Fix package Generator: Add #includes
2016-09-30 15:22:26 +02:00
Maxime Gimeno
83043ca7c0
Fix code for VertexPointMap
2016-09-28 10:59:11 +02:00
Maxime Gimeno
adff2f01b0
Replace default_random by get_default_random().
2016-09-28 10:59:11 +02:00
Maxime Gimeno
51995f11db
Add a constructor for `Random_points_in_triangle_mesh_3` that takes a vertex point map as argument.
2016-09-28 10:59:11 +02:00
Sébastien Loriot
8bd7bccfdd
fix 8a7ccb8
...
the approximate sqrt can only be applied when computing each weight
2016-09-28 10:59:11 +02:00
Maxime Gimeno
27aaadacab
Update doc to specify const refs.
2016-09-28 10:59:11 +02:00
Maxime Gimeno
cf0d78da34
Use const references in the generators instead of simple references.
2016-09-28 10:59:11 +02:00
Maxime Gimeno
332990c0d1
Use Compute_squared_area_3 instead of Compute_area_3 in case the Kernel does not have a sqrt() implementation.
2016-09-28 10:59:10 +02:00
Sébastien Loriot
9e5ac35277
..._on_tetrahedral_mesh_boundary_3 -> ..._in_tetrahedral_mesh_boundary_3
2016-09-28 10:59:09 +02:00
Sébastien Loriot
3965967cf6
Random_points_on_triangle_mesh_3 -> Random_points_in_triangle_mesh_3
2016-09-28 10:58:45 +02:00
Sébastien Loriot
95f7698049
require validity of the input in the doc + improve changes
2016-09-28 10:57:18 +02:00
Sébastien Loriot
b77a2b2ce6
Random_points_on_tetrahedral_mesh_boundary -> Random_points_on_tetrahedral_mesh_boundary_3
2016-09-28 10:48:10 +02:00
Sébastien Loriot
c6f36a53a4
be consistant with Triangle_from_face_C3t3
2016-09-28 10:48:09 +02:00
Sébastien Loriot
aecf0fe586
internal::Deref takes a class rather than a pointer as template parameter
2016-09-28 10:48:09 +02:00
Maxime Gimeno
b352ec6cad
Add doc for the new classes.
2016-09-28 10:48:09 +02:00
Maxime Gimeno
472f9beffb
Addition of the class, example and test for Random_points_in_triangle_2
2016-09-28 10:48:09 +02:00
Maxime Gimeno
79fc76c738
Add a test for random_points_on_triangles_3
2016-09-28 10:48:09 +02:00
Maxime Gimeno
ccb3540fe6
fix the missing const ref.
2016-09-28 10:48:08 +02:00
Maxime Gimeno
b24413b407
Renaming functors
2016-09-28 10:48:08 +02:00
Maxime Gimeno
a7282912a0
Add a random_points_generator on a range of triangles, and an exemple for it.
2016-09-28 10:48:08 +02:00
Maxime Gimeno
2ac64c542a
Replace Weighted_point_3 by C3T3::Triangulation::Point_3.
2016-09-28 10:48:08 +02:00
Maxime Gimeno
fad8535621
Remove useless template Point_3 in Random_points_on_triangle_mesh_3.
2016-09-28 10:48:08 +02:00
Sébastien Loriot
a6b628620f
fix typos and improve phrasing
2016-09-28 10:48:08 +02:00
Sébastien Loriot
146238d6bc
improve phrasing
2016-09-28 10:48:07 +02:00
Maxime Gimeno
c013d9d292
Clean-up
...
- Replace Mesh by TriangleMesh
- update changes.html and doc sections
- remove useless .off in examples
2016-09-28 10:48:07 +02:00
Maxime Gimeno
4754094f5f
Make working tests.
2016-09-28 10:48:07 +02:00
Maxime Gimeno
c7eb806329
Make the VertexPointMap editable
2016-09-28 10:48:07 +02:00
Maxime Gimeno
8469c45336
Enhance Prevent_deref API and use it.
2016-09-28 10:48:07 +02:00
Sébastien Loriot
fd39972166
add method to access the sum of weights
2016-09-28 10:46:43 +02:00
Maxime Gimeno
2912b9d40b
Fixes in the doc
2016-09-28 10:46:42 +02:00
Maxime Gimeno
32899c21d0
Fix example
2016-09-28 10:45:48 +02:00
Maxime Gimeno
64c0a0d620
add an image to the User Manual.
2016-09-28 10:45:48 +02:00
Maxime Gimeno
ee6731e625
Fix generator on triangle mesh 3
2016-09-28 10:45:47 +02:00
Maxime Gimeno
1d5d17cfd8
Clean-up
2016-09-28 10:45:47 +02:00
Maxime Gimeno
19a7386164
Clean-up
2016-09-28 10:45:47 +02:00
Maxime Gimeno
b4578e9262
Add see also and name in PkgDescription
2016-09-28 10:45:47 +02:00
Maxime Gimeno
18a2cdd59c
Add examples
2016-09-28 10:45:47 +02:00
Maxime Gimeno
ec73440ab7
Update of the doc.
2016-09-28 10:45:46 +02:00
Maxime Gimeno
3eb1f4ca69
Clean-up
...
- Clean-up
- Moved Prevent_deref to CGAL/iterator.h
2016-09-28 10:45:46 +02:00
Maxime Gimeno
04f589e97d
Update doc for Random_points_on_triangle_mesh_2
2016-09-28 10:45:46 +02:00
Maxime Gimeno
7a1c2037fd
Implementation and changes
...
- Change Generic_random_point_generator to use a Functor instead of a property_map
- Change Random_points_on_triangle_mesh_3 to use a functor wrapping around a PMAP instead of the PMAP
- Implement a random point generator on a Triangulation_2
- Implement a random point generator in and on tetrahedral meshes.
Conflicts:
Generator/include/CGAL/point_generators_3.h
Generator/test/Generator/generic_random_test.cpp
2016-09-28 10:45:46 +02:00
Maxime Gimeno
ce9d373760
Implementation and changes
...
- Change Generic_random_point_generator to use a Functor instead of a property_map
- Change Random_points_on_triangle_mesh_3 to use a functor wrapping around a PMAP instead of the PMAP
- Implement a random point generator on a Triangulation_2
2016-09-28 10:45:45 +02:00
Maxime Gimeno
7bdd704de2
Implement convenience function mor FaceListGraphs
2016-09-28 10:45:45 +02:00
Sébastien Loriot
e2f7efa58a
clean up
2016-09-28 10:45:45 +02:00
Sébastien Loriot
8665ef7026
clean-up
2016-09-28 10:45:45 +02:00
Maxime Gimeno
35a328b1bf
Move Halfedge_and_face_graph_property_maps.h to BGL.
2016-09-28 10:45:45 +02:00
Maxime Gimeno
709f3984c1
Implements a random point generator for FaceGraphLists, and an unfinished test.
2016-09-28 10:45:44 +02:00
Andreas Fabri
6554072006
Update Generator.txt
2016-09-28 10:00:39 +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
6b338eeb1f
improve the name of projects in cmake scripts of examples
2016-09-08 00:02:55 +02:00
Guillaume Damiand
0e4aa8525e
Second merge
2016-05-25 11:06:17 +02:00
Guillaume Damiand
10469f9c4e
Update with master
2016-05-25 10:58:55 +02:00
Clement Jamin
5c64e418f6
Add a note about CGAL::Random not being fully thread-safe
2016-04-14 14:49:11 +02:00
Sébastien Loriot
4c29bf1b44
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
2016-03-24 16:33:46 +01:00
Laurent Rineau
8716303dd9
Doc: add "Use `get_default_random()` instead."
2016-03-09 17:03:44 +01:00
Clement Jamin
fccabf779f
Deprecate default_random in doc
2016-03-09 14:27:22 +01:00
Clement Jamin
9a61b23b55
Use get_default_random() instead of default_random
2016-03-09 10:35:21 +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
Philipp Möller
0a04a3a48f
Use CGAL_DOC_VERSION
2016-02-11 15:37:54 +01:00
Sebastien Loriot
48da87c2b5
Merge pull request #732 from afabri/CGAL-replace_bind-GF
...
Replace all std::bind with boost::bind
2016-02-07 18:21:05 +01:00
Sébastien Loriot
15d2bbcf2a
avoid ambiguous calls
2016-02-04 17:36:15 +01:00
Andreas Fabri
52f8129579
replace all std::bind with boost::bind
2016-02-04 08:59:38 +01:00
Andreas Fabri
9d674673a6
Print out the seed.
2016-02-03 10:19:39 +01:00
Sebastien Loriot
32a3972c33
Merge pull request #592 from afabri/CGAL-dont_submit_cleanup-GF
...
Towards getting rid of dont_submit files
2016-01-08 14:14:08 +01:00
Andreas Fabri
8df7cf2758
various
2016-01-05 18:23:35 +01:00
Philipp Möller
71b4e9c515
Use CGAL_FULL_VERSION in all Doxyfile.in
2015-12-17 16:33:28 +01:00
Philipp Möller
81a8f982dc
Handle the easy INPUT cases
...
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +01:00
Maxime Gimeno
7b4267c162
Replacement of cgalRequires
...
-fix for #291
2015-11-23 22:06:06 +01:00
Sebastien Loriot
2e493f297b
Merge pull request #389 from afabri/CGAL-Qt3-GF
...
Remove Qt3 based demos
2015-10-23 17:08:49 +02: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
Andreas Fabri
6e214c5f4a
remove Qt3 demos and empty dontsubmit files
2015-09-30 12:51:40 +02:00