summaryrefslogtreecommitdiff
path: root/inc/PGeom_BSplineSurface.hxx
blob: 39a52e94a69f811258e40a985e1f8df5d25b4007 (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// 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_BSplineSurface_HeaderFile
#define _PGeom_BSplineSurface_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_BSplineSurface_HeaderFile
#include <Handle_PGeom_BSplineSurface.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_PColgp_HArray2OfPnt_HeaderFile
#include <Handle_PColgp_HArray2OfPnt.hxx>
#endif
#ifndef _Handle_PColStd_HArray2OfReal_HeaderFile
#include <Handle_PColStd_HArray2OfReal.hxx>
#endif
#ifndef _Handle_PColStd_HArray1OfReal_HeaderFile
#include <Handle_PColStd_HArray1OfReal.hxx>
#endif
#ifndef _Handle_PColStd_HArray1OfInteger_HeaderFile
#include <Handle_PColStd_HArray1OfInteger.hxx>
#endif
#ifndef _PGeom_BoundedSurface_HeaderFile
#include <PGeom_BoundedSurface.hxx>
#endif
class PColgp_HArray2OfPnt;
class PColStd_HArray2OfReal;
class PColStd_HArray1OfReal;
class PColStd_HArray1OfInteger;


class PGeom_BSplineSurface : public PGeom_BoundedSurface {

public:

  //! Creates a BSplineSurface with default values. <br>
  Standard_EXPORT   PGeom_BSplineSurface();
  //! Creates a BSplineSurface with these values. <br>
  Standard_EXPORT   PGeom_BSplineSurface(const Standard_Boolean aURational,const Standard_Boolean aVRational,const Standard_Boolean aUPeriodic,const Standard_Boolean aVPeriodic,const Standard_Integer aUSpineDegree,const Standard_Integer aVSpineDegree,const Handle(PColgp_HArray2OfPnt)& aPoles,const Handle(PColStd_HArray2OfReal)& aWeights,const Handle(PColStd_HArray1OfReal)& aUKnots,const Handle(PColStd_HArray1OfReal)& aVKnots,const Handle(PColStd_HArray1OfInteger)& aUMultiplicities,const Handle(PColStd_HArray1OfInteger)& aVMultiplicities);
  //! Set the value of the field uRational with <aURational>. <br>
  Standard_EXPORT     void URational(const Standard_Boolean aURational) ;
  //! Returns the value of the field uRational. <br>
  Standard_EXPORT     Standard_Boolean URational() const;
  //! Set the value of the field vRational with <aVRational>. <br>
  Standard_EXPORT     void VRational(const Standard_Boolean aVRational) ;
  //! Returns the value of the field vRational. <br>
  Standard_EXPORT     Standard_Boolean VRational() const;
  //! Set the value of the field uPeriodic with <aUPeriodic>. <br>
  Standard_EXPORT     void UPeriodic(const Standard_Boolean aUPeriodic) ;
  //! Returns the value of the field uPeriodic. <br>
  Standard_EXPORT     Standard_Boolean UPeriodic() const;
  //! Set the value of the field vPeriodic with <aVPeriodic>. <br>
  Standard_EXPORT     void VPeriodic(const Standard_Boolean aVPeriodic) ;
  //! Returns the value of the field vPeriodic. <br>
  Standard_EXPORT     Standard_Boolean VPeriodic() const;
  //! Set  the value  of the  field  uSpineDegree  with <br>
//!         <aUSpineDegree>. <br>
  Standard_EXPORT     void USpineDegree(const Standard_Integer aUSpineDegree) ;
  //! Returns the value of the field uSpineDegree. <br>
  Standard_EXPORT     Standard_Integer USpineDegree() const;
  //! Set  the value  of the  field  vSpineDegree  with <br>
//!         <aVSpineDegree>. <br>
  Standard_EXPORT     void VSpineDegree(const Standard_Integer aVSpineDegree) ;
  //! Returns the value of the field vSpineDegree. <br>
  Standard_EXPORT     Standard_Integer VSpineDegree() const;
  //! Set the value of the field poles with <aPoles>. <br>
  Standard_EXPORT     void Poles(const Handle(PColgp_HArray2OfPnt)& aPoles) ;
  //! Returns the value of the field poles. <br>
  Standard_EXPORT     Handle_PColgp_HArray2OfPnt Poles() const;
  //! Set the value of the field weights with <aWeights>. <br>
  Standard_EXPORT     void Weights(const Handle(PColStd_HArray2OfReal)& aWeights) ;
  //! Returns the value of the field weights. <br>
  Standard_EXPORT     Handle_PColStd_HArray2OfReal Weights() const;
  //! Set the value of the field uKnots with <aUKnots>. <br>
  Standard_EXPORT     void UKnots(const Handle(PColStd_HArray1OfReal)& aUKnots) ;
  //! Returns the value of the field uKnots. <br>
  Standard_EXPORT     Handle_PColStd_HArray1OfReal UKnots() const;
  //! Set the value of the field vKnots with <aVKnots>. <br>
  Standard_EXPORT     void VKnots(const Handle(PColStd_HArray1OfReal)& aVKnots) ;
  //! Returns the value of the field vKnots. <br>
  Standard_EXPORT     Handle_PColStd_HArray1OfReal VKnots() const;
  //! Set the  value of the  field  uMultiplicities with <br>
//!          <aUMultiplicities>. <br>
  Standard_EXPORT     void UMultiplicities(const Handle(PColStd_HArray1OfInteger)& aUMultiplicities) ;
  //! Returns the value of the field uMultiplicities. <br>
  Standard_EXPORT     Handle_PColStd_HArray1OfInteger UMultiplicities() const;
  //! Set the value  of  the field vMultiplicities  with <br>
//!          <aVMultiplicities>. <br>
  Standard_EXPORT     void VMultiplicities(const Handle(PColStd_HArray1OfInteger)& aVMultiplicities) ;
  //! Returns the value of the field vMultiplicities. <br>
  Standard_EXPORT     Handle_PColStd_HArray1OfInteger VMultiplicities() const;

PGeom_BSplineSurface(const Storage_stCONSTclCOM& a) : PGeom_BoundedSurface(a)
{
  
}
    Standard_Boolean _CSFDB_GetPGeom_BSplineSurfaceuRational() const { return uRational; }
    void _CSFDB_SetPGeom_BSplineSurfaceuRational(const Standard_Boolean p) { uRational = p; }
    Standard_Boolean _CSFDB_GetPGeom_BSplineSurfacevRational() const { return vRational; }
    void _CSFDB_SetPGeom_BSplineSurfacevRational(const Standard_Boolean p) { vRational = p; }
    Standard_Boolean _CSFDB_GetPGeom_BSplineSurfaceuPeriodic() const { return uPeriodic; }
    void _CSFDB_SetPGeom_BSplineSurfaceuPeriodic(const Standard_Boolean p) { uPeriodic = p; }
    Standard_Boolean _CSFDB_GetPGeom_BSplineSurfacevPeriodic() const { return vPeriodic; }
    void _CSFDB_SetPGeom_BSplineSurfacevPeriodic(const Standard_Boolean p) { vPeriodic = p; }
    Standard_Integer _CSFDB_GetPGeom_BSplineSurfaceuSpineDegree() const { return uSpineDegree; }
    void _CSFDB_SetPGeom_BSplineSurfaceuSpineDegree(const Standard_Integer p) { uSpineDegree = p; }
    Standard_Integer _CSFDB_GetPGeom_BSplineSurfacevSpineDegree() const { return vSpineDegree; }
    void _CSFDB_SetPGeom_BSplineSurfacevSpineDegree(const Standard_Integer p) { vSpineDegree = p; }
    Handle(PColgp_HArray2OfPnt) _CSFDB_GetPGeom_BSplineSurfacepoles() const { return poles; }
    void _CSFDB_SetPGeom_BSplineSurfacepoles(const Handle(PColgp_HArray2OfPnt)& p) { poles = p; }
    Handle(PColStd_HArray2OfReal) _CSFDB_GetPGeom_BSplineSurfaceweights() const { return weights; }
    void _CSFDB_SetPGeom_BSplineSurfaceweights(const Handle(PColStd_HArray2OfReal)& p) { weights = p; }
    Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineSurfaceuKnots() const { return uKnots; }
    void _CSFDB_SetPGeom_BSplineSurfaceuKnots(const Handle(PColStd_HArray1OfReal)& p) { uKnots = p; }
    Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineSurfacevKnots() const { return vKnots; }
    void _CSFDB_SetPGeom_BSplineSurfacevKnots(const Handle(PColStd_HArray1OfReal)& p) { vKnots = p; }
    Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom_BSplineSurfaceuMultiplicities() const { return uMultiplicities; }
    void _CSFDB_SetPGeom_BSplineSurfaceuMultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { uMultiplicities = p; }
    Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom_BSplineSurfacevMultiplicities() const { return vMultiplicities; }
    void _CSFDB_SetPGeom_BSplineSurfacevMultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { vMultiplicities = p; }



  DEFINE_STANDARD_RTTI(PGeom_BSplineSurface)

protected:




private: 


Standard_Boolean uRational;
Standard_Boolean vRational;
Standard_Boolean uPeriodic;
Standard_Boolean vPeriodic;
Standard_Integer uSpineDegree;
Standard_Integer vSpineDegree;
Handle_PColgp_HArray2OfPnt poles;
Handle_PColStd_HArray2OfReal weights;
Handle_PColStd_HArray1OfReal uKnots;
Handle_PColStd_HArray1OfReal vKnots;
Handle_PColStd_HArray1OfInteger uMultiplicities;
Handle_PColStd_HArray1OfInteger vMultiplicities;


};





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


#endif