File indexing completed on 2025-01-18 10:04:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _ShapeUpgrade_FaceDivideArea_HeaderFile
0017 #define _ShapeUpgrade_FaceDivideArea_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <ShapeUpgrade_FaceDivide.hxx>
0023 class TopoDS_Face;
0024
0025
0026 class ShapeUpgrade_FaceDivideArea;
0027 DEFINE_STANDARD_HANDLE(ShapeUpgrade_FaceDivideArea, ShapeUpgrade_FaceDivide)
0028
0029
0030 class ShapeUpgrade_FaceDivideArea : public ShapeUpgrade_FaceDivide
0031 {
0032
0033 public:
0034
0035
0036
0037 Standard_EXPORT ShapeUpgrade_FaceDivideArea();
0038
0039 Standard_EXPORT ShapeUpgrade_FaceDivideArea(const TopoDS_Face& F);
0040
0041
0042
0043 Standard_EXPORT virtual Standard_Boolean Perform(const Standard_Real theArea = 0.) Standard_OVERRIDE;
0044
0045
0046 Standard_Real& MaxArea();
0047
0048
0049 Standard_Integer& NbParts();
0050
0051
0052
0053 void SetNumbersUVSplits(const Standard_Integer theNbUsplits,
0054 const Standard_Integer theNbVsplits);
0055
0056
0057
0058
0059
0060 void SetSplittingByNumber(const Standard_Boolean theIsSplittingByNumber);
0061
0062
0063 DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_FaceDivideArea,ShapeUpgrade_FaceDivide)
0064
0065 protected:
0066
0067
0068
0069
0070 private:
0071
0072
0073 Standard_Real myMaxArea;
0074 Standard_Integer myNbParts;
0075 Standard_Integer myUnbSplit;
0076 Standard_Integer myVnbSplit;
0077 Standard_Boolean myIsSplittingByNumber;
0078
0079 };
0080
0081
0082 #include <ShapeUpgrade_FaceDivideArea.lxx>
0083
0084
0085
0086
0087
0088 #endif