158 inline const label&
degree()
const;
160 inline const label&
nCPs()
const;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("NURBbasis")
Runtime type information.
NURBSbasis(const label nCPs, const label degree, const scalarField &knots)
Construct from number of control points, knot vector and basis order.
const scalarField & knots() const
const label & nCPs() const
NURBSbasis function. Used to construct NURBS curves, surfaces and volumes.
label insertKnot(const scalar uBar)
Adds the new knot's u value, increments the nCPs and returns 'k', the index of the newly inserted uVa...
const label & degree() const
scalar basisDerivativeUU(const label iCP, const label degree, const scalar u) const
Basis second derivative w.r.t u.
scalar basisValue(const label iCP, const label degree, const scalar u) const
Basis value.
scalar basisDerivativeU(const label iCP, const label degree, const scalar u) const
Basis derivative w.r.t u.
bool checkRange(const scalar u, const label CPI, const label degree) const
Checks to see if given u is affected by given CP.
virtual ~NURBSbasis()=default
Destructor.