mirror of https://github.com/CGAL/cgal
Test range of array faces in repair_polygon_soup()
This commit is contained in:
parent
1d47a29224
commit
d934a0465f
|
|
@ -564,6 +564,21 @@ void test_slit_pinched_polygons(const bool /*verbose*/ = false)
|
|||
|
||||
int main()
|
||||
{
|
||||
// test compilation with different polygon soup types
|
||||
std::vector<Point_3> vpoints;
|
||||
std::vector<std::vector<std::size_t> > vpolygons;
|
||||
PMP::repair_polygon_soup(vpoints, vpolygons);
|
||||
|
||||
std::vector<std::deque<std::size_t> > dpolygons;
|
||||
PMP::repair_polygon_soup(vpoints, dpolygons);
|
||||
|
||||
std::deque<std::vector<std::size_t> > dvpolygons;
|
||||
PMP::repair_polygon_soup(vpoints, dvpolygons);
|
||||
|
||||
std::deque<std::array<std::size_t, 3> > apolygons;
|
||||
PMP::repair_polygon_soup(vpoints, apolygons);
|
||||
|
||||
// test functions
|
||||
test_polygon_canonicalization(true);
|
||||
test_merge_duplicate_points(false);
|
||||
test_merge_duplicate_polygons(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue