0026619: Tolerances of operands are modified using bop
[occt.git] / src / BOPTest / BOPTest_Objects.hxx
CommitLineData
42cf5bc1 1// Created by: Peter KURNEV
2// Copyright (c) 1999-2014 OPEN CASCADE SAS
3//
4// This file is part of Open CASCADE Technology software library.
5//
6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
11//
12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
14
15#ifndef _BOPTest_Objects_HeaderFile
16#define _BOPTest_Objects_HeaderFile
17
18#include <Standard.hxx>
19#include <Standard_DefineAlloc.hxx>
20#include <Standard_Handle.hxx>
21
22#include <BOPDS_PDS.hxx>
23#include <BOPCol_ListOfShape.hxx>
24#include <BOPAlgo_PBuilder.hxx>
25#include <Standard_Boolean.hxx>
26#include <Standard_Real.hxx>
338434c7 27#include <BOPAlgo_CellsBuilder.hxx>
42cf5bc1 28class BOPAlgo_PaveFiller;
29class BOPAlgo_Builder;
30class BOPAlgo_BOP;
31class BOPAlgo_Section;
32
33
34
35class BOPTest_Objects
36{
37public:
38
39 DEFINE_STANDARD_ALLOC
40
41
42 Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller();
43
44 Standard_EXPORT static void Init();
45
46 Standard_EXPORT static void Clear();
47
48 Standard_EXPORT static BOPDS_PDS PDS();
49
50 Standard_EXPORT static BOPAlgo_Builder& Builder();
51
52 Standard_EXPORT static BOPAlgo_BOP& BOP();
53
54 Standard_EXPORT static BOPAlgo_Section& Section();
55
338434c7 56 Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder();
57
42cf5bc1 58 Standard_EXPORT static BOPCol_ListOfShape& Shapes();
59
60 Standard_EXPORT static BOPCol_ListOfShape& Tools();
61
62 Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder);
63
64 Standard_EXPORT static void SetBuilderDefault();
65
66 Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag);
67
68 Standard_EXPORT static Standard_Boolean RunParallel();
69
70 Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue);
71
72 Standard_EXPORT static Standard_Real FuzzyValue();
73
3510db62 74 Standard_EXPORT static void SetNonDestructive(const Standard_Boolean theFlag);
75
76 Standard_EXPORT static Standard_Boolean NonDestructive();
77
42cf5bc1 78
79
80
81protected:
82
83
84
85
86
87private:
88
89
90
91
92
93};
94
95
96
97
98
99
100
101#endif // _BOPTest_Objects_HeaderFile