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