SHAPER  9.12.0
GeomAPI_BSpline Class Reference

B-spline in 3D. More...

Inheritance diagram for GeomAPI_BSpline:
Inheritance graph

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...
 

Detailed Description

B-spline in 3D.

Constructor & Destructor Documentation

◆ GeomAPI_BSpline()

GeomAPI_BSpline::GeomAPI_BSpline ( const GeomCurvePtr &  theCurve)

Creation of B-spline defined by a curve.

Member Function Documentation

◆ degree()

int GeomAPI_BSpline::degree ( ) const

Degree of B-spline curve.

◆ poles()

std::list< GeomPointPtr > GeomAPI_BSpline::poles ( ) const

Poles of B-spline curve.

◆ weights()

std::list< double > GeomAPI_BSpline::weights ( ) const

Weights of B-spline poles.

◆ knots()

std::list< double > GeomAPI_BSpline::knots ( ) const

Knots of B-spline curve.

◆ mults()

std::list< int > GeomAPI_BSpline::mults ( ) const

Multiplicities of B-spline knots.

◆ isPeriodic()

bool GeomAPI_BSpline::isPeriodic ( ) const

Return true if the curve is periodic.

◆ convertToBSpline()

GeomBSplinePtr GeomAPI_BSpline::convertToBSpline ( const GeomCurvePtr &  theCurve)
static

Convert any curve into a B-spline curve.

◆ implPtr() [1/2]

template<class T >
T* GeomAPI_Interface::implPtr ( )
inlineinherited

Returns the pointer to the impl.

◆ implPtr() [2/2]

template<class T >
const T* GeomAPI_Interface::implPtr ( ) const
inlineinherited

Returns the pointer to the impl.

◆ impl()

template<class T >
const T& GeomAPI_Interface::impl ( ) const
inlineinherited

Returns the reference object of the impl.

◆ setImpl()

template<class T >
void GeomAPI_Interface::setImpl ( T *  theImpl)
inlineinherited

Updates the impl (deletes the old one)

◆ empty()

bool GeomAPI_Interface::empty ( ) const
inherited

Returns true if the impl is empty.