summaryrefslogtreecommitdiff
path: root/inc/PGeom_TrimmedCurve.hxx
blob: f8784017104c78ed400f0481d3d054c3ea475b06 (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
85
86
87
88
89
90
91
92
93
94
// 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 _PGeom_TrimmedCurve_HeaderFile
#define _PGeom_TrimmedCurve_HeaderFile

#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_PGeom_TrimmedCurve_HeaderFile
#include <Handle_PGeom_TrimmedCurve.hxx>
#endif

#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_PGeom_Curve_HeaderFile
#include <Handle_PGeom_Curve.hxx>
#endif
#ifndef _PGeom_BoundedCurve_HeaderFile
#include <PGeom_BoundedCurve.hxx>
#endif
class PGeom_Curve;


class PGeom_TrimmedCurve : public PGeom_BoundedCurve {

public:

  //! Creates a TrimmedCurve with default values. <br>
  Standard_EXPORT   PGeom_TrimmedCurve();
  //! Creates a TrimmedCurve with these field values. <br>
  Standard_EXPORT   PGeom_TrimmedCurve(const Handle(PGeom_Curve)& aBasisCurve,const Standard_Real aFirstU,const Standard_Real aLastU);
  //! Set the value of the field firstU with <aFirstU>. <br>
  Standard_EXPORT     void FirstU(const Standard_Real aFirstU) ;
  //! Returns the value of the field firstU. <br>
  Standard_EXPORT     Standard_Real FirstU() const;
  //! Set the value of the field lastU with <aLastU>. <br>
  Standard_EXPORT     void LastU(const Standard_Real aLastU) ;
  //! Returns the value of the field lastU. <br>
  Standard_EXPORT     Standard_Real LastU() const;
  //! Set the value of the field basisCurve with <aBasisCurve>. <br>
//!  This curve can be a trimmed curve. <br>
  Standard_EXPORT     void BasisCurve(const Handle(PGeom_Curve)& aBasisCurve) ;
  //! Returns the value of the field basisCurve. <br>
//!  This curve can be a trimmed curve. <br>
  Standard_EXPORT     Handle_PGeom_Curve BasisCurve() const;

PGeom_TrimmedCurve(const Storage_stCONSTclCOM& a) : PGeom_BoundedCurve(a)
{
  
}
    Handle(PGeom_Curve) _CSFDB_GetPGeom_TrimmedCurvebasisCurve() const { return basisCurve; }
    void _CSFDB_SetPGeom_TrimmedCurvebasisCurve(const Handle(PGeom_Curve)& p) { basisCurve = p; }
    Standard_Real _CSFDB_GetPGeom_TrimmedCurvefirstU() const { return firstU; }
    void _CSFDB_SetPGeom_TrimmedCurvefirstU(const Standard_Real p) { firstU = p; }
    Standard_Real _CSFDB_GetPGeom_TrimmedCurvelastU() const { return lastU; }
    void _CSFDB_SetPGeom_TrimmedCurvelastU(const Standard_Real p) { lastU = p; }



  DEFINE_STANDARD_RTTI(PGeom_TrimmedCurve)

protected:




private: 


Handle_PGeom_Curve basisCurve;
Standard_Real firstU;
Standard_Real lastU;


};





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


#endif