Home
last modified time | relevance | path

Searched refs:point_gen (Results 1 – 3 of 3) sorted by relevance

/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/tests/sla_print/
H A Dsla_print_tests.cpp49 sla::SupportPointGenerator point_gen{emesh, autogencfg, [] {}, [](int) {}}; in __anona73616cb0202() variable
63 point_gen.seed(0);
64 point_gen.execute(slices, slicegrid);
76 int64_t checksum = get_chksum(point_gen.output());
77 size_t ptnum = point_gen.output().size();
78 REQUIRE(point_gen.output().size() > 0);
81 point_gen.output().clear();
82 point_gen.seed(0);
83 point_gen.execute(slices, slicegrid);
84 REQUIRE(point_gen.output().size() == ptnum);
[all …]
H A Dsla_test_utils.cpp123 sla::SupportPointGenerator point_gen{emesh, autogencfg, [] {}, [](int) {}}; in test_supports() local
125 point_gen.seed(0); // Make the test repeatable in test_supports()
126 point_gen.execute(out.model_slices, out.slicegrid); in test_supports()
129 std::vector<sla::SupportPoint> support_points = point_gen.output(); in test_supports()
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/PCA/
H A DBasic_generator_plugin.cpp864 Point_generator point_gen(nb_cells[0]+1, nb_cells[1]+1, extrema[0], extrema[1]); in generateGrid() local
866 CGAL::make_grid(nb_cells[0], nb_cells[1], grid, point_gen, triangulated); in generateGrid()