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_ShapeDivideArea_HeaderFile
0017 #define _ShapeUpgrade_ShapeDivideArea_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022
0023 #include <ShapeUpgrade_ShapeDivide.hxx>
0024 class TopoDS_Shape;
0025 class ShapeUpgrade_FaceDivide;
0026
0027
0028
0029 class ShapeUpgrade_ShapeDivideArea : public ShapeUpgrade_ShapeDivide
0030 {
0031 public:
0032
0033 DEFINE_STANDARD_ALLOC
0034
0035
0036 Standard_EXPORT ShapeUpgrade_ShapeDivideArea();
0037
0038
0039 Standard_EXPORT ShapeUpgrade_ShapeDivideArea(const TopoDS_Shape& S);
0040
0041
0042 Standard_Real& MaxArea();
0043
0044
0045
0046 Standard_Integer& NbParts();
0047
0048
0049
0050 void SetNumbersUVSplits(const Standard_Integer theNbUsplits,
0051 const Standard_Integer theNbVsplits);
0052
0053
0054
0055
0056
0057 void SetSplittingByNumber(const Standard_Boolean theIsSplittingByNumber);
0058
0059
0060 protected:
0061
0062
0063
0064 Standard_EXPORT virtual Handle(ShapeUpgrade_FaceDivide) GetSplitFaceTool() const Standard_OVERRIDE;
0065
0066
0067
0068
0069 private:
0070
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_ShapeDivideArea.lxx>
0083
0084
0085
0086
0087
0088 #endif