![]() |
Open CASCADE Technology Reference Manual 8.0.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 algorithm. | |
| GeomConvert_CompCurveToBSplineCurve (const occ::handle< Geom_BoundedCurve > &BasisCurve, const Convert_ParameterisationType Parameterisation=Convert_TgtThetaOver2) | |
| Initialize the algorithm with one curve. | |
| bool | Add (const occ::handle< Geom_BoundedCurve > &NewCurve, const double Tolerance, const bool After=false, const bool WithRatio=true, const int 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. | |
| occ::handle< Geom_BSplineCurve > | BSplineCurve () const |
| void | Clear () |
| Clear a result curve. | |
Algorithm converts and concat several curve in an BSplineCurve.
| GeomConvert_CompCurveToBSplineCurve::GeomConvert_CompCurveToBSplineCurve | ( | const Convert_ParameterisationType | Parameterisation = Convert_TgtThetaOver2 | ) |
Initialize the algorithm.
| GeomConvert_CompCurveToBSplineCurve::GeomConvert_CompCurveToBSplineCurve | ( | const occ::handle< Geom_BoundedCurve > & | BasisCurve, |
| const Convert_ParameterisationType | Parameterisation = Convert_TgtThetaOver2 ) |
Initialize the algorithm with one curve.
| bool GeomConvert_CompCurveToBSplineCurve::Add | ( | const occ::handle< Geom_BoundedCurve > & | NewCurve, |
| const double | Tolerance, | ||
| const bool | After = false, | ||
| const bool | WithRatio = true, | ||
| const int | 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 false may greatly decrease the speed of algorithms like CPnts_AbscissaPoint::AdvPerform when applied to the resulting curve.
| occ::handle< Geom_BSplineCurve > GeomConvert_CompCurveToBSplineCurve::BSplineCurve | ( | ) | const |
| void GeomConvert_CompCurveToBSplineCurve::Clear | ( | ) |
Clear a result curve.