|
|
@@ -9,9 +9,9 @@
|
|
|
|
|
|
template <typename DerivedV, typename DerivedQ, int DIM>
|
|
|
IGL_INLINE void igl::in_element(
|
|
|
- const Eigen::PlainObjectBase<DerivedV> & V,
|
|
|
+ const Eigen::MatrixBase<DerivedV> & V,
|
|
|
const Eigen::MatrixXi & Ele,
|
|
|
- const Eigen::PlainObjectBase<DerivedQ> & Q,
|
|
|
+ const Eigen::MatrixBase<DerivedQ> & Q,
|
|
|
const AABB<DerivedV,DIM> & aabb,
|
|
|
Eigen::VectorXi & I)
|
|
|
{
|
|
|
@@ -33,9 +33,9 @@ IGL_INLINE void igl::in_element(
|
|
|
|
|
|
template <typename DerivedV, typename DerivedQ, int DIM, typename Scalar>
|
|
|
IGL_INLINE void igl::in_element(
|
|
|
- const Eigen::PlainObjectBase<DerivedV> & V,
|
|
|
+ const Eigen::MatrixBase<DerivedV> & V,
|
|
|
const Eigen::MatrixXi & Ele,
|
|
|
- const Eigen::PlainObjectBase<DerivedQ> & Q,
|
|
|
+ const Eigen::MatrixBase<DerivedQ> & Q,
|
|
|
const AABB<DerivedV,DIM> & aabb,
|
|
|
Eigen::SparseMatrix<Scalar> & I)
|
|
|
{
|
|
|
@@ -60,6 +60,6 @@ IGL_INLINE void igl::in_element(
|
|
|
}
|
|
|
|
|
|
#ifdef IGL_STATIC_LIBRARY
|
|
|
-template void igl::in_element<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, 2>(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::Matrix<int, -1, -1, 0, -1, -1> const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, igl::AABB<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 2> const&, Eigen::Matrix<int, -1, 1, 0, -1, 1>&);
|
|
|
-template void igl::in_element<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, 3>(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::Matrix<int, -1, -1, 0, -1, -1> const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, igl::AABB<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 3> const&, Eigen::Matrix<int, -1, 1, 0, -1, 1>&);
|
|
|
+template void igl::in_element<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, 2>(Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::Matrix<int, -1, -1, 0, -1, -1> const&, Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, igl::AABB<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 2> const&, Eigen::Matrix<int, -1, 1, 0, -1, 1>&);
|
|
|
+template void igl::in_element<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, 3>(Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::Matrix<int, -1, -1, 0, -1, -1> const&, Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, igl::AABB<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 3> const&, Eigen::Matrix<int, -1, 1, 0, -1, 1>&);
|
|
|
#endif
|