SHAPER
9.13.0
|
B-spline in 3D. More...
Public Member Functions | |
GEOMAPI_EXPORT | GeomAPI_BSpline (const GeomCurvePtr &theCurve) |
Creation of B-spline defined by a curve. More... | |
GEOMAPI_EXPORT int | degree () const |
Degree of B-spline curve. More... | |
GEOMAPI_EXPORT std::list< std::shared_ptr< GeomAPI_Pnt > > | poles () const |
Poles of B-spline curve. More... | |
GEOMAPI_EXPORT std::list< double > | weights () const |
Weights of B-spline poles. More... | |
GEOMAPI_EXPORT std::list< double > | knots () const |
Knots of B-spline curve. More... | |
GEOMAPI_EXPORT std::list< int > | mults () const |
Multiplicities of B-spline knots. More... | |
GEOMAPI_EXPORT bool | isPeriodic () const |
Return true if the curve is periodic. More... | |
template<class T > | |
T * | implPtr () |
Returns the pointer to the impl. More... | |
template<class T > | |
const T * | implPtr () const |
Returns the pointer to the impl. More... | |
template<class T > | |
const T & | impl () const |
Returns the reference object of the impl. More... | |
template<class T > | |
void | setImpl (T *theImpl) |
Updates the impl (deletes the old one) More... | |
GEOMAPI_EXPORT bool | empty () const |
Returns true if the impl is empty. More... | |
Static Public Member Functions | |
static GEOMAPI_EXPORT GeomBSplinePtr | convertToBSpline (const GeomCurvePtr &theCurve) |
Convert any curve into a B-spline curve. More... | |
B-spline in 3D.
GeomAPI_BSpline::GeomAPI_BSpline | ( | const GeomCurvePtr & | theCurve | ) |
Creation of B-spline defined by a curve.
int GeomAPI_BSpline::degree | ( | ) | const |
Degree of B-spline curve.
std::list< GeomPointPtr > GeomAPI_BSpline::poles | ( | ) | const |
Poles of B-spline curve.
std::list< double > GeomAPI_BSpline::weights | ( | ) | const |
Weights of B-spline poles.
std::list< double > GeomAPI_BSpline::knots | ( | ) | const |
Knots of B-spline curve.
std::list< int > GeomAPI_BSpline::mults | ( | ) | const |
Multiplicities of B-spline knots.
bool GeomAPI_BSpline::isPeriodic | ( | ) | const |
Return true
if the curve is periodic.
|
static |
Convert any curve into a B-spline curve.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the reference object of the impl.
|
inlineinherited |
Updates the impl (deletes the old one)
|
inherited |
Returns true if the impl is empty.