Open CASCADE Technology
7.6.0
|
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_BSplineCurve > | BSplineCurve () const |
void | Clear () |
Clear a result curve. More... | |
Algorithm converts and concat several curve in an BSplineCurve.
GeomConvert_CompCurveToBSplineCurve::GeomConvert_CompCurveToBSplineCurve | ( | const Convert_ParameterisationType | Parameterisation = Convert_TgtThetaOver2 | ) |
Initialize the algorithme.
GeomConvert_CompCurveToBSplineCurve::GeomConvert_CompCurveToBSplineCurve | ( | const Handle< Geom_BoundedCurve > & | BasisCurve, |
const Convert_ParameterisationType | Parameterisation = Convert_TgtThetaOver2 |
||
) |
Initialize the algorithme with one curve.
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.
Handle< Geom_BSplineCurve > GeomConvert_CompCurveToBSplineCurve::BSplineCurve | ( | ) | const |
void GeomConvert_CompCurveToBSplineCurve::Clear | ( | ) |
Clear a result curve.