b311480e |
1 | // Created on: 1996-01-29 |
2 | // Created by: Jean Yves LEBEY |
3 | // Copyright (c) 1996-1999 Matra Datavision |
4 | // Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | // |
6 | // The content of this file is subject to the Open CASCADE Technology Public |
7 | // License Version 6.5 (the "License"). You may not use the content of this file |
8 | // except in compliance with the License. Please obtain a copy of the License |
9 | // at http://www.opencascade.org and read it completely before using this file. |
10 | // |
11 | // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | // |
14 | // The Original Code and all software distributed under the License is |
15 | // distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | // Initial Developer hereby disclaims all such warranties, including without |
17 | // limitation, any warranties of merchantability, fitness for a particular |
18 | // purpose or non-infringement. Please see the License for the specific terms |
19 | // and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | #ifdef DEB |
23 | |
24 | #include <Standard_Type.hxx> |
25 | |
26 | static Standard_Boolean TopOpeBRepBuild_traceCU = Standard_False; // dump curves |
27 | Standard_EXPORT void TopOpeBRepBuild_SettraceCU(const Standard_Boolean b) { TopOpeBRepBuild_traceCU = b; } |
28 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCU() { return TopOpeBRepBuild_traceCU; } |
29 | |
30 | static Standard_Boolean TopOpeBRepBuild_traceCUV = Standard_False; // dump curves verbose or not |
31 | Standard_EXPORT void TopOpeBRepBuild_SettraceCUV(const Standard_Boolean b) { TopOpeBRepBuild_traceCUV = b; } |
32 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCUV() { return TopOpeBRepBuild_traceCUV; } |
33 | |
34 | static Standard_Boolean TopOpeBRepBuild_traceSPF = Standard_False; // SplitFace |
35 | Standard_EXPORT void TopOpeBRepBuild_SettraceSPF(const Standard_Boolean b) { TopOpeBRepBuild_traceSPF = b; } |
36 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceSPF() { return TopOpeBRepBuild_traceSPF; } |
37 | |
38 | static Standard_Boolean TopOpeBRepBuild_traceSPS = Standard_False; // SplitSolid |
39 | Standard_EXPORT void TopOpeBRepBuild_SettraceSPS(const Standard_Boolean b) { TopOpeBRepBuild_traceSPS = b; } |
40 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS() { return TopOpeBRepBuild_traceSPS; } |
41 | |
42 | static Standard_Boolean TopOpeBRepBuild_traceSHEX = Standard_False; // Check edge |
43 | Standard_EXPORT void TopOpeBRepBuild_SettraceSHEX(const Standard_Boolean b) { TopOpeBRepBuild_traceSHEX = b; } |
44 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceSHEX() { return TopOpeBRepBuild_traceSHEX; } |
45 | |
46 | static Standard_Boolean TopOpeBRepBuild_contextSF2 = Standard_False; |
47 | Standard_EXPORT void TopOpeBRepBuild_SetcontextSF2(const Standard_Boolean b) { TopOpeBRepBuild_contextSF2 = b; } |
48 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextSF2() { return TopOpeBRepBuild_contextSF2; } |
49 | |
50 | static Standard_Boolean TopOpeBRepBuild_contextSPEON = Standard_False; |
51 | Standard_EXPORT void TopOpeBRepBuild_SetcontextSPEON(const Standard_Boolean b) { TopOpeBRepBuild_contextSPEON = b; } |
52 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextSPEON() { return TopOpeBRepBuild_contextSPEON; } |
53 | |
54 | static Standard_Boolean TopOpeBRepBuild_traceSS = Standard_False; |
55 | Standard_EXPORT void TopOpeBRepBuild_SettraceSS(const Standard_Boolean b) { TopOpeBRepBuild_traceSS = b; } |
56 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceSS() { return TopOpeBRepBuild_traceSS; } |
57 | |
58 | static Standard_Boolean TopOpeBRepBuild_contextSSCONNEX = Standard_False; |
59 | Standard_EXPORT void TopOpeBRepBuild_SetcontextSSCONNEX(const Standard_Boolean b) { TopOpeBRepBuild_contextSSCONNEX = b; } |
60 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextSSCONNEX() { return TopOpeBRepBuild_contextSSCONNEX; } |
61 | |
62 | static Standard_Boolean TopOpeBRepBuild_traceAREA = Standard_False; |
63 | Standard_EXPORT void TopOpeBRepBuild_SettraceAREA(const Standard_Boolean b) {TopOpeBRepBuild_traceAREA = b; } |
64 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceAREA() { return TopOpeBRepBuild_traceAREA; } |
65 | |
66 | static Standard_Boolean TopOpeBRepBuild_traceKPB = Standard_False; |
67 | Standard_EXPORT void TopOpeBRepBuild_SettraceKPB(const Standard_Boolean b) |
68 | { TopOpeBRepBuild_traceKPB = b; } |
69 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB() |
70 | { return TopOpeBRepBuild_traceKPB; } |
71 | |
72 | static Standard_Boolean TopOpeBRepBuild_traceCHK = Standard_False; |
73 | Standard_EXPORT void TopOpeBRepBuild_SettraceCHK(const Standard_Boolean b) |
74 | { TopOpeBRepBuild_traceCHK = b; } |
75 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK() |
76 | { return TopOpeBRepBuild_traceCHK; } |
77 | |
78 | static Standard_Boolean TopOpeBRepBuild_traceCHKOK = Standard_False; |
79 | Standard_EXPORT void TopOpeBRepBuild_SettraceCHKOK(const Standard_Boolean b) |
80 | { TopOpeBRepBuild_traceCHKOK = b; } |
81 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCHKOK() |
82 | { return TopOpeBRepBuild_traceCHKOK; } |
83 | |
84 | static Standard_Boolean TopOpeBRepBuild_traceCHKNOK = Standard_False; |
85 | Standard_EXPORT void TopOpeBRepBuild_SettraceCHKNOK(const Standard_Boolean b) |
86 | { TopOpeBRepBuild_traceCHKNOK = b; } |
87 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCHKNOK() |
88 | { return TopOpeBRepBuild_traceCHKNOK; } |
89 | |
90 | static Standard_Boolean TopOpeBRepBuild_tracePURGE = Standard_False; |
91 | Standard_EXPORT void TopOpeBRepBuild_SettracePURGE(const Standard_Boolean b) |
92 | { TopOpeBRepBuild_tracePURGE = b; } |
93 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettracePURGE() |
94 | { return TopOpeBRepBuild_tracePURGE; } |
95 | |
96 | static Standard_Boolean TopOpeBRepBuild_traceSAVFREGU = Standard_False; |
97 | Standard_EXPORT void TopOpeBRepBuild_SettraceSAVFREGU(const Standard_Boolean b) { TopOpeBRepBuild_traceSAVFREGU = b; } |
98 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceSAVFREGU() { return TopOpeBRepBuild_traceSAVFREGU; } |
99 | static Standard_Boolean TopOpeBRepBuild_traceSAVSREGU = Standard_False; |
100 | Standard_EXPORT void TopOpeBRepBuild_SettraceSAVSREGU(const Standard_Boolean b) { TopOpeBRepBuild_traceSAVSREGU = b; } |
101 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceSAVSREGU() { return TopOpeBRepBuild_traceSAVSREGU; } |
102 | |
103 | static Standard_Boolean TopOpeBRepBuild_traceFUFA = Standard_False; |
104 | Standard_EXPORT void TopOpeBRepBuild_SettraceFUFA(const Standard_Boolean b) { TopOpeBRepBuild_traceFUFA = b; } |
105 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceFUFA() { return TopOpeBRepBuild_traceFUFA; } |
106 | |
107 | static Standard_Boolean TopOpeBRepBuild_contextNOPURGE = Standard_False; |
108 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOPURGE(const Standard_Boolean b) { TopOpeBRepBuild_contextNOPURGE = b; } |
109 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOPURGE() { |
110 | Standard_Boolean b = TopOpeBRepBuild_contextNOPURGE; |
111 | if (b) cout<<"context (TopOpeBRepBuild) NOPURGE actif"<<endl; |
112 | return b; |
113 | } |
114 | |
115 | static Standard_Boolean TopOpeBRepBuild_contextNOREGUFA = Standard_False; |
116 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOREGUFA(const Standard_Boolean b) { TopOpeBRepBuild_contextNOREGUFA = b; } |
117 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUFA() { |
118 | Standard_Boolean b = TopOpeBRepBuild_contextNOREGUFA; |
119 | if (b) cout<<"context (TopOpeBRepBuild) NOREGUFA actif"<<endl; |
120 | return b; |
121 | } |
122 | |
123 | static Standard_Boolean TopOpeBRepBuild_contextNOREGUSO = Standard_False; |
124 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOREGUSO(const Standard_Boolean b) { TopOpeBRepBuild_contextNOREGUSO = b; } |
125 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUSO() { |
126 | Standard_Boolean b = TopOpeBRepBuild_contextNOREGUSO; |
127 | if (b) cout<<"context (TopOpeBRepBuild) NOREGUSO actif"<<endl; |
128 | return b; |
129 | } |
130 | |
131 | static Standard_Boolean TopOpeBRepBuild_contextREGUXPU = Standard_False; |
132 | Standard_EXPORT void TopOpeBRepBuild_SetcontextREGUXPU(const Standard_Boolean b) { TopOpeBRepBuild_contextREGUXPU = b; } |
133 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU() { return TopOpeBRepBuild_contextREGUXPU; } |
134 | |
135 | static Standard_Boolean TopOpeBRepBuild_contextNOCORRISO = Standard_False; |
136 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOCORRISO(const Standard_Boolean b) { TopOpeBRepBuild_contextNOCORRISO = b; } |
137 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOCORRISO() { return TopOpeBRepBuild_contextNOCORRISO; } |
138 | |
139 | static Standard_Boolean TopOpeBRepBuild_contextEINTERNAL = Standard_False; |
140 | Standard_EXPORT void TopOpeBRepBuild_SetcontextEINTERNAL(const Standard_Boolean b) { TopOpeBRepBuild_contextEINTERNAL = b; } |
141 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextEINTERNAL() { |
142 | Standard_Boolean b = TopOpeBRepBuild_contextEINTERNAL; |
143 | if (b) cout<<"context (TopOpeBRepBuild) EINTERNAL actif"<<endl; |
144 | return b; |
145 | } |
146 | |
147 | static Standard_Boolean TopOpeBRepBuild_contextEEXTERNAL = Standard_False; |
148 | Standard_EXPORT void TopOpeBRepBuild_SetcontextEEXTERNAL(const Standard_Boolean b) { TopOpeBRepBuild_contextEEXTERNAL = b; } |
149 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextEEXTERNAL() { |
150 | Standard_Boolean b = TopOpeBRepBuild_contextEEXTERNAL; |
151 | if (b) cout<<"context (TopOpeBRepBuild) EEXTERNAL actif"<<endl; |
152 | return b; |
153 | } |
154 | |
155 | static Standard_Boolean TopOpeBRepBuild_contextNOSG = Standard_False; |
156 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOSG(const Standard_Boolean b) { TopOpeBRepBuild_contextNOSG = b; } |
157 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOSG() { |
158 | Standard_Boolean b = TopOpeBRepBuild_contextNOSG; |
159 | if (b) cout<<"context (TopOpeBRepBuild) NOSG actif"<<endl; |
160 | return b; |
161 | } |
162 | |
163 | static Standard_Boolean TopOpeBRepBuild_contextNOFUFA = Standard_False; |
164 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOFUFA(const Standard_Boolean b) { TopOpeBRepBuild_contextNOFUFA = b; } |
165 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOFUFA() { |
166 | Standard_Boolean b = TopOpeBRepBuild_contextNOFUFA; |
167 | if (b) cout<<"context (TopOpeBRepBuild) NOFUFA actif"<<endl; |
168 | return b; |
169 | } |
170 | |
171 | static Standard_Boolean TopOpeBRepBuild_contextNOFE = Standard_False; |
172 | Standard_EXPORT void TopOpeBRepBuild_SetcontextNOFE(const Standard_Boolean b) { TopOpeBRepBuild_contextNOFE = b; } |
173 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOFE() { |
174 | Standard_Boolean b = TopOpeBRepBuild_contextNOFE; |
175 | if (b) cout<<"context (TopOpeBRepBuild) NOFE actif"<<endl; |
176 | return b; |
177 | } |
178 | |
179 | static Standard_Boolean TopOpeBRepBuild_traceFE = Standard_False; // trace FuseEdges |
180 | Standard_EXPORT void TopOpeBRepBuild_SettraceFE(const Standard_Boolean b) { TopOpeBRepBuild_traceFE = b; } |
181 | Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceFE() { return TopOpeBRepBuild_traceFE; } |
182 | |
183 | // #ifdef DEB |
184 | #endif |