Browse Source

added missing template instantiation

Teseo Schneider 6 years ago
parent
commit
0c563d4bf6
2 changed files with 6 additions and 0 deletions
  1. 3 0
      include/igl/delaunay_triangulation.cpp
  2. 3 0
      include/igl/flip_edge.cpp

+ 3 - 0
include/igl/delaunay_triangulation.cpp

@@ -83,4 +83,7 @@ IGL_INLINE void igl::delaunay_triangulation(
 
 #ifdef IGL_STATIC_LIBRARY
 template void igl::delaunay_triangulation<Eigen::Matrix<double, -1, -1, 0, -1, -1>, short (*)(double const*, double const*, double const*), short (*)(double const*, double const*, double const*, double const*), Eigen::Matrix<int, -1, -1, 0, -1, -1> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, short (*)(double const*, double const*, double const*), short (*)(double const*, double const*, double const*, double const*), Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&);
+#ifdef WIN32
+template void igl::delaunay_triangulation<Eigen::Matrix<double, -1, -1, 0, -1, -1>, short (*)(double const * const, double const * const, double const * const), short(*)(double const * const, double const * const, double const * const, double const * const), Eigen::Matrix<int, -1, -1, 0, -1, -1> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const &, short(*)(double const * const, double const * const, double const * const), short(*)(double const * const, double const * const, double const * const, double const * const), Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > &);
+#endif
 #endif

+ 3 - 0
include/igl/flip_edge.cpp

@@ -150,4 +150,7 @@ IGL_INLINE void igl::flip_edge(
 
 #ifdef IGL_STATIC_LIBRARY
 template void igl::flip_edge<Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, int>(Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >&, unsigned long);
+#ifdef WIN32
+template void igl::flip_edge<Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, int>(Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&, Eigen::PlainObjectBase Eigen::Matrix<int, -1, -1, 0, -1, -1> >&, Eigen::PlainObjectBase Eigen::Matrix<int, -1, -1, 0, -1, -1> >&, Eigen::PlainObjectBase Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, std::vector std::vector<int, std::allocator<int> >, std::allocator std::vector<int, std::allocator<int> > > >&, unsigned __int64);
+#endif
 #endif