#include "in_element.h" IGL_INLINE void igl::in_element( const Eigen::MatrixXd & V, const Eigen::MatrixXi & Ele, const Eigen::MatrixXd & Q, const InElementAABB & aabb, Eigen::VectorXi & I) { using namespace std; using namespace Eigen; const int Qr = Q.rows(); I.setConstant(Qr,1,-1); #pragma omp parallel for for(int e = 0;e & I) { using namespace std; using namespace Eigen; using namespace igl; const int Qr = Q.rows(); std::vector > IJV; IJV.reserve(Qr); #pragma omp parallel for for(int e = 0;e(e,r,1)); } } I.resize(Qr,Ele.rows()); I.setFromTriplets(IJV.begin(),IJV.end()); }