![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Template base class for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve. PointType is gp_Pnt or gp_Pnt2d; VecType is gp_Vec or gp_Vec2d. More...
#include <Convert_CompBezierCurvesToBSplineCurveBase.hxx>
Public Member Functions | |
| Convert_CompBezierCurvesToBSplineCurveBase (const double theAngularTolerance=1.0e-4) | |
| Constructs a framework for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve. | |
| void | AddCurve (const NCollection_Array1< PointType > &thePoles) |
| Adds the Bezier curve defined by the table of poles to the sequence of adjacent Bezier curves to be converted. | |
| void | Perform () |
| Computes all the data needed to build a BSpline curve equivalent to the adjacent Bezier curve sequence. | |
| int | Degree () const |
| Returns the degree of the BSpline curve. | |
| int | NbPoles () const |
| Returns the number of poles of the BSpline curve. | |
| void | Poles (NCollection_Array1< PointType > &thePoles) const |
| Loads the Poles table with the poles of the BSpline curve. | |
| int | NbKnots () const |
| Returns the number of knots of the BSpline curve. | |
| void | KnotsAndMults (NCollection_Array1< double > &theKnots, NCollection_Array1< int > &theMults) const |
| Loads the Knots and Mults tables with the knots and corresponding multiplicities of the BSpline curve. | |
Template base class for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve. PointType is gp_Pnt or gp_Pnt2d; VecType is gp_Vec or gp_Vec2d.
|
inlineexplicit |
Constructs a framework for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve.
| [in] | theAngularTolerance | angular tolerance in radians for checking tangent parallelism at junction points |
|
inline |
Adds the Bezier curve defined by the table of poles to the sequence of adjacent Bezier curves to be converted.
| [in] | thePoles | poles of the Bezier curve to add |
|
inline |
Returns the degree of the BSpline curve.
|
inline |
Loads the Knots and Mults tables with the knots and corresponding multiplicities of the BSpline curve.
| [out] | theKnots | array to fill with knots |
| [out] | theMults | array to fill with multiplicities |
|
inline |
Returns the number of knots of the BSpline curve.
|
inline |
Returns the number of poles of the BSpline curve.
|
inline |
Computes all the data needed to build a BSpline curve equivalent to the adjacent Bezier curve sequence.
|
inline |
Loads the Poles table with the poles of the BSpline curve.
| [out] | thePoles | array to fill with poles |