mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-03 15:20:33 +05:00
Porting to new OCCT version
This commit is contained in:
parent
3b33c84634
commit
efa7eecc97
@ -277,18 +277,18 @@ TopoDS_Shape BlockFix_CheckTool::PossibleBlock(const Standard_Integer num) const
|
||||
void BlockFix_CheckTool::DumpCheckResult(Standard_OStream& S) const
|
||||
{
|
||||
if(!myHasCheck)
|
||||
S<<"Check not performed!"<<endl;
|
||||
S<<"Check not performed!"<<std::endl;
|
||||
else {
|
||||
S<<"dump results of check:"<<endl;
|
||||
S<<" total number of solids = "<<myNbSolids<<endl;
|
||||
S<<" including: number of good blocks = "<<myNbBlocks<<endl;
|
||||
S<<" number of possible blocks = "<<NbPossibleBlocks()<<endl;
|
||||
S<<" including: need remove degenerative = "<<myNbDegen<<endl;
|
||||
S<<" need unionfaces = "<<myNbUF<<endl;
|
||||
S<<" need unionedges = "<<myNbUE<<endl;
|
||||
S<<" need both unionfaces and unionedges = "<<myNbUFUE<<endl;
|
||||
S<<"dump results of check:"<<std::endl;
|
||||
S<<" total number of solids = "<<myNbSolids<<std::endl;
|
||||
S<<" including: number of good blocks = "<<myNbBlocks<<std::endl;
|
||||
S<<" number of possible blocks = "<<NbPossibleBlocks()<<std::endl;
|
||||
S<<" including: need remove degenerative = "<<myNbDegen<<std::endl;
|
||||
S<<" need unionfaces = "<<myNbUF<<std::endl;
|
||||
S<<" need unionedges = "<<myNbUE<<std::endl;
|
||||
S<<" need both unionfaces and unionedges = "<<myNbUFUE<<std::endl;
|
||||
Standard_Integer nbtmp = myNbSolids - myNbBlocks - NbPossibleBlocks();
|
||||
S<<" number of impossible blocks = "<<nbtmp<<endl;
|
||||
S<<" number of impossible blocks = "<<nbtmp<<std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,6 +82,7 @@
|
||||
|
||||
#ifdef _DEBUG_
|
||||
static int MYDEBUG = 0;
|
||||
using namespace std;
|
||||
#else
|
||||
static int MYDEBUG = 0;
|
||||
#endif
|
||||
|
@ -288,22 +288,22 @@ GEOM::CreationInformationSeq* GEOM_BaseObject_i::GetCreationInformation()
|
||||
#ifdef _DEBUG_
|
||||
if ( operationName.empty() )
|
||||
{
|
||||
cout << endl << endl << endl << "Warning: " << endl << "Dear developer!!!" << endl
|
||||
std::cout << std::endl << std::endl << std::endl << "Warning: " << std::endl << "Dear developer!!!" << std::endl
|
||||
<< " Consider implementing "
|
||||
<< typeid(*(driver.operator->())).name() << "::GetCreationInformation() " << endl
|
||||
<< " for the case of operation which has created '" << GetName() << "' object" << endl
|
||||
<< "PLEEEEEEEASE" << endl
|
||||
<< "\tPLEEEEEEEASE" << endl
|
||||
<< "\t\tPLEEEEEEEASE" << endl
|
||||
<< "\t\t\tPLEEEEEEEASE" << endl
|
||||
<< "\t\t\t\tPLEEEEEEEASE" << endl;
|
||||
<< typeid(*(driver.operator->())).name() << "::GetCreationInformation() " << std::endl
|
||||
<< " for the case of operation which has created '" << GetName() << "' object" << std::endl
|
||||
<< "PLEEEEEEEASE" << std::endl
|
||||
<< "\tPLEEEEEEEASE" << std::endl
|
||||
<< "\t\tPLEEEEEEEASE" << std::endl
|
||||
<< "\t\t\tPLEEEEEEEASE" << std::endl
|
||||
<< "\t\t\t\tPLEEEEEEEASE" << std::endl;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
#ifdef _DEBUG_
|
||||
cout << "Ecxeption in GEOM_BaseObject_i::GetCreationInformation()" << endl;
|
||||
std::cout << "Ecxeption in GEOM_BaseObject_i::GetCreationInformation()" << std::endl;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user