Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Convert_CompBezierCurvesToBSplineCurve Class Reference

An algorithm to convert a sequence of adjacent non-rational Bezier curves into a BSpline curve. A CompBezierCurvesToBSplineCurve object provides a framework for: More...

#include <Convert_CompBezierCurvesToBSplineCurve.hxx>

Inheritance diagram for Convert_CompBezierCurvesToBSplineCurve:
Inheritance graph
[legend]

Public Member Functions

 Convert_CompBezierCurvesToBSplineCurve (const double theAngularTolerance=1.0e-4)
 Constructs a framework for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve.
 
- Public Member Functions inherited from Convert_CompBezierCurvesToBSplineCurveBase< gp_Pnt, gp_Vec >
 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< gp_Pnt > &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< gp_Pnt > &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.
 

Detailed Description

An algorithm to convert a sequence of adjacent non-rational Bezier curves into a BSpline curve. A CompBezierCurvesToBSplineCurve object provides a framework for:

Constructor & Destructor Documentation

◆ Convert_CompBezierCurvesToBSplineCurve()

Convert_CompBezierCurvesToBSplineCurve::Convert_CompBezierCurvesToBSplineCurve ( const double theAngularTolerance = 1.0e-4)

Constructs a framework for converting a sequence of adjacent non-rational Bezier curves into a BSpline curve.

Parameters
[in]theAngularToleranceangular tolerance in radians for checking tangent parallelism at junction points

The documentation for this class was generated from the following file: