File indexing completed on 2025-01-18 10:03:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef _BOPAlgo_BuilderFace_HeaderFile
0019 #define _BOPAlgo_BuilderFace_HeaderFile
0020
0021 #include <Standard.hxx>
0022 #include <Standard_DefineAlloc.hxx>
0023 #include <Standard_Handle.hxx>
0024
0025 #include <TopoDS_Face.hxx>
0026 #include <TopAbs_Orientation.hxx>
0027 #include <BOPAlgo_BuilderArea.hxx>
0028 #include <NCollection_BaseAllocator.hxx>
0029
0030
0031
0032
0033
0034
0035
0036
0037 class BOPAlgo_BuilderFace : public BOPAlgo_BuilderArea
0038 {
0039 public:
0040
0041 DEFINE_STANDARD_ALLOC
0042
0043
0044 Standard_EXPORT BOPAlgo_BuilderFace();
0045 Standard_EXPORT virtual ~BOPAlgo_BuilderFace();
0046
0047 Standard_EXPORT BOPAlgo_BuilderFace(const Handle(NCollection_BaseAllocator)& theAllocator);
0048
0049
0050 Standard_EXPORT void SetFace (const TopoDS_Face& theFace);
0051
0052
0053 Standard_EXPORT const TopoDS_Face& Face() const;
0054
0055
0056 Standard_EXPORT virtual void Perform(const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
0057
0058 Standard_EXPORT TopAbs_Orientation Orientation() const;
0059
0060 protected:
0061
0062
0063
0064
0065 Standard_EXPORT virtual void PerformShapesToAvoid(const Message_ProgressRange& theRange) Standard_OVERRIDE;
0066
0067
0068
0069
0070
0071
0072 Standard_EXPORT virtual void PerformLoops(const Message_ProgressRange& theRange) Standard_OVERRIDE;
0073
0074
0075 Standard_EXPORT virtual void PerformAreas(const Message_ProgressRange& theRange) Standard_OVERRIDE;
0076
0077
0078 Standard_EXPORT virtual void PerformInternalShapes(const Message_ProgressRange& theRange) Standard_OVERRIDE;
0079
0080 Standard_EXPORT virtual void CheckData() Standard_OVERRIDE;
0081
0082 protected:
0083
0084 TopoDS_Face myFace;
0085 TopAbs_Orientation myOrientation;
0086 };
0087
0088 #endif