Commit Graph

70 Commits

Author SHA1 Message Date
Andreas Fabri 0464fce7ac Generator: Document default for parameter radius 2025-04-28 07:39:39 +01:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Maxime Gimeno 9689a1c1a3 Merge remote-tracking branch 'cgal/master' into Doc_enhancements_and_clarifications-GF 2020-03-27 16:16:47 +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
Mael Rouxel-Labbé 6b58618ba6 Clean code (indentation, trailing whitespace etc.) 2020-03-02 11:42:36 +01:00
Maxime Gimeno 201932abfb Merge remote-tracking branch 'cgal/master' into Doc_enhancements_and_clarifications-GF 2020-02-13 15:05:38 +01:00
Maxime Gimeno 67a5b4d8c5 more clean-up after review 2020-01-28 13:42:46 +01: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 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
Maxime Gimeno a4947324e9 clean-up and new tests 2019-10-04 13:13:00 +02:00
Maxime Gimeno a446908575 Use some CRTP voodoo to factorize the mesh and the soup versions of sampling. 2019-08-23 15:40:57 +02:00
Maxime Gimeno cc5b9c7a8a WIP 2019-08-23 15:40:02 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Andreas Fabri 43d2ecb521 Triangulation_3 2018-01-17 16:57:46 +00: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 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
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
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
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 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 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
Sébastien Loriot 414fec3e46 add missing const 2016-10-03 14:16:22 +02:00
Sébastien Loriot a195583c9d fix the default vertex point map used 2016-10-03 10:26:07 +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 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 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 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 fad8535621 Remove useless template Point_3 in Random_points_on_triangle_mesh_3. 2016-09-28 10:48:08 +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 ee6731e625 Fix generator on triangle mesh 3 2016-09-28 10:45:47 +02:00