summaryrefslogtreecommitdiff
path: root/inc/PGeom_BezierSurface.hxx
blob: e99f138e63b0ed906c4c9f5a4c7818fca2e1b523 (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
// 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_BezierSurface_HeaderFile
#define _PGeom_BezierSurface_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_BezierSurface_HeaderFile
#include <Handle_PGeom_BezierSurface.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 _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _PGeom_BoundedSurface_HeaderFile
#include <PGeom_BoundedSurface.hxx>
#endif
class PColgp_HArray2OfPnt;
class PColStd_HArray2OfReal;


class PGeom_BezierSurface : public PGeom_BoundedSurface {

public:

  //! Creates a BezierSurface with default values. <br>
  Standard_EXPORT   PGeom_BezierSurface();
  //! Creates a BezierSurface with these values. <br>
  Standard_EXPORT   PGeom_BezierSurface(const Standard_Boolean aURational,const Standard_Boolean aVRational,const Handle(PColgp_HArray2OfPnt)& aPoles,const Handle(PColStd_HArray2OfReal)& aWeights);
  //! Set 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 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;

PGeom_BezierSurface(const Storage_stCONSTclCOM& a) : PGeom_BoundedSurface(a)
{
  
}
    Standard_Boolean _CSFDB_GetPGeom_BezierSurfaceuRational() const { return uRational; }
    void _CSFDB_SetPGeom_BezierSurfaceuRational(const Standard_Boolean p) { uRational = p; }
    Standard_Boolean _CSFDB_GetPGeom_BezierSurfacevRational() const { return vRational; }
    void _CSFDB_SetPGeom_BezierSurfacevRational(const Standard_Boolean p) { vRational = p; }
    Handle(PColgp_HArray2OfPnt) _CSFDB_GetPGeom_BezierSurfacepoles() const { return poles; }
    void _CSFDB_SetPGeom_BezierSurfacepoles(const Handle(PColgp_HArray2OfPnt)& p) { poles = p; }
    Handle(PColStd_HArray2OfReal) _CSFDB_GetPGeom_BezierSurfaceweights() const { return weights; }
    void _CSFDB_SetPGeom_BezierSurfaceweights(const Handle(PColStd_HArray2OfReal)& p) { weights = p; }



  DEFINE_STANDARD_RTTI(PGeom_BezierSurface)

protected:




private: 


Standard_Boolean uRational;
Standard_Boolean vRational;
Handle_PColgp_HArray2OfPnt poles;
Handle_PColStd_HArray2OfReal weights;


};





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


#endif