mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4
Got rid of warning C4100: 'identifier' : unreferenced formal parameter Got rid of compile errors
This commit is contained in:
@@ -129,7 +129,7 @@ void BlendFunc_CSCircular::Set(const Standard_Real Param)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BlendFunc_CSCircular::Set(const Standard_Real First, const Standard_Real Last)
|
||||
void BlendFunc_CSCircular::Set(const Standard_Real, const Standard_Real)
|
||||
{
|
||||
Standard_NotImplemented::Raise("BlendFunc_CSCircular::Set");
|
||||
}
|
||||
@@ -596,7 +596,7 @@ Standard_Boolean BlendFunc_CSCircular::Section(const Blend_Point& P,
|
||||
Standard_Boolean BlendFunc_CSCircular::GetSection(const Standard_Real Param,
|
||||
const Standard_Real U,
|
||||
const Standard_Real V,
|
||||
const Standard_Real W,
|
||||
const Standard_Real /*W*/,
|
||||
TColgp_Array1OfPnt& tabP,
|
||||
TColgp_Array1OfVec& tabV)
|
||||
{
|
||||
|
@@ -102,7 +102,7 @@ void BlendFunc_CSConstRad::Set(const Standard_Real Param)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BlendFunc_CSConstRad::Set(const Standard_Real First, const Standard_Real Last)
|
||||
void BlendFunc_CSConstRad::Set(const Standard_Real, const Standard_Real)
|
||||
{
|
||||
Standard_NotImplemented::Raise("BlendFunc_CSConstRad::Set");
|
||||
}
|
||||
|
@@ -518,7 +518,7 @@ void BlendFunc_ChAsym::Tangent(const Standard_Real U1,
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BlendFunc_ChAsym::Section(const Standard_Real Param,
|
||||
void BlendFunc_ChAsym::Section(const Standard_Real /*Param*/,
|
||||
const Standard_Real U1,
|
||||
const Standard_Real V1,
|
||||
const Standard_Real U2,
|
||||
@@ -610,10 +610,10 @@ void BlendFunc_ChAsym::GetShape (Standard_Integer& NbPoles,
|
||||
//purpose : Determine les Tolerances a utiliser dans les approximations.
|
||||
//=======================================================================
|
||||
void BlendFunc_ChAsym::GetTolerance(const Standard_Real BoundTol,
|
||||
const Standard_Real SurfTol,
|
||||
const Standard_Real AngleTol,
|
||||
const Standard_Real,
|
||||
const Standard_Real,
|
||||
math_Vector& Tol3d,
|
||||
math_Vector& Tol1d) const
|
||||
math_Vector&) const
|
||||
{
|
||||
Tol3d.Init(BoundTol);
|
||||
}
|
||||
@@ -799,16 +799,16 @@ Standard_Boolean BlendFunc_ChAsym::Section
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean BlendFunc_ChAsym::Section
|
||||
(const Blend_Point& P,
|
||||
TColgp_Array1OfPnt& Poles,
|
||||
TColgp_Array1OfVec& DPoles,
|
||||
TColgp_Array1OfVec& D2Poles,
|
||||
TColgp_Array1OfPnt2d& Poles2d,
|
||||
TColgp_Array1OfVec2d& DPoles2d,
|
||||
TColgp_Array1OfVec2d& D2Poles2d,
|
||||
TColStd_Array1OfReal& Weights,
|
||||
TColStd_Array1OfReal& DWeights,
|
||||
TColStd_Array1OfReal& D2Weights)
|
||||
(const Blend_Point& /*P*/,
|
||||
TColgp_Array1OfPnt& /*Poles*/,
|
||||
TColgp_Array1OfVec& /*DPoles*/,
|
||||
TColgp_Array1OfVec& /*D2Poles*/,
|
||||
TColgp_Array1OfPnt2d& /*Poles2d*/,
|
||||
TColgp_Array1OfVec2d& /*DPoles2d*/,
|
||||
TColgp_Array1OfVec2d& /*D2Poles2d*/,
|
||||
TColStd_Array1OfReal& /*Weights*/,
|
||||
TColStd_Array1OfReal& /*DWeights*/,
|
||||
TColStd_Array1OfReal& /*D2Weights*/)
|
||||
{
|
||||
return Standard_False;
|
||||
}
|
||||
|
@@ -87,10 +87,8 @@ void BlendFunc_Chamfer::Set(const Standard_Real Param)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BlendFunc_Chamfer::Set(const Standard_Real First, const Standard_Real Last)
|
||||
void BlendFunc_Chamfer::Set(const Standard_Real, const Standard_Real)
|
||||
{
|
||||
// corde1.SetParam(First, Last);
|
||||
// corde2.SetParam(First, Last);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
@@ -352,7 +350,7 @@ void BlendFunc_Chamfer::Tangent(const Standard_Real U1,
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BlendFunc_Chamfer::Section(const Standard_Real Param,
|
||||
void BlendFunc_Chamfer::Section(const Standard_Real /*Param*/,
|
||||
const Standard_Real U1,
|
||||
const Standard_Real V1,
|
||||
const Standard_Real U2,
|
||||
@@ -444,10 +442,10 @@ void BlendFunc_Chamfer::GetShape (Standard_Integer& NbPoles,
|
||||
//purpose : Determine les Tolerance a utiliser dans les approximations.
|
||||
//=======================================================================
|
||||
void BlendFunc_Chamfer::GetTolerance(const Standard_Real BoundTol,
|
||||
const Standard_Real SurfTol,
|
||||
const Standard_Real AngleTol,
|
||||
const Standard_Real,
|
||||
const Standard_Real,
|
||||
math_Vector& Tol3d,
|
||||
math_Vector& Tol1D) const
|
||||
math_Vector&) const
|
||||
{
|
||||
Tol3d.Init(BoundTol);
|
||||
}
|
||||
@@ -481,16 +479,16 @@ void BlendFunc_Chamfer::Mults(TColStd_Array1OfInteger& TMults)
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean BlendFunc_Chamfer::Section
|
||||
(const Blend_Point& P,
|
||||
TColgp_Array1OfPnt& Poles,
|
||||
TColgp_Array1OfVec& DPoles,
|
||||
TColgp_Array1OfVec& D2Poles,
|
||||
TColgp_Array1OfPnt2d& Poles2d,
|
||||
TColgp_Array1OfVec2d& DPoles2d,
|
||||
TColgp_Array1OfVec2d& D2Poles2d,
|
||||
TColStd_Array1OfReal& Weights,
|
||||
TColStd_Array1OfReal& DWeights,
|
||||
TColStd_Array1OfReal& D2Weights)
|
||||
(const Blend_Point& /*P*/,
|
||||
TColgp_Array1OfPnt& /*Poles*/,
|
||||
TColgp_Array1OfVec& /*DPoles*/,
|
||||
TColgp_Array1OfVec& /*D2Poles*/,
|
||||
TColgp_Array1OfPnt2d& /*Poles2d*/,
|
||||
TColgp_Array1OfVec2d& /*DPoles2d*/,
|
||||
TColgp_Array1OfVec2d& /*D2Poles2d*/,
|
||||
TColStd_Array1OfReal& /*Weights*/,
|
||||
TColStd_Array1OfReal& /*DWeights*/,
|
||||
TColStd_Array1OfReal& /*D2Weights*/)
|
||||
{
|
||||
return Standard_False;
|
||||
}
|
||||
|
@@ -53,8 +53,8 @@ void BlendFunc_Ruled::Set(const Standard_Real Param)
|
||||
istangent = Standard_True;
|
||||
}
|
||||
|
||||
void BlendFunc_Ruled::Set(const Standard_Real First,
|
||||
const Standard_Real Last)
|
||||
void BlendFunc_Ruled::Set(const Standard_Real,
|
||||
const Standard_Real)
|
||||
{
|
||||
Standard_NotImplemented::Raise("BlendFunc_Ruled::Set");
|
||||
}
|
||||
@@ -601,10 +601,10 @@ void BlendFunc_Ruled::GetShape(Standard_Integer& NbPoles,
|
||||
//purpose : Determine les Tolerance a utiliser dans les approximations.
|
||||
//=======================================================================
|
||||
void BlendFunc_Ruled::GetTolerance(const Standard_Real BoundTol,
|
||||
const Standard_Real SurfTol,
|
||||
const Standard_Real AngleTol,
|
||||
const Standard_Real,
|
||||
const Standard_Real,
|
||||
math_Vector& Tol3d,
|
||||
math_Vector& Tol1D) const
|
||||
math_Vector&) const
|
||||
{
|
||||
Tol3d.Init(BoundTol);
|
||||
}
|
||||
@@ -620,16 +620,16 @@ void BlendFunc_Ruled::Mults(TColStd_Array1OfInteger& TMults)
|
||||
TMults(TMults.Lower()) = TMults(TMults.Upper()) = 2;
|
||||
}
|
||||
|
||||
Standard_Boolean BlendFunc_Ruled::Section(const Blend_Point& P,
|
||||
TColgp_Array1OfPnt& Poles,
|
||||
TColgp_Array1OfVec& DPoles,
|
||||
TColgp_Array1OfVec& D2Poles,
|
||||
TColgp_Array1OfPnt2d& Poles2d,
|
||||
TColgp_Array1OfVec2d& DPoles2d,
|
||||
TColgp_Array1OfVec2d& D2Poles2d,
|
||||
TColStd_Array1OfReal& Weights,
|
||||
TColStd_Array1OfReal& DWeights,
|
||||
TColStd_Array1OfReal& D2Weights)
|
||||
Standard_Boolean BlendFunc_Ruled::Section(const Blend_Point& /*P*/,
|
||||
TColgp_Array1OfPnt& /*Poles*/,
|
||||
TColgp_Array1OfVec& /*DPoles*/,
|
||||
TColgp_Array1OfVec& /*D2Poles*/,
|
||||
TColgp_Array1OfPnt2d& /*Poles2d*/,
|
||||
TColgp_Array1OfVec2d& /*DPoles2d*/,
|
||||
TColgp_Array1OfVec2d& /*D2Poles2d*/,
|
||||
TColStd_Array1OfReal& /*Weights*/,
|
||||
TColStd_Array1OfReal& /*DWeights*/,
|
||||
TColStd_Array1OfReal& /*D2Weights*/)
|
||||
{
|
||||
return Standard_False;
|
||||
}
|
||||
|
Reference in New Issue
Block a user