// 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 _ShapeUpgrade_SplitCurve2d_HeaderFile
#define _ShapeUpgrade_SplitCurve2d_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_ShapeUpgrade_SplitCurve2d.hxx>

#include <Handle_Geom2d_Curve.hxx>
#include <Handle_TColGeom2d_HArray1OfCurve.hxx>
#include <ShapeUpgrade_SplitCurve.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
class Geom2d_Curve;
class TColGeom2d_HArray1OfCurve;


//! Splits a 2d curve with a criterion.
class ShapeUpgrade_SplitCurve2d : public ShapeUpgrade_SplitCurve
{

public:

  
  //! Empty constructor.
  Standard_EXPORT ShapeUpgrade_SplitCurve2d();
  
  //! Initializes with pcurve with its first and last parameters.
  Standard_EXPORT   void Init (const Handle(Geom2d_Curve)& C) ;
  
  //! Initializes with pcurve with its parameters.
  Standard_EXPORT   void Init (const Handle(Geom2d_Curve)& C, const Standard_Real First, const Standard_Real Last) ;
  
  //! If Segment is True, the result is composed with
  //! segments of the curve bounded by the SplitValues.  If
  //! Segment is False, the result is composed with trimmed
  //! Curves all based on the same complete curve.
  Standard_EXPORT virtual   void Build (const Standard_Boolean Segment) ;
  
  Standard_EXPORT  const  Handle(TColGeom2d_HArray1OfCurve)& GetCurves()  const;




  DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve2d)

protected:


  Handle(Geom2d_Curve) myCurve;
  Handle(TColGeom2d_HArray1OfCurve) myResultingCurves;


private: 




};







#endif // _ShapeUpgrade_SplitCurve2d_HeaderFile
