1 // Created on: 1998-09-21
2 // Created by: LECLERE Florence
3 // Copyright (c) 1998-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
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.
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.
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.
25 #include <Standard_Type.hxx>
27 static Standard_Boolean BRepFeat_traceFEAT = Standard_True;
28 Standard_EXPORT void BRepFeat_SettraceFEAT(const Standard_Boolean b)
29 { BRepFeat_traceFEAT = b; }
30 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEAT()
31 { return BRepFeat_traceFEAT; }
33 static Standard_Boolean BRepFeat_traceFEATFORM = Standard_False;
34 Standard_EXPORT void BRepFeat_SettraceFEATFORM(const Standard_Boolean b)
35 { BRepFeat_traceFEATFORM = b; }
36 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATFORM()
37 { return BRepFeat_traceFEATFORM; }
39 static Standard_Boolean BRepFeat_traceFEATPRISM = Standard_False;
40 Standard_EXPORT void BRepFeat_SettraceFEATPRISM(const Standard_Boolean b)
41 { BRepFeat_traceFEATPRISM = b; }
42 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATPRISM()
43 { return BRepFeat_traceFEATPRISM; }
45 static Standard_Boolean BRepFeat_traceFEATRIB = Standard_False;
46 Standard_EXPORT void BRepFeat_SettraceFEATRIB(const Standard_Boolean b)
47 { BRepFeat_traceFEATRIB = b; }
48 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATRIB()
49 { return BRepFeat_traceFEATRIB; }
51 static Standard_Boolean BRepFeat_traceFEATDRAFT = Standard_False;
52 Standard_EXPORT void BRepFeat_SettraceFEATDRAFT(const Standard_Boolean b)
53 { BRepFeat_traceFEATDRAFT = b; }
54 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATDRAFT()
55 { return BRepFeat_traceFEATDRAFT; }
57 static Standard_Boolean BRepFeat_contextCHRONO = Standard_False;
58 Standard_EXPORT void BRepFeat_SetcontextCHRONO(const Standard_Boolean b)
59 { BRepFeat_contextCHRONO = b; }
60 Standard_EXPORT Standard_Boolean BRepFeat_GetcontextCHRONO() {
61 Standard_Boolean b = BRepFeat_contextCHRONO;
62 if (b) cout<<"context (BRepFeat) CHRONO actif"<<endl;