Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 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_BSplineCurveBSplineCurve () const
 
void Clear ()
 Clear a result curve.
 

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 algorithm.

  • Parameterisation is used to convert

◆ GeomConvert_CompCurveToBSplineCurve() [2/2]

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

Initialize the algorithm with one curve.

  • Parameterisation is used to convert

Member Function Documentation

◆ Add()

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.

◆ BSplineCurve()

occ::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: