Home
last modified time | relevance | path

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

/external/eigen/unsupported/Eigen/src/Splines/
DSplineFitting.h189 void ChordLengths(const PointArrayType& pts, KnotVectorType& chord_lengths) in ChordLengths() argument
196 chord_lengths.resize(pts.cols()); in ChordLengths()
197 chord_lengths[0] = 0; in ChordLengths()
198chord_lengths.rightCols(n-1) = (pts.array().leftCols(n-1) - pts.array().rightCols(n-1)).matrix().c… in ChordLengths()
201 std::partial_sum(chord_lengths.data(), chord_lengths.data()+n, chord_lengths.data()); in ChordLengths()
204 chord_lengths /= chord_lengths(n-1); in ChordLengths()
205 chord_lengths(n-1) = Scalar(1); in ChordLengths()
324 KnotVectorType chord_lengths; // knot parameters in Interpolate() local
325 ChordLengths(pts, chord_lengths); in Interpolate()
326 return Interpolate(pts, degree, chord_lengths); in Interpolate()
/external/eigen/unsupported/test/
Dsplines.cpp209 KnotVectorType chord_lengths; // knot parameters in check_global_interpolation2d() local
210 Eigen::ChordLengths(points, chord_lengths); in check_global_interpolation2d()
218 PointType pt = spline( chord_lengths(i) ); in check_global_interpolation2d()
226 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,chord_lengths); in check_global_interpolation2d()
230 PointType pt = spline( chord_lengths(i) ); in check_global_interpolation2d()