Searched refs:chord_lengths (Results 1 – 2 of 2) sorted by relevance
189 void ChordLengths(const PointArrayType& pts, KnotVectorType& chord_lengths) in ChordLengths() argument196 chord_lengths.resize(pts.cols()); in ChordLengths()197 chord_lengths[0] = 0; in ChordLengths()198 …chord_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() local325 ChordLengths(pts, chord_lengths); in Interpolate()326 return Interpolate(pts, degree, chord_lengths); in Interpolate()
209 KnotVectorType chord_lengths; // knot parameters in check_global_interpolation2d() local210 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()