blob: f6ef09b234fd3e17712cbcffac332b3212fe12e8 (
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 _PGeom2d_TrimmedCurve_HeaderFile
#define _PGeom2d_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_PGeom2d_TrimmedCurve_HeaderFile
#include <Handle_PGeom2d_TrimmedCurve.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_PGeom2d_Curve_HeaderFile
#include <Handle_PGeom2d_Curve.hxx>
#endif
#ifndef _PGeom2d_BoundedCurve_HeaderFile
#include <PGeom2d_BoundedCurve.hxx>
#endif
class PGeom2d_Curve;
class PGeom2d_TrimmedCurve : public PGeom2d_BoundedCurve {
public:
//! Creates a TrimmedCurve with default values. <br>
Standard_EXPORT PGeom2d_TrimmedCurve();
//! Creates a TrimmedCurve with these field values. <br>
Standard_EXPORT PGeom2d_TrimmedCurve(const Handle(PGeom2d_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(PGeom2d_Curve)& aBasisCurve) ;
//! Returns the value of the field basisCurve. <br>
//! This curve can be a trimmed curve. <br>
Standard_EXPORT Handle_PGeom2d_Curve BasisCurve() const;
PGeom2d_TrimmedCurve(const Storage_stCONSTclCOM& a) : PGeom2d_BoundedCurve(a)
{
}
Handle(PGeom2d_Curve) _CSFDB_GetPGeom2d_TrimmedCurvebasisCurve() const { return basisCurve; }
void _CSFDB_SetPGeom2d_TrimmedCurvebasisCurve(const Handle(PGeom2d_Curve)& p) { basisCurve = p; }
Standard_Real _CSFDB_GetPGeom2d_TrimmedCurvefirstU() const { return firstU; }
void _CSFDB_SetPGeom2d_TrimmedCurvefirstU(const Standard_Real p) { firstU = p; }
Standard_Real _CSFDB_GetPGeom2d_TrimmedCurvelastU() const { return lastU; }
void _CSFDB_SetPGeom2d_TrimmedCurvelastU(const Standard_Real p) { lastU = p; }
DEFINE_STANDARD_RTTI(PGeom2d_TrimmedCurve)
protected:
private:
Handle_PGeom2d_Curve basisCurve;
Standard_Real firstU;
Standard_Real lastU;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|