mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0026586: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides previous local declaration
Eliminated warnings about "declaration of some local variable hides previous local declaration"
This commit is contained in:
@@ -1464,9 +1464,9 @@ void Contap_Contour::Perform
|
||||
//IFV begin
|
||||
if(solrst.NbSegments() <= 0) {
|
||||
if(mySFunc.FunctionType() == Contap_ContourStd) {
|
||||
const Handle(Adaptor3d_HSurface)& Surf = mySFunc.Surface();
|
||||
if(Adaptor3d_HSurfaceTool::GetType(Surf) == GeomAbs_Torus) {
|
||||
gp_Torus aTor = Adaptor3d_HSurfaceTool::Torus(Surf);
|
||||
const Handle(Adaptor3d_HSurface)& SurfToCheck = mySFunc.Surface();
|
||||
if(Adaptor3d_HSurfaceTool::GetType(SurfToCheck) == GeomAbs_Torus) {
|
||||
gp_Torus aTor = Adaptor3d_HSurfaceTool::Torus(SurfToCheck);
|
||||
gp_Dir aTorDir = aTor.Axis().Direction();
|
||||
gp_Dir aProjDir = mySFunc.Direction();
|
||||
|
||||
|
Reference in New Issue
Block a user