Fix types in local eigen analysis

This commit is contained in:
Simon Giraudot 2018-06-28 11:13:35 +02:00
parent c2dc2f7a98
commit 267b1f475e
2 changed files with 4 additions and 4 deletions

View File

@ -627,7 +627,7 @@ private:
get(get (CGAL::vertex_point, g), target(next(next(halfedge(fd, g), g), g), g))));
}
CGAL::cpp11::array<double, 6> covariance = {{ 0.f, 0.f, 0.f, 0.f, 0.f, 0.f }};
CGAL::cpp11::array<float, 6> covariance = {{ 0.f, 0.f, 0.f, 0.f, 0.f, 0.f }};
Point c = CGAL::centroid(triangles.begin(),
triangles.end(), Kernel(), CGAL::Dimension_tag<2>());
@ -637,8 +637,8 @@ private:
m_content->centroids[get(get(CGAL::face_index,g), query)] = {{ float(c.x()), float(c.y()), float(c.z()) }};
CGAL::cpp11::array<double, 3> evalues = {{ 0.f, 0.f, 0.f }};
CGAL::cpp11::array<double, 9> evectors = {{ 0.f, 0.f, 0.f,
CGAL::cpp11::array<float, 3> evalues = {{ 0.f, 0.f, 0.f }};
CGAL::cpp11::array<float, 9> evectors = {{ 0.f, 0.f, 0.f,
0.f, 0.f, 0.f,
0.f, 0.f, 0.f }};

View File

@ -100,7 +100,7 @@ template <typename GeomTraits,
#else
typename ConcurrencyTag = CGAL::Sequential_tag,
#endif
typename DiagonalizeTraits = CGAL::Default_diagonalize_traits<double,3> >
typename DiagonalizeTraits = CGAL::Default_diagonalize_traits<float,3> >
class Mesh_feature_generator
{