OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:chord_lengths
(Results
1 - 2
of
2
) sorted by null
/external/eigen/unsupported/Eigen/src/Splines/
SplineFitting.h
57
* \param[out]
chord_lengths
The resulting chord lenggth vector.
62
void ChordLengths(const PointArrayType& pts, KnotVectorType&
chord_lengths
)
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
(n-1)
150
KnotVectorType
chord_lengths
; \/\/ knot parameters
local
[
all
...]
/external/eigen/unsupported/test/
splines.cpp
209
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 532 milliseconds