158 inline const label&
degree()
const;
160 inline const label&
nCPs()
const;
scalar basisDerivativeUU(const label iCP, const label degree, const scalar u) const
Basis second derivative w.r.t u.
scalar basisDerivativeU(const label iCP, const label degree, const scalar u) const
Basis derivative w.r.t u.
const label & nCPs() const
NURBSbasis(const label nCPs, const label degree, const scalarField &knots)
Construct from number of control points, knot vector and basis order.
const label & degree() const
scalar basisValue(const label iCP, const label degree, const scalar u) const
Basis value.
TypeName("NURBbasis")
Runtime type information.
const scalarField & knots() const
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.
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...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.