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>
|
| | 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<typename PointType, typename VecType>
class Convert_CompBezierCurvesToBSplineCurveBase< PointType, VecType >
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.
◆ Convert_CompBezierCurvesToBSplineCurveBase()
template<typename PointType, typename VecType>
Constructs a framework for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve.
- Parameters
-
| [in] | theAngularTolerance | angular tolerance in radians for checking tangent parallelism at junction points |
◆ AddCurve()
template<typename PointType, typename VecType>
Adds the Bezier curve defined by the table of poles to the sequence of adjacent Bezier curves to be converted.
- Parameters
-
| [in] | thePoles | poles of the Bezier curve to add |
◆ Degree()
template<typename PointType, typename VecType>
Returns the degree of the BSpline curve.
◆ KnotsAndMults()
template<typename PointType, typename VecType>
Loads the Knots and Mults tables with the knots and corresponding multiplicities of the BSpline curve.
- Parameters
-
| [out] | theKnots | array to fill with knots |
| [out] | theMults | array to fill with multiplicities |
◆ NbKnots()
template<typename PointType, typename VecType>
Returns the number of knots of the BSpline curve.
◆ NbPoles()
template<typename PointType, typename VecType>
Returns the number of poles of the BSpline curve.
◆ Perform()
template<typename PointType, typename VecType>
Computes all the data needed to build a BSpline curve equivalent to the adjacent Bezier curve sequence.
◆ Poles()
template<typename PointType, typename VecType>
Loads the Poles table with the poles of the BSpline curve.
- Parameters
-
| [out] | thePoles | array to fill with poles |
The documentation for this class was generated from the following file: