#ifndef IGL_SAMPLE_EDGES_H #define IGL_SAMPLE_EDGES_H #include "igl_inline.h" #include namespace igl { // Compute samples_per_edge extra points along each edge in E defined over // vertices of V. // // Inputs: // V vertices over which edges are defined, # vertices by dim // E edge list, # edges by 2 // k number of extra samples to be computed along edge not // including start and end points // Output: // S sampled vertices, size less than # edges * (2+k) by dim always begins // with V so that E is also defined over S void sample_edges( const Eigen::MatrixXd & V, const Eigen::MatrixXi & E, const int k, Eigen::MatrixXd & S); } #ifdef IGL_HEADER_ONLY # include "sample_edges.cpp" #endif #endif