mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 19:57:55 +08:00
Coding - Remove unused code and comments across various files (#968)
- Removed conditional compilation blocks (`#if 0`) that contained unused code in: - BRepTools_Modifier.cxx - AdvApp2Var_Data_f2c.hxx - AdvApp2Var_SysBase_baseinit.cxx - Extrema_FuncExtCS.cxx - Extrema_FuncExtSS.cxx - GeomProjLib.cxx - IntAna_IntLinTorus.cxx - IntAna2d_AnaIntersection_8.cxx - IntAna2d_Outils.cxx - ProjLib_CompProjectedCurve.cxx - ProjLib_ComputeApprox.cxx - ProjLib_ComputeApproxOnPolarSurface.cxx - Cleaned up header files by ensuring proper end-of-file newlines in: - TKBRep_pch.hxx - GeomLib_Tool.hxx - MeshVS_SymmetricPairHasher.hxx - OpenGl_ShaderProgramDumpLevel.hxx - Graphic3d_ToneMappingMethod.hxx
This commit is contained in:
@@ -445,24 +445,3 @@ void InternalVerifyPosition(IntRes2d_Transition& T1,
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
#if 0
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#define Debug(q) std::cout << "IntRes2d_Intersectionq =" << q << std::endl;
|
||||
|
||||
char *DebugPos(const IntRes2d_Position P);
|
||||
|
||||
Debug(FirstParam1);
|
||||
Debug(LastParam1);
|
||||
Debug(FirstParam2);
|
||||
Debug(LastParam2);
|
||||
Debug(PParamOnFirst);
|
||||
Debug(PParamOnSecond);
|
||||
std::cout<<" ##### T1 <> Middle ###### "<<DebugPos(T1.PositionOnCurve())<<std::endl;
|
||||
char *DebugPos(const IntRes2d_Position P) {
|
||||
if(P==IntRes2d_Middle) return(" Middle ");
|
||||
if(P==IntRes2d_Head) return(" Head ");
|
||||
if(P==IntRes2d_End) return(" End ");
|
||||
}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user