Commit Graph

28 Commits

Author SHA1 Message Date
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
Maxime Gimeno 1d5d17cfd8 Clean-up 2016-09-28 10:45:47 +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 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
Clement Jamin 9a61b23b55 Use get_default_random() instead of default_random 2016-03-09 10:35:21 +01: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
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Guillaume Damiand ebc4300334 Header only for random.cpp.
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +01:00
Pedro Machado Manhaes de Castro ef2d934007 Adding new authors to the files. 2013-10-22 11:24:58 -03:00
Pedro Machado Manhaes de Castro 386fe6eb09 stable stuffs done in gsoc2013, random points in triangle_2, triangle_3, and tetrahedron_3 2013-10-04 11:59:03 -03:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Olivier Devillers 61d37a420b OK, previous version was correct, and indeed better.
Thus I restore it, AND I use it also for points IN sphere
2010-05-26 07:24:15 +00:00
Olivier Devillers 40fb2ad861 Previous version of Random_points_in_sphere_3 was not
generating a uniform distribution on the sphere
(it was uniform on z and uniform on alpha and compute r
such that point with cylindrical coordinates alpha r z is on the sphere)
2010-05-25 13:55:26 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 1a3c0052e5 Move packages to trunk root 2006-02-14 08:58:15 +00:00