Open CASCADE Technology  7.7.0
Public Member Functions
GeomConvert_CompCurveToBSplineCurve Class Reference

Algorithm converts and concat several curve in an BSplineCurve. More...

#include <GeomConvert_CompCurveToBSplineCurve.hxx>

Public Member Functions

 GeomConvert_CompCurveToBSplineCurve (const Convert_ParameterisationType Parameterisation=Convert_TgtThetaOver2)
 Initialize the algorithme. More...
 
 GeomConvert_CompCurveToBSplineCurve (const Handle< Geom_BoundedCurve > &BasisCurve, const Convert_ParameterisationType Parameterisation=Convert_TgtThetaOver2)
 Initialize the algorithme with one curve. More...
 
Standard_Boolean Add (const Handle< Geom_BoundedCurve > &NewCurve, const Standard_Real Tolerance, const Standard_Boolean After=Standard_False, const Standard_Boolean WithRatio=Standard_True, const Standard_Integer MinM=0)
 Append a curve in the BSpline Return False if the curve is not G0 with the BSplineCurve. Tolerance is used to check continuity and decrease Multiplicity at the common Knot until MinM if MinM = 0, the common Knot can be removed. More...
 
Handle< Geom_BSplineCurveBSplineCurve () const
 
void Clear ()
 Clear a result curve. More...
 

Detailed Description

Algorithm converts and concat several curve in an BSplineCurve.

Constructor & Destructor Documentation

◆ GeomConvert_CompCurveToBSplineCurve() [1/2]

GeomConvert_CompCurveToBSplineCurve::GeomConvert_CompCurveToBSplineCurve ( const Convert_ParameterisationType  Parameterisation = Convert_TgtThetaOver2)

Initialize the algorithme.

  • Parameterisation is used to convert

◆ GeomConvert_CompCurveToBSplineCurve() [2/2]

GeomConvert_CompCurveToBSplineCurve::GeomConvert_CompCurveToBSplineCurve ( const Handle< Geom_BoundedCurve > &  BasisCurve,
const Convert_ParameterisationType  Parameterisation = Convert_TgtThetaOver2 
)

Initialize the algorithme with one curve.

  • Parameterisation is used to convert

Member Function Documentation

◆ Add()

Standard_Boolean GeomConvert_CompCurveToBSplineCurve::Add ( const Handle< Geom_BoundedCurve > &  NewCurve,
const Standard_Real  Tolerance,
const Standard_Boolean  After = Standard_False,
const Standard_Boolean  WithRatio = Standard_True,
const Standard_Integer  MinM = 0 
)

Append a curve in the BSpline Return False if the curve is not G0 with the BSplineCurve. Tolerance is used to check continuity and decrease Multiplicity at the common Knot until MinM if MinM = 0, the common Knot can be removed.

WithRatio defines whether the resulting curve should have a uniform parameterization. Setting WithRatio to Standard_False may greatly decrease the speed of algorithms like CPnts_AbscissaPoint::AdvPerform when applied to the resulting curve.

◆ BSplineCurve()

Handle< Geom_BSplineCurve > GeomConvert_CompCurveToBSplineCurve::BSplineCurve ( ) const

◆ Clear()

void GeomConvert_CompCurveToBSplineCurve::Clear ( )

Clear a result curve.


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