mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027525: Coding - eliminate warnings on Windows for OCCT with static type of libraries
Useless *.cxx files were removed to eliminate linker warning LNK4221. Package TopOpeBRepDS was cleaned up from old debugging routines. Merged OSD_signal_WNT.cxx into OSD_signal.cxx Class Standard_ErrorHandlerCallback was moved into the Standard_ErrorHandler class as nested class Callback Eliminated warning about unused variable.
This commit is contained in:
@@ -489,16 +489,8 @@ void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*
|
||||
FilletCirc.SetRadius( Center.Distance( FirstPoint ) ); //***
|
||||
gp_Vec vec1( dir1 );
|
||||
vec1 *= FilletCirc.Radius();
|
||||
#ifdef OCCT_DEBUG
|
||||
gp_Pnt p1 =
|
||||
#endif
|
||||
Center.Translated( vec1 );
|
||||
gp_Vec vec2( dir2 );
|
||||
vec2 *= FilletCirc.Radius();
|
||||
#ifdef OCCT_DEBUG
|
||||
gp_Pnt p2 =
|
||||
#endif
|
||||
Center.Translated( vec2 );
|
||||
gp_Vec PosVec;
|
||||
if(! Center.IsEqual( Position, Precision::Confusion() ))
|
||||
PosVec.SetXYZ( gp_Vec(Center, Position).XYZ() );
|
||||
@@ -542,9 +534,6 @@ void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*
|
||||
}
|
||||
FirstParCirc = ElCLib::Parameter( FilletCirc, FirstPoint );
|
||||
LastParCirc = ElCLib::Parameter( FilletCirc, SecondPoint );
|
||||
|
||||
#ifdef OCCT_DEBUG
|
||||
#endif
|
||||
}
|
||||
else //Angle equal 0 or PI or R = 0
|
||||
{
|
||||
@@ -552,7 +541,6 @@ void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*
|
||||
EndOfArrow = BasePnt;
|
||||
}
|
||||
|
||||
|
||||
if(drawRevers)
|
||||
{
|
||||
gp_Vec Vd(DrawPosition, EndOfArrow);
|
||||
|
Reference in New Issue
Block a user