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

Method checkControlPoints

src/bspline.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void BSpline::checkControlPoints() const
219{
220 if (coefficients.rows() != knotaverages.rows())
221 throw Exception("BSpline::checkControlPoints: Inconsistent size of coefficients and knot averages matrices.");
222 if (knotaverages.cols() != numVariables)
223 throw Exception("BSpline::checkControlPoints: Inconsistent size of knot averages matrix.");
224}
225
226bool BSpline::pointInDomain(DenseVector x) const
227{

Callers

nothing calls this directly

Calls 1

ExceptionClass · 0.85

Tested by

no test coverage detected