diff --git a/BGL/test/BGL/test_Euler_operations.cpp b/BGL/test/BGL/test_Euler_operations.cpp index 97f0fa1a40a..bce3ece8c72 100644 --- a/BGL/test/BGL/test_Euler_operations.cpp +++ b/BGL/test/BGL/test_Euler_operations.cpp @@ -381,6 +381,7 @@ int main() { test_Euler_operations(); test_Euler_operations(); + test_Euler_operations(); #ifdef CGAL_USE_OPENMESH test_Euler_operations(); diff --git a/BGL/test/BGL/test_Prefix.h b/BGL/test/BGL/test_Prefix.h index e76a3e53c5d..e4ebab6d543 100644 --- a/BGL/test/BGL/test_Prefix.h +++ b/BGL/test/BGL/test_Prefix.h @@ -15,6 +15,11 @@ #include +#include +#include +#include +#include + #ifdef CGAL_USE_SURFACE_MESH #include #include @@ -33,6 +38,23 @@ typedef Kernel::Vector_3 Vector_3; typedef Kernel::Triangle_3 Triangle_3; typedef Kernel::Iso_cuboid_3 Iso_cuboid_3; +typedef CGAL::Linear_cell_complex_traits<3, Kernel> MyTraits; + +struct Myitem +{ + template + struct Dart_wrapper + { + typedef CGAL::Dart<2, Refs > Dart; + typedef CGAL::Cell_attribute_with_point< Refs > Vertex_attribute; + typedef CGAL::Cell_attribute< Refs > Face_attribute; + typedef CGAL::cpp11::tuple Attributes; + }; +}; + +typedef CGAL::Linear_cell_complex<2, 3, MyTraits, Myitem> LCC; + + #ifdef CGAL_USE_SURFACE_MESH typedef CGAL::Surface_mesh SM; #endif @@ -119,6 +141,14 @@ bool read_a_mesh(Polyhedron& p, const std::string& str) { return success; } +bool read_a_mesh(LCC& lcc, const std::string& str) { + std::ifstream in(str.c_str()); + bool success = in.good(); + if(success) + CGAL::load_off(lcc, in); + return success; +} + template std::vector t_data() {