File indexing completed on 2026-11-15 10:21:32
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(true),
0027 myPCurve1(true),
0028 myPCurve2(true)
0029 {
0030 }
0031
0032
0033 BOPAlgo_SectionAttribute(const bool theAproximation,
0034 const bool thePCurveOnS1,
0035 const bool thePCurveOnS2)
0036 : myApproximation(theAproximation),
0037 myPCurve1(thePCurveOnS1),
0038 myPCurve2(thePCurveOnS2)
0039 {
0040 }
0041
0042
0043 void Approximation(const bool theApprox) { myApproximation = theApprox; }
0044
0045
0046 void PCurveOnS1(const bool thePCurveOnS1) { myPCurve1 = thePCurveOnS1; }
0047
0048
0049 void PCurveOnS2(const bool thePCurveOnS2) { myPCurve2 = thePCurveOnS2; }
0050
0051
0052 bool Approximation() const { return myApproximation; }
0053
0054
0055 bool PCurveOnS1() const { return myPCurve1; }
0056
0057
0058 bool PCurveOnS2() const { return myPCurve2; }
0059
0060 private:
0061 bool myApproximation;
0062 bool myPCurve1;
0063 bool myPCurve2;
0064 };
0065
0066 #endif