summaryrefslogtreecommitdiff
path: root/inc/ShapeUpgrade_SplitCurve2d.hxx
blob: 8393a0481cf542487226f32d02da1832c5e36fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// 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

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_ShapeUpgrade_SplitCurve2d_HeaderFile
#include <Handle_ShapeUpgrade_SplitCurve2d.hxx>
#endif

#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
#ifndef _Handle_TColGeom2d_HArray1OfCurve_HeaderFile
#include <Handle_TColGeom2d_HArray1OfCurve.hxx>
#endif
#ifndef _ShapeUpgrade_SplitCurve_HeaderFile
#include <ShapeUpgrade_SplitCurve.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class Geom2d_Curve;
class TColGeom2d_HArray1OfCurve;


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

public:

  //! Empty constructor. <br>
  Standard_EXPORT   ShapeUpgrade_SplitCurve2d();
  //! Initializes with pcurve with its first and last parameters. <br>
  Standard_EXPORT     void Init(const Handle(Geom2d_Curve)& C) ;
  //! Initializes with pcurve with its parameters. <br>
  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 <br>
//!  segments of the curve bounded by the SplitValues.  If <br>
//!  Segment is False, the result is composed with trimmed <br>
//!  Curves all based on the same complete curve. <br>
//! <br>
  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: 




};





// other Inline functions and methods (like "C++: function call" methods)


#endif