NURBSbasis function. Used to construct NURBS curves, surfaces and volumes. More...
Public Member Functions | |
TypeName ("NURBbasis") | |
NURBSbasis (const label nCPs, const label degree, const scalarField &knots) | |
NURBSbasis (const label nCPs, const label degree) | |
NURBSbasis (const dictionary &dict) | |
NURBSbasis (const NURBSbasis &) | |
virtual | ~NURBSbasis ()=default |
scalar | basisValue (const label iCP, const label degree, const scalar u) const |
scalar | basisDerivativeU (const label iCP, const label degree, const scalar u) const |
scalar | basisDerivativeUU (const label iCP, const label degree, const scalar u) const |
bool | checkRange (const scalar u, const label CPI, const label degree) const |
label | insertKnot (const scalar uBar) |
const scalarField & | knots () const |
const label & | degree () const |
const label & | nCPs () const |
NURBSbasis function. Used to construct NURBS curves, surfaces and volumes.
Definition at line 51 of file NURBSbasis.H.
NURBSbasis | ( | const label | nCPs, |
const label | degree, | ||
const scalarField & | knots | ||
) |
Definition at line 77 of file NURBSbasis.C.
NURBSbasis | ( | const label | nCPs, |
const label | degree | ||
) |
Definition at line 90 of file NURBSbasis.C.
NURBSbasis | ( | const dictionary & | dict | ) |
Definition at line 104 of file NURBSbasis.C.
NURBSbasis | ( | const NURBSbasis & | basis | ) |
Definition at line 117 of file NURBSbasis.C.
References DebugInfo, and Foam::endl().
|
virtualdefault |
TypeName | ( | "NURBbasis" | ) |
scalar basisValue | ( | const label | iCP, |
const label | degree, | ||
const scalar | u | ||
) | const |
Definition at line 133 of file NURBSbasis.C.
Referenced by NURBS3DCurve::buildCurve(), NURBS3DSurface::buildSurface(), NURBS3DCurve::curveDerivativeU(), NURBS3DCurve::curveDerivativeUU(), and NURBS3DCurve::curvePoint().
scalar basisDerivativeU | ( | const label | iCP, |
const label | degree, | ||
const scalar | u | ||
) | const |
Definition at line 183 of file NURBSbasis.C.
Referenced by NURBS3DCurve::curveDerivativeU(), and NURBS3DCurve::curveDerivativeUU().
scalar basisDerivativeUU | ( | const label | iCP, |
const label | degree, | ||
const scalar | u | ||
) | const |
Definition at line 224 of file NURBSbasis.C.
Referenced by NURBS3DCurve::curveDerivativeUU().
bool checkRange | ( | const scalar | u, |
const label | CPI, | ||
const label | degree | ||
) | const |
Definition at line 266 of file NURBSbasis.C.
Referenced by NURBS3DCurve::checkRange().
label insertKnot | ( | const scalar | uBar | ) |
Definition at line 291 of file NURBSbasis.C.
References Foam::Zero.
|
inline |
Definition at line 27 of file NURBSbasisI.H.
|
inline |
Definition at line 33 of file NURBSbasisI.H.
Referenced by NURBS3DCurve::buildCurve(), NURBS3DSurface::buildSurface(), NURBS3DCurve::checkRange(), NURBS3DCurve::curveDerivativeU(), NURBS3DCurve::curveDerivativeUU(), and NURBS3DCurve::curvePoint().
|
inline |
Definition at line 39 of file NURBSbasisI.H.
Referenced by NURBS3DSurface::buildSurface(), axisAligned::computeControlPoints(), fromFile::computeControlPoints(), transformBox::computeControlPoints(), NURBS3DSurface::getBoundaryCPIDs(), NURBS3DSurface::invertU(), NURBS3DSurface::invertUV(), and NURBS3DSurface::invertV().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.