mirror of https://github.com/CGAL/cgal
rename function
This commit is contained in:
parent
d08f9f8a17
commit
999959d737
|
|
@ -19,7 +19,7 @@ int main(int argc, char* argv[])
|
|||
const std::size_t nbv = (argc > 2) ? atoi(argv[2]) : 1000;
|
||||
|
||||
Remeshing_triangulation tr;
|
||||
CGAL::Tetrahedral_remeshing::insert_random_points_in_sphere(nbv, tr);
|
||||
CGAL::Tetrahedral_remeshing::insert_random_points_in_cube(nbv, tr);
|
||||
|
||||
/// A subdomain index 0 is considered outside and is not remeshed
|
||||
/// so we set finite cells to a non-zero `Subdomain_index`
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace CGAL
|
|||
namespace Tetrahedral_remeshing
|
||||
{
|
||||
template<typename Tr>
|
||||
void insert_random_points_in_sphere(const std::size_t& nbv, Tr& tr)
|
||||
void insert_random_points_in_cube(const std::size_t& nbv, Tr& tr)
|
||||
{
|
||||
CGAL::Random rng;
|
||||
typedef typename Tr::Point Point;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#define CGAL_DUMP_REMESHING_STEPS
|
||||
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
|
||||
#include <CGAL/Tetrahedral_remeshing/Remeshing_triangulation_3.h>
|
||||
|
|
@ -58,7 +60,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
/// Create a randomly generated triangulation of a sphere
|
||||
Remeshing_triangulation tr;
|
||||
CGAL::Tetrahedral_remeshing::insert_random_points_in_sphere(nbv, tr);
|
||||
CGAL::Tetrahedral_remeshing::insert_random_points_in_cube(nbv, tr);
|
||||
|
||||
/// A subdomain index 0 is considered outside and is not remeshed
|
||||
/// so we set finite cells to a non-zero `Subdomain_index`
|
||||
|
|
|
|||
Loading…
Reference in New Issue