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

Converts a list of connecting Bezier Curves 2d to a BSplineCurve 2d. if possible, the continuity of the BSpline will be increased to more than C0. More...

#include <Convert_CompBezierCurves2dToBSplineCurve2d.hxx>

Inheritance diagram for Convert_CompBezierCurves2dToBSplineCurve2d:
Inheritance graph
[legend]

Public Member Functions

 Convert_CompBezierCurves2dToBSplineCurve2d (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_Pnt2d, gp_Vec2d >
 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_Pnt2d > &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_Pnt2d > &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

Converts a list of connecting Bezier Curves 2d to a BSplineCurve 2d. if possible, the continuity of the BSpline will be increased to more than C0.

Constructor & Destructor Documentation

◆ Convert_CompBezierCurves2dToBSplineCurve2d()

Convert_CompBezierCurves2dToBSplineCurve2d::Convert_CompBezierCurves2dToBSplineCurve2d ( 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: