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

Method updateControlPoints

src/bspline.cpp:210–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void BSpline::updateControlPoints(const DenseMatrix &A)
211{
212 if (A.cols() != coefficients.rows() || A.cols() != knotaverages.rows())
213 throw Exception("BSpline::updateControlPoints: Incompatible size of linear transformation matrix.");
214 coefficients = A*coefficients;
215 knotaverages = A*knotaverages;
216}
217
218void BSpline::checkControlPoints() const
219{

Callers

nothing calls this directly

Calls 1

ExceptionClass · 0.85

Tested by

no test coverage detected