mirror of https://github.com/CGAL/cgal
fix warnings
This commit is contained in:
parent
2c4864b7ef
commit
275096efe1
|
|
@ -475,7 +475,7 @@ void compare_tmc_mc_trilinear(const std::array<typename KERNEL::FT, 8>& case_val
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename KERNEL>
|
template<typename KERNEL>
|
||||||
void assert_tmc(const std::array<typename KERNEL::FT, 8>& case_values, typename KERNEL::FT iso, std::size_t components, std::size_t euler, std::size_t boundaries)
|
void assert_tmc(const std::array<typename KERNEL::FT, 8>& case_values, typename KERNEL::FT iso, std::size_t components, int euler, std::size_t boundaries)
|
||||||
{
|
{
|
||||||
using K = KERNEL;
|
using K = KERNEL;
|
||||||
using Grid = IS::Cartesian_grid_3<K>;
|
using Grid = IS::Cartesian_grid_3<K>;
|
||||||
|
|
@ -640,7 +640,7 @@ int main(int, char**)
|
||||||
// this does not properly work
|
// this does not properly work
|
||||||
iso = generate_predefined_iso_edge(IsoEdgeCase::DOUBLE_SINGULAR, case_values);
|
iso = generate_predefined_iso_edge(IsoEdgeCase::DOUBLE_SINGULAR, case_values);
|
||||||
compare_tmc_mc_trilinear<K>(case_values, iso);
|
compare_tmc_mc_trilinear<K>(case_values, iso);
|
||||||
// assert_tmc<K>(case_values, iso, 1, 1, 1);
|
assert_tmc<K>(case_values, iso, 1, 1, 1);
|
||||||
|
|
||||||
// this cetagory includes cases that are almost always non-manifold
|
// this cetagory includes cases that are almost always non-manifold
|
||||||
iso = generate_predefined_plane(PlaneCase::CROSS, case_values);
|
iso = generate_predefined_plane(PlaneCase::CROSS, case_values);
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ bool has_degenerate_faces(PolygonMesh& pmesh)
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename PolygonMesh>
|
template <typename PolygonMesh>
|
||||||
int connected_components(PolygonMesh& mesh)
|
std::size_t connected_components(PolygonMesh& mesh)
|
||||||
{
|
{
|
||||||
using face_descriptor = typename boost::graph_traits<PolygonMesh>::face_descriptor;
|
using face_descriptor = typename boost::graph_traits<PolygonMesh>::face_descriptor;
|
||||||
|
|
||||||
|
|
@ -77,7 +77,7 @@ int euler_characteristic(const PolygonMesh& mesh)
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename PolygonMesh>
|
template <typename PolygonMesh>
|
||||||
int boundary_components(const PolygonMesh& mesh)
|
std::size_t boundary_components(const PolygonMesh& mesh)
|
||||||
{
|
{
|
||||||
using halfedge_descriptor = typename boost::graph_traits<PolygonMesh>::halfedge_descriptor;
|
using halfedge_descriptor = typename boost::graph_traits<PolygonMesh>::halfedge_descriptor;
|
||||||
std::vector<halfedge_descriptor> border_cycles;
|
std::vector<halfedge_descriptor> border_cycles;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue