MCPcopy Create free account
hub / github.com/bgrimstad/splinter / insertKnots

Method insertKnots

src/bspline.cpp:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void BSpline::insertKnots(double tau, unsigned int dim, unsigned int multiplicity)
343{
344 // Insert knots and compute knot insertion matrix
345 SparseMatrix A = basis.insertKnots(tau, dim, multiplicity);
346
347 // Update control points
348 updateControlPoints(A);
349}
350
351void BSpline::regularizeKnotVectors(std::vector<double> &lb, std::vector<double> &ub)
352{

Callers 2

testKnotInsertionFunction · 0.45

Calls

no outgoing calls

Tested by 1

testKnotInsertionFunction · 0.36