Loading files
4f95ecaa3This file is pinned to the selected release. Download the original to open it in your design tool.
// Created on: 1998-09-21
// Created by: LECLERE Florence
// Copyright (c) 1998-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifdef OCCT_DEBUG
#include <Standard_Type.hxx>
static bool BRepFeat_traceFEAT = true;
Standard_EXPORT void BRepFeat_SettraceFEAT(const bool b)
{
BRepFeat_traceFEAT = b;
}
Standard_EXPORT bool BRepFeat_GettraceFEAT()
{
return BRepFeat_traceFEAT;
}
static bool BRepFeat_traceFEATFORM = false;
Standard_EXPORT void BRepFeat_SettraceFEATFORM(const bool b)
{
BRepFeat_traceFEATFORM = b;
}
Standard_EXPORT bool BRepFeat_GettraceFEATFORM()
{
return BRepFeat_traceFEATFORM;
}
static bool BRepFeat_traceFEATPRISM = false;
Standard_EXPORT void BRepFeat_SettraceFEATPRISM(const bool b)
{
BRepFeat_traceFEATPRISM = b;
}
Standard_EXPORT bool BRepFeat_GettraceFEATPRISM()
{
return BRepFeat_traceFEATPRISM;
}
static bool BRepFeat_traceFEATRIB = false;
Standard_EXPORT void BRepFeat_SettraceFEATRIB(const bool b)
{
BRepFeat_traceFEATRIB = b;
}
Standard_EXPORT bool BRepFeat_GettraceFEATRIB()
{
return BRepFeat_traceFEATRIB;
}
static bool BRepFeat_traceFEATDRAFT = false;
Standard_EXPORT void BRepFeat_SettraceFEATDRAFT(const bool b)
{
BRepFeat_traceFEATDRAFT = b;
}
Standard_EXPORT bool BRepFeat_GettraceFEATDRAFT()
{
return BRepFeat_traceFEATDRAFT;
}
static bool BRepFeat_contextCHRONO = false;
Standard_EXPORT void BRepFeat_SetcontextCHRONO(const bool b)
{
BRepFeat_contextCHRONO = b;
}
Standard_EXPORT bool BRepFeat_GetcontextCHRONO()
{
bool b = BRepFeat_contextCHRONO;
if (b)
std::cout << "context (BRepFeat) CHRONO actif" << std::endl;
return b;
}
#endif