Searched refs:chord_lengths (Results 1 - 2 of 2) sorted by relevance

/external/eigen/unsupported/Eigen/src/Splines/
H A DSplineFitting.h57 * \param[out] chord_lengths The resulting chord lenggth vector.
62 void ChordLengths(const PointArrayType& pts, KnotVectorType& chord_lengths) argument
69 chord_lengths.resize(pts.cols());
70 chord_lengths[0] = 0;
71 chord_lengths.rightCols(n-1) = (pts.array().leftCols(n-1) - pts.array().rightCols(n-1)).matrix().colwise().norm();
74 std::partial_sum(chord_lengths.data(), chord_lengths.data()+n, chord_lengths.data());
77 chord_lengths /= chord_lengths(
150 KnotVectorType chord_lengths; // knot parameters local
[all...]
/external/eigen/unsupported/test/
H A Dsplines.cpp209 KnotVectorType chord_lengths; // knot parameters local
210 Eigen::ChordLengths(points, chord_lengths);
218 PointType pt = spline( chord_lengths(i) );
226 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,chord_lengths);
230 PointType pt = spline( chord_lengths(i) );

Completed in 1372 milliseconds