blob: 2c686ac395c2b35ec7c59444c8e88eeb17520057 (
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
|
// 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_BSplineCurve_HeaderFile
#define _PGeom_BSplineCurve_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_BSplineCurve_HeaderFile
#include <Handle_PGeom_BSplineCurve.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_PColgp_HArray1OfPnt_HeaderFile
#include <Handle_PColgp_HArray1OfPnt.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_BoundedCurve_HeaderFile
#include <PGeom_BoundedCurve.hxx>
#endif
class PColgp_HArray1OfPnt;
class PColStd_HArray1OfReal;
class PColStd_HArray1OfInteger;
class PGeom_BSplineCurve : public PGeom_BoundedCurve {
public:
//! Creates a BSplineCurve with default values. <br>
Standard_EXPORT PGeom_BSplineCurve();
//! Creates a BSplineCurve with these field values. <br>
Standard_EXPORT PGeom_BSplineCurve(const Standard_Boolean aRational,const Standard_Boolean aPeriodic,const Standard_Integer aSpineDegree,const Handle(PColgp_HArray1OfPnt)& aPoles,const Handle(PColStd_HArray1OfReal)& aWeights,const Handle(PColStd_HArray1OfReal)& aKnots,const Handle(PColStd_HArray1OfInteger)& aMultiplicities);
//!Set the field periodic with <aPeriodic>. <br>
Standard_EXPORT void Periodic(const Standard_Boolean aPeriodic) ;
//!Returns the value of the field periodic. <br>
Standard_EXPORT Standard_Boolean Periodic() const;
//!Set the value of the field rational with <br>
//! <aRational>. <br>
Standard_EXPORT void Rational(const Standard_Boolean aRational) ;
//!Returns the value of the field rational. <br>
Standard_EXPORT Standard_Boolean Rational() const;
//! Set the value of the field spineDegree with <aSpineDegree>. <br>
Standard_EXPORT void SpineDegree(const Standard_Integer aSpineDegree) ;
//! Returns the value of the field spineDegree. <br>
Standard_EXPORT Standard_Integer SpineDegree() const;
//! Set the value of the field poles with <aPoles>. <br>
Standard_EXPORT void Poles(const Handle(PColgp_HArray1OfPnt)& aPoles) ;
//! Returns the value of the field poles. <br>
Standard_EXPORT Handle_PColgp_HArray1OfPnt Poles() const;
//! Set the value of the field weights with <aWeights>. <br>
Standard_EXPORT void Weights(const Handle(PColStd_HArray1OfReal)& aWeights) ;
//! Returns the the value of the field weights. <br>
Standard_EXPORT Handle_PColStd_HArray1OfReal Weights() const;
//! Set the field knots with <aKnots>. <br>
//! The multiplicity of the knots are not modified. <br>
Standard_EXPORT void Knots(const Handle(PColStd_HArray1OfReal)& aKnots) ;
//! returns the value of the field knots. <br>
Standard_EXPORT Handle_PColStd_HArray1OfReal Knots() const;
//! Set the field multiplicities with <aMultiplicities>. <br>
Standard_EXPORT void Multiplicities(const Handle(PColStd_HArray1OfInteger)& aMultiplicities) ;
//! returns the value of the field multiplicities. <br>
Standard_EXPORT Handle_PColStd_HArray1OfInteger Multiplicities() const;
PGeom_BSplineCurve(const Storage_stCONSTclCOM& a) : PGeom_BoundedCurve(a)
{
}
Standard_Boolean _CSFDB_GetPGeom_BSplineCurverational() const { return rational; }
void _CSFDB_SetPGeom_BSplineCurverational(const Standard_Boolean p) { rational = p; }
Standard_Boolean _CSFDB_GetPGeom_BSplineCurveperiodic() const { return periodic; }
void _CSFDB_SetPGeom_BSplineCurveperiodic(const Standard_Boolean p) { periodic = p; }
Standard_Integer _CSFDB_GetPGeom_BSplineCurvespineDegree() const { return spineDegree; }
void _CSFDB_SetPGeom_BSplineCurvespineDegree(const Standard_Integer p) { spineDegree = p; }
Handle(PColgp_HArray1OfPnt) _CSFDB_GetPGeom_BSplineCurvepoles() const { return poles; }
void _CSFDB_SetPGeom_BSplineCurvepoles(const Handle(PColgp_HArray1OfPnt)& p) { poles = p; }
Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineCurveweights() const { return weights; }
void _CSFDB_SetPGeom_BSplineCurveweights(const Handle(PColStd_HArray1OfReal)& p) { weights = p; }
Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineCurveknots() const { return knots; }
void _CSFDB_SetPGeom_BSplineCurveknots(const Handle(PColStd_HArray1OfReal)& p) { knots = p; }
Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom_BSplineCurvemultiplicities() const { return multiplicities; }
void _CSFDB_SetPGeom_BSplineCurvemultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { multiplicities = p; }
DEFINE_STANDARD_RTTI(PGeom_BSplineCurve)
protected:
private:
Standard_Boolean rational;
Standard_Boolean periodic;
Standard_Integer spineDegree;
Handle_PColgp_HArray1OfPnt poles;
Handle_PColStd_HArray1OfReal weights;
Handle_PColStd_HArray1OfReal knots;
Handle_PColStd_HArray1OfInteger multiplicities;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|