Open CASCADE Technology 7.8.0
|
This algorithm converts and concat several curve in an BSplineCurve. More...
#include <Geom2dConvert_CompCurveToBSplineCurve.hxx>
Public Member Functions | |
Geom2dConvert_CompCurveToBSplineCurve (const Convert_ParameterisationType Parameterisation=Convert_TgtThetaOver2) | |
Initialize the algorithme. | |
Geom2dConvert_CompCurveToBSplineCurve (const Handle< Geom2d_BoundedCurve > &BasisCurve, const Convert_ParameterisationType Parameterisation=Convert_TgtThetaOver2) | |
Initialize the algorithme with one curve. | |
Standard_Boolean | Add (const Handle< Geom2d_BoundedCurve > &NewCurve, const Standard_Real Tolerance, const Standard_Boolean After=Standard_False) |
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 Multiplicty at the common Knot After is useful if BasisCurve is a closed curve . | |
Handle< Geom2d_BSplineCurve > | BSplineCurve () const |
void | Clear () |
Clear result curve. | |
This algorithm converts and concat several curve in an BSplineCurve.
Geom2dConvert_CompCurveToBSplineCurve::Geom2dConvert_CompCurveToBSplineCurve | ( | const Convert_ParameterisationType | Parameterisation = Convert_TgtThetaOver2 | ) |
Initialize the algorithme.
Geom2dConvert_CompCurveToBSplineCurve::Geom2dConvert_CompCurveToBSplineCurve | ( | const Handle< Geom2d_BoundedCurve > & | BasisCurve, |
const Convert_ParameterisationType | Parameterisation = Convert_TgtThetaOver2 |
||
) |
Initialize the algorithme with one curve.
Standard_Boolean Geom2dConvert_CompCurveToBSplineCurve::Add | ( | const Handle< Geom2d_BoundedCurve > & | NewCurve, |
const Standard_Real | Tolerance, | ||
const Standard_Boolean | After = Standard_False |
||
) |
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 Multiplicty at the common Knot After is useful if BasisCurve is a closed curve .
Handle< Geom2d_BSplineCurve > Geom2dConvert_CompCurveToBSplineCurve::BSplineCurve | ( | ) | const |
void Geom2dConvert_CompCurveToBSplineCurve::Clear | ( | ) |
Clear result curve.