// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _ShapeConstruct_CompBezierCurvesToBSplineCurve_HeaderFile
#define _ShapeConstruct_CompBezierCurvesToBSplineCurve_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Convert_SequenceOfArray1OfPoles.hxx>
#include <TColgp_SequenceOfPnt.hxx>
#include <TColStd_SequenceOfReal.hxx>
#include <TColStd_SequenceOfInteger.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
class Standard_ConstructionError;
class TColgp_Array1OfPnt;
class TColStd_Array1OfReal;
class TColStd_Array1OfInteger;


//! Converts a list  of connecting Bezier Curves to  a
//! BSplineCurve.
//! if possible, the continuity of the BSpline will be
//! increased to more than C0.
class ShapeConstruct_CompBezierCurvesToBSplineCurve 
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT ShapeConstruct_CompBezierCurvesToBSplineCurve(const Standard_Real AngularTolerance = 1.0e-4);
  
  Standard_EXPORT   void AddCurve (const TColgp_Array1OfPnt& Poles) ;
  
  //! Computes the algorithm.
  Standard_EXPORT   void Perform() ;
  
  Standard_EXPORT   Standard_Integer Degree()  const;
  
  Standard_EXPORT   Standard_Integer NbPoles()  const;
  
  Standard_EXPORT   void Poles (TColgp_Array1OfPnt& Poles)  const;
  
  Standard_EXPORT   Standard_Integer NbKnots()  const;
  
  Standard_EXPORT   void KnotsAndMults (TColStd_Array1OfReal& Knots, TColStd_Array1OfInteger& Mults)  const;




protected:





private:



  Convert_SequenceOfArray1OfPoles mySequence;
  TColgp_SequenceOfPnt CurvePoles;
  TColStd_SequenceOfReal CurveKnots;
  TColStd_SequenceOfInteger KnotsMultiplicities;
  Standard_Integer myDegree;
  Standard_Real myAngular;
  Standard_Boolean myDone;


};







#endif // _ShapeConstruct_CompBezierCurvesToBSplineCurve_HeaderFile
