Loading cgal-mesh-to-tnl.h +6 −7 Original line number Diff line number Diff line Loading @@ -74,8 +74,7 @@ cgal_mesh_to_tnl( const C3T3& c3t3 ) // initialize TNL mesh builder TNL::Meshes::MeshBuilder< MeshType > builder; builder.setPointsCount(idx); builder.setCellsCount(c3t3.number_of_cells()); builder.setEntitiesCount(idx, c3t3.number_of_cells()); // set points for( auto vit : c3t3.triangulation().finite_vertex_handles() ) Loading @@ -91,7 +90,7 @@ cgal_mesh_to_tnl( const C3T3& c3t3 ) cit != c3t3.cells_in_complex_end(); cit++ ) { auto& seed = builder.getCellSeed(idx++); auto seed = builder.getCellSeed(idx++); for (int i = 0; i < 4; i++) seed.setCornerId(i, V[cit->vertex(i)]); } Loading tnl @ ac498c7f Compare ec96c5d1 to ac498c7f Original line number Diff line number Diff line Subproject commit ec96c5d181a57a2014add72300e0b8c5756f8b5c Subproject commit ac498c7f9654af5a947400f2036d8f636f9179ff Loading
cgal-mesh-to-tnl.h +6 −7 Original line number Diff line number Diff line Loading @@ -74,8 +74,7 @@ cgal_mesh_to_tnl( const C3T3& c3t3 ) // initialize TNL mesh builder TNL::Meshes::MeshBuilder< MeshType > builder; builder.setPointsCount(idx); builder.setCellsCount(c3t3.number_of_cells()); builder.setEntitiesCount(idx, c3t3.number_of_cells()); // set points for( auto vit : c3t3.triangulation().finite_vertex_handles() ) Loading @@ -91,7 +90,7 @@ cgal_mesh_to_tnl( const C3T3& c3t3 ) cit != c3t3.cells_in_complex_end(); cit++ ) { auto& seed = builder.getCellSeed(idx++); auto seed = builder.getCellSeed(idx++); for (int i = 0; i < 4; i++) seed.setCornerId(i, V[cit->vertex(i)]); } Loading
tnl @ ac498c7f Compare ec96c5d1 to ac498c7f Original line number Diff line number Diff line Subproject commit ec96c5d181a57a2014add72300e0b8c5756f8b5c Subproject commit ac498c7f9654af5a947400f2036d8f636f9179ff