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
59
* \param[out]
chord_lengths
The resulting chord lenggth vector.
64
void ChordLengths(const PointArrayType& pts, KnotVectorType&
chord_lengths
)
71
chord_lengths
.resize(pts.cols());
72
chord_lengths
[0] = 0;
73
chord_lengths
.rightCols(n-1) = (pts.array().leftCols(n-1) - pts.array().rightCols(n-1)).matrix().colwise().norm();
76
std::partial_sum(
chord_lengths
.data(),
chord_lengths
.data()+n,
chord_lengths
.data());
79
chord_lengths
/=
chord_lengths
(n-1)
153
KnotVectorType
chord_lengths
; \/\/ knot parameters
local
[
all
...]
/external/eigen/unsupported/test/
splines.cpp
205
KnotVectorType
chord_lengths
; // knot parameters
local
206
Eigen::ChordLengths(points,
chord_lengths
);
214
PointType pt = spline(
chord_lengths
(i) );
222
const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,
chord_lengths
);
226
PointType pt = spline(
chord_lengths
(i) );
Completed in 284 milliseconds