43    const Eigen::MatrixBase<DerivedP>& P,
 
   45    const std::vector<std::vector<IndexType> > & point_indices,
 
   46    const Eigen::MatrixBase<DerivedCH>& CH,
 
   47    const Eigen::MatrixBase<DerivedCN>& CN,
 
   48    const Eigen::MatrixBase<DerivedW>& W,
 
   49    Eigen::PlainObjectBase<DerivedI> & I);
 
   63    const Eigen::MatrixBase<DerivedP>& P,
 
   64    const Eigen::MatrixBase<DerivedV>& V,
 
   66    const std::vector<std::vector<IndexType> > & point_indices,
 
   67    const Eigen::MatrixBase<DerivedCH>& CH,
 
   68    const Eigen::MatrixBase<DerivedCN>& CN,
 
   69    const Eigen::MatrixBase<DerivedW>& W,
 
   70    Eigen::PlainObjectBase<DerivedI> & I);
 
   72#ifndef IGL_STATIC_LIBRARY 
#define IGL_INLINE
Definition igl_inline.h:15
 
void knn(const Eigen::MatrixBase< DerivedP > &P, size_t k, const std::vector< std::vector< IndexType > > &point_indices, const Eigen::MatrixBase< DerivedCH > &CH, const Eigen::MatrixBase< DerivedCN > &CN, const Eigen::MatrixBase< DerivedW > &W, Eigen::PlainObjectBase< DerivedI > &I)
Given a 3D set of points P, an whole number k, and an octree find the indicies of the k nearest neigh...