File indexing completed on 2026-05-19 08:15:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BOPAlgo_SectionAttribute_HeaderFile
0017 #define _BOPAlgo_SectionAttribute_HeaderFile
0018
0019
0020
0021 class BOPAlgo_SectionAttribute
0022 {
0023 public:
0024
0025 BOPAlgo_SectionAttribute()
0026 : myApproximation(Standard_True),
0027 myPCurve1(Standard_True),
0028 myPCurve2(Standard_True)
0029 {
0030 }
0031
0032
0033 BOPAlgo_SectionAttribute(const Standard_Boolean theAproximation,
0034 const Standard_Boolean thePCurveOnS1,
0035 const Standard_Boolean thePCurveOnS2)
0036 : myApproximation(theAproximation),
0037 myPCurve1(thePCurveOnS1),
0038 myPCurve2(thePCurveOnS2)
0039 {
0040 }
0041
0042
0043 void Approximation(const Standard_Boolean theApprox) { myApproximation = theApprox; }
0044
0045
0046 void PCurveOnS1(const Standard_Boolean thePCurveOnS1) { myPCurve1 = thePCurveOnS1; }
0047
0048
0049 void PCurveOnS2(const Standard_Boolean thePCurveOnS2) { myPCurve2 = thePCurveOnS2; }
0050
0051
0052 Standard_Boolean Approximation() const { return myApproximation; }
0053
0054
0055 Standard_Boolean PCurveOnS1() const { return myPCurve1; }
0056
0057
0058 Standard_Boolean PCurveOnS2() const { return myPCurve2; }
0059
0060 protected:
0061 private:
0062 Standard_Boolean myApproximation;
0063 Standard_Boolean myPCurve1;
0064 Standard_Boolean myPCurve2;
0065 };
0066
0067 #endif