浏览代码

added missing template instantiation

Teseo Schneider 6 年之前
父节点
当前提交
0c563d4bf6
共有 2 个文件被更改,包括 6 次插入0 次删除
  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