Sebastien Loriot
7ea06c63ea
Get the last picked item ( #9066 )
...
You can now do:
```c++
Random_points_in_triangle_mesh_3<TriangleMesh> g(mesh, r);
Point c;
face_descriptor fc;
std::tie(c,fc) = g.point_and_support();
++g;
```
to get the normal of the picked point
cc @huang46u
Small feature:
[here](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Generator_point_and_support )
2026-03-18 19:30:19 +01:00
Sébastien Loriot
a955fa5ec8
typo
2026-03-03 14:18:29 +01:00
Sébastien Loriot
c1cd727aa4
rename to point_and_support and also return the last point generated
2026-02-03 17:10:07 +01:00
Sébastien Loriot
9990ff9df8
rename class
2026-02-03 16:03:54 +01:00
Mael Rouxel-Labbé
f430b0e38a
Misc tiny fixes
2026-01-17 22:55:58 +01:00
Sébastien Loriot
65f4f94466
the item type of generator of points in triangle soup is size_t
2026-01-16 17:20:07 +01:00
Sébastien Loriot
426c268641
pass missing generator
2025-09-23 17:22:45 +02:00
Sébastien Loriot
f9f932712f
document existing classes not documented
2025-09-12 12:00:10 +02:00
Sébastien Loriot
49b980a550
rename class to match naming conventions
2025-09-12 11:59:52 +02:00
Sébastien Loriot
194bd36d47
add a way to get the item where the random points was picked
2025-09-12 10:09:07 +02:00
Andreas Fabri
0464fce7ac
Generator: Document default for parameter radius
2025-04-28 07:39:39 +01:00
Donghao Chu
286be1cfd0
Pass random instance to GeneratorOnObject in Generic_random_point_generator for consistency
2024-08-21 14:38:31 +08:00
Sébastien Loriot
8b3acae1c7
boost::remove_reference -> std::remove_reference
2023-04-23 22:36:59 +02:00
albert-github
45478184de
spelling corrections
...
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Andreas Fabri
a8dc42d557
Generator
2022-09-27 13:49:31 +01:00
Andreas Fabri
bb82c7049e
Generator: Remove unused variable
2022-03-16 08:31:30 +01:00
Sébastien Loriot
d370326ec1
add CGAL_unreachable as requested by @lrineau and @mglisse
2021-10-27 14:45:10 +02:00
Sébastien Loriot
98e471849b
moving files from internal to PKG/internal
2021-08-26 11:33:39 +02:00
Maxime Gimeno
a3d1765ab4
Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno
2021-07-19 14:18:40 +02:00
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Maxime Gimeno
9533a9fea8
remove CGAL/result_of.h and move its content to config.h
2021-05-07 12:51:07 +02:00
Sébastien Loriot
39367c2313
Merge remote-tracking branch 'cgal/5.2.x-branch'
2021-04-17 11:14:29 +02:00
Sébastien Loriot
cbd95907cd
Merge remote-tracking branch 'cgal/5.1.x-branch' into HEAD
2021-04-17 11:11:28 +02:00
Laurent Rineau
1b54449dc5
Merge pull request #4878 from danston/Kernels-decltypes-danston
...
Improve decltype/result_of/invoke_result
2021-04-06 15:13:21 +02:00
Mael Rouxel-Labbé
f243467ae5
Explicit requirements in doc&code
2021-03-29 15:24:10 +02:00
Mael Rouxel-Labbé
59e443d68a
Minor debugging improvements
2021-03-29 14:30:39 +02:00
Mael Rouxel-Labbé
bea5995756
Handle "right" folds
...
The following configurations of collinear points:
x-2 x x-1 AND x+2 x x+1
cannot be handled with the typical left swap because the interval
has range n-1. Instead, just manually swap like it is done
when the fold is on the left (which can and is immediately detected
at the beginning of the insertion event)
2021-03-29 14:27:16 +02:00
Simon Giraudot
3b1dfc764b
Add missing include
2021-03-24 08:44:17 +01:00
Simon Giraudot
ab14acff77
Replace std::pow(x,2) by CGAL::square(x)
2021-03-23 13:14:41 +01:00
Dmitry Anisimov
81d9556707
Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston
2021-02-10 10:06:45 +01:00
Sébastien Loriot
b796e6d786
fix invalid replacement
...
spotted by @maxGimeno
2021-01-08 14:52:28 +01:00
Sébastien Loriot
1e249afdb3
remove some boost::bind
2021-01-06 12:59:11 +01:00
Dmitry Anisimov
2f7f37983b
periodic 3 and generator fixes + the issue #3083 is addressed
2020-07-24 11:26:28 +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
8bb22d5b2c
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of the 5.0 release branch
+ manual fix of the files (indentation was changed in the meantime):
* Spatial_sorting/include/CGAL/Multiscale_sort.h
* Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot
8b153fb495
Merge branch 'cgal/releases/CGAL-5.0-branch'
...
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +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
Mael Rouxel-Labbé
3c7eb2c6b9
Use CGAL_PI instead of hardcoding it
2020-01-07 15:31:07 +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
Laurent Rineau
419032d859
Merge pull request #3947 from MaelRL/CGAL-Fix_typos-GF
...
Fix some typos in code/comments/documentation
2019-05-23 08:50:14 +02:00
Laurent Rineau
b8fe6b10ee
Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
...
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00