File indexing completed on 2025-01-18 10:03:04
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
0026 BOPAlgo_SectionAttribute()
0027 : myApproximation(Standard_True),
0028 myPCurve1(Standard_True),
0029 myPCurve2(Standard_True) {}
0030
0031
0032 BOPAlgo_SectionAttribute(const Standard_Boolean theAproximation,
0033 const Standard_Boolean thePCurveOnS1,
0034 const Standard_Boolean thePCurveOnS2)
0035 : myApproximation(theAproximation),
0036 myPCurve1(thePCurveOnS1),
0037 myPCurve2(thePCurveOnS2) {}
0038
0039
0040 void Approximation(const Standard_Boolean theApprox)
0041 {
0042 myApproximation = theApprox;
0043 }
0044
0045
0046 void PCurveOnS1(const Standard_Boolean thePCurveOnS1)
0047 {
0048 myPCurve1 = thePCurveOnS1;
0049 }
0050
0051
0052 void PCurveOnS2(const Standard_Boolean thePCurveOnS2)
0053 {
0054 myPCurve2 = thePCurveOnS2;
0055 }
0056
0057
0058 Standard_Boolean Approximation() const
0059 {
0060 return myApproximation;
0061 }
0062
0063
0064 Standard_Boolean PCurveOnS1() const
0065 {
0066 return myPCurve1;
0067 }
0068
0069
0070 Standard_Boolean PCurveOnS2() const
0071 {
0072 return myPCurve2;
0073 }
0074
0075 protected:
0076
0077 private:
0078
0079 Standard_Boolean myApproximation;
0080 Standard_Boolean myPCurve1;
0081 Standard_Boolean myPCurve2;
0082
0083 };
0084
0085 #endif