File indexing completed on 2026-09-21 09:16:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _BOPTest_Objects_HeaderFile
0016 #define _BOPTest_Objects_HeaderFile
0017
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020
0021 #include <BOPDS_PDS.hxx>
0022 #include <TopoDS_Shape.hxx>
0023 #include <NCollection_List.hxx>
0024 #include <BOPAlgo_PBuilder.hxx>
0025 #include <BOPAlgo_CellsBuilder.hxx>
0026 #include <BOPAlgo_GlueEnum.hxx>
0027
0028 class BOPAlgo_PaveFiller;
0029 class BOPAlgo_Builder;
0030 class BOPAlgo_BOP;
0031 class BOPAlgo_Section;
0032 class BOPAlgo_Splitter;
0033
0034 class BOPTest_Objects
0035 {
0036 public:
0037 DEFINE_STANDARD_ALLOC
0038
0039 Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller();
0040
0041 Standard_EXPORT static void Init();
0042
0043 Standard_EXPORT static void Clear();
0044
0045 Standard_EXPORT static BOPDS_PDS PDS();
0046
0047 Standard_EXPORT static BOPAlgo_Builder& Builder();
0048
0049 Standard_EXPORT static BOPAlgo_BOP& BOP();
0050
0051 Standard_EXPORT static BOPAlgo_Section& Section();
0052
0053 Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder();
0054
0055 Standard_EXPORT static BOPAlgo_Splitter& Splitter();
0056
0057 Standard_EXPORT static NCollection_List<TopoDS_Shape>& Shapes();
0058
0059 Standard_EXPORT static NCollection_List<TopoDS_Shape>& Tools();
0060
0061 Standard_EXPORT static void SetBuilder(const BOPAlgo_PBuilder& theBuilder);
0062
0063 Standard_EXPORT static void SetBuilderDefault();
0064
0065 Standard_EXPORT static void SetDefaultOptions();
0066
0067 Standard_EXPORT static void SetRunParallel(const bool theFlag);
0068
0069 Standard_EXPORT static bool RunParallel();
0070
0071 Standard_EXPORT static void SetFuzzyValue(const double theValue);
0072
0073 Standard_EXPORT static double FuzzyValue();
0074
0075 Standard_EXPORT static void SetNonDestructive(const bool theFlag);
0076
0077 Standard_EXPORT static bool NonDestructive();
0078
0079 Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue);
0080
0081 Standard_EXPORT static BOPAlgo_GlueEnum Glue();
0082
0083 Standard_EXPORT static void SetDrawWarnShapes(const bool bDraw);
0084
0085 Standard_EXPORT static bool DrawWarnShapes();
0086
0087 Standard_EXPORT static void SetCheckInverted(const bool bCheck);
0088
0089 Standard_EXPORT static bool CheckInverted();
0090
0091 Standard_EXPORT static void SetUseOBB(const bool bUseOBB);
0092
0093 Standard_EXPORT static bool UseOBB();
0094
0095 Standard_EXPORT static void SetUnifyEdges(const bool bUE);
0096 Standard_EXPORT static bool UnifyEdges();
0097
0098 Standard_EXPORT static void SetUnifyFaces(const bool bUF);
0099 Standard_EXPORT static bool UnifyFaces();
0100
0101 Standard_EXPORT static void SetAngular(const double bAngTol);
0102 Standard_EXPORT static double Angular();
0103 };
0104
0105 #endif