1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +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:
omy 2013-07-18 13:09:32 +04:00
parent 92a4955951
commit 35e08fe886
351 changed files with 1092 additions and 991 deletions

View File

@ -213,8 +213,8 @@ void AIS_EqualDistanceRelation::Compute( const Handle( PrsMgr_PresentationManage
//purpose : to avoid warning at compilation (SUN)
//=======================================================================
void AIS_EqualDistanceRelation::Compute( const Handle( Prs3d_Projector )& aProjector,
const Handle( Prs3d_Presentation )& aPresentation)
void AIS_EqualDistanceRelation::Compute( const Handle( Prs3d_Projector )& /*aProjector*/,
const Handle( Prs3d_Presentation )& /*aPresentation*/)
{
// Standard_NotImplemented::Raise("AIS_EqualDistanceRelation::Compute( const Handle( Prs3d_Projector )&,
// const Handle( Prs3d_Presentation )& )");

View File

@ -34,7 +34,7 @@ mySubInt(Standard_False)
AIS_GlobalStatus::AIS_GlobalStatus(const AIS_DisplayStatus DS,
const Standard_Integer DMode,
const Standard_Integer SMode,
const Standard_Boolean ishilighted,
const Standard_Boolean /*ishilighted*/,
const Quantity_NameOfColor TheHiCol,
const Standard_Integer Layer):
myStatus(DS),

View File

@ -103,7 +103,7 @@ AIS_LocalContext::AIS_LocalContext(const Handle(AIS_InteractiveContext)& aCtx,
const Standard_Boolean LoadDisplayed,
const Standard_Boolean AcceptStandardModes,
const Standard_Boolean AcceptEraseOfTemp,
const Standard_Boolean BothViewers):
const Standard_Boolean /*BothViewers*/):
myCTX(aCtx),
myLoadDisplayed(LoadDisplayed),
myAcceptStdMode(AcceptStandardModes),

View File

@ -47,7 +47,7 @@ AIS_Triangulation::AIS_Triangulation(const Handle(Poly_Triangulation)& Triangula
//function : Compute
//purpose :
//=======================================================================
void AIS_Triangulation::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
void AIS_Triangulation::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/,
const Handle(Prs3d_Presentation)& aPresentation,
const Standard_Integer aMode)
{
@ -134,7 +134,7 @@ void AIS_Triangulation::Compute(const Handle(PrsMgr_PresentationManager3d)& aPre
//function : ComputeSelection
//purpose :
//=======================================================================
void AIS_Triangulation::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
void AIS_Triangulation::ComputeSelection(const Handle(SelectMgr_Selection)& /*aSelection*/,
const Standard_Integer /*aMode*/)
{

View File

@ -96,11 +96,11 @@ static Standard_Boolean IsTimeStamp
{ return TCollection_AsciiString ("Step Header"); }
Standard_Boolean APIHeaderSection_EditHeader::Recognize
(const Handle(IFSelect_EditForm)& form) const
(const Handle(IFSelect_EditForm)& /*form*/) const
{ return Standard_True; } // ??
Handle(TCollection_HAsciiString) APIHeaderSection_EditHeader::StringValue
(const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const
(const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const
{
// Default Values
return TypedValue(num)->HStringValue();
@ -108,7 +108,7 @@ static Standard_Boolean IsTimeStamp
Standard_Boolean APIHeaderSection_EditHeader::Load
(const Handle(IFSelect_EditForm)& form,
const Handle(Standard_Transient)& ent,
const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& model) const
{
Handle(StepData_StepModel) modl =
@ -135,7 +135,7 @@ static Standard_Boolean IsTimeStamp
Standard_Boolean APIHeaderSection_EditHeader::Apply
(const Handle(IFSelect_EditForm)& form,
const Handle(Standard_Transient)& ent,
const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& model) const
{
Handle(StepData_StepModel) modl =

View File

@ -283,9 +283,6 @@ Handle(Adaptor3d_HSurface) Adaptor3d_SurfaceOfRevolution::UTrim
Last
#endif
,const Standard_Real
#ifndef No_Exception
Tol
#endif
) const
{
#ifndef No_Exception

View File

@ -1286,8 +1286,8 @@ static void ToleranceFF(const TopoDS_Face& aF1,
//function : ProcessUnUsedVertices
//purpose :
//=======================================================================
void BOPAlgo_PaveFiller::PutEFPavesOnCurve(const Standard_Integer nF1,
const Standard_Integer nF2,
void BOPAlgo_PaveFiller::PutEFPavesOnCurve(const Standard_Integer /*nF1*/,
const Standard_Integer /*nF2*/,
BOPDS_Curve& aNC,
const BOPCol_MapOfInteger& aMVEF)
{

View File

@ -1777,7 +1777,7 @@ Standard_Real fsqrt(Standard_Real val)
Standard_Boolean FindPointInFace(const TopoDS_Edge& aE,
const TopoDS_Face& aF,
const gp_Pnt& aP,
const Standard_Real aT,
const Standard_Real /*aT*/,
gp_Dir& aDB,
gp_Pnt& aPOut,
Handle(BOPInt_Context)& theContext,

View File

@ -23,22 +23,26 @@
#include TheSurface_hxx
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU(const TheSurface& S) {
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU (const TheSurface&)
{
return(10);
}
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV(const TheSurface& S) {
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV (const TheSurface&)
{
return(10);
}
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU(const TheSurface& S,
const Standard_Real u1,
const Standard_Real u2) {
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU (const TheSurface&,
const Standard_Real,
const Standard_Real)
{
return(10);
}
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV(const TheSurface& S,
const Standard_Real v1,
const Standard_Real v2) {
Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV (const TheSurface&,
const Standard_Real,
const Standard_Real)
{
return(10);
}

View File

@ -88,18 +88,20 @@ BRepBlend_AppFuncRoot::BRepBlend_AppFuncRoot(Handle(BRepBlend_Line)& Line,
// Standard_False is raised.
//================================================================================
Standard_Boolean BRepBlend_AppFuncRoot::D0(const Standard_Real Param,
const Standard_Real First,
const Standard_Real Last,TColgp_Array1OfPnt& Poles,
TColgp_Array1OfPnt2d& Poles2d,TColStd_Array1OfReal& Weigths)
const Standard_Real /*First*/,
const Standard_Real /*Last*/,
TColgp_Array1OfPnt& Poles,
TColgp_Array1OfPnt2d& Poles2d,
TColStd_Array1OfReal& Weigths)
{
Standard_Boolean Ok=Standard_True;
Blend_AppFunction* Func = (Blend_AppFunction*)myFunc;
Ok = SearchPoint( *Func, Param, myPnt);
if (Ok) (*Func).Section(myPnt,
Poles,
Poles2d,
Weigths);
Poles,
Poles2d,
Weigths);
return Ok;
}
@ -109,8 +111,8 @@ Standard_Boolean BRepBlend_AppFuncRoot::D0(const Standard_Real Param,
// for v = Param, if the calculation fails Standard_False is raised.
//================================================================================
Standard_Boolean BRepBlend_AppFuncRoot::D1(const Standard_Real Param,
const Standard_Real First,
const Standard_Real Last,
const Standard_Real /*First*/,
const Standard_Real /*Last*/,
TColgp_Array1OfPnt& Poles,
TColgp_Array1OfVec& DPoles,
TColgp_Array1OfPnt2d& Poles2d,
@ -140,8 +142,8 @@ Standard_Boolean BRepBlend_AppFuncRoot::D1(const Standard_Real Param,
// For v = Param, if the calculation fails Standard_False is raised.
//===========================================================================
Standard_Boolean BRepBlend_AppFuncRoot::D2(const Standard_Real Param,
const Standard_Real First,
const Standard_Real Last,
const Standard_Real /*First*/,
const Standard_Real /*Last*/,
TColgp_Array1OfPnt& Poles,
TColgp_Array1OfVec& DPoles,
TColgp_Array1OfVec& D2Poles,

View File

@ -114,17 +114,17 @@ Standard_Boolean BRepBlend_BlendTool::Inters(const gp_Pnt2d& P1,
}
Standard_Integer BRepBlend_BlendTool::NbSamplesV
(const Handle(Adaptor3d_HSurface)& S,
const Standard_Real u1,
const Standard_Real u2)
(const Handle(Adaptor3d_HSurface)&,
const Standard_Real,
const Standard_Real)
{
return 10;
}
Standard_Integer BRepBlend_BlendTool::NbSamplesU
(const Handle(Adaptor3d_HSurface)& S,
const Standard_Real u1,
const Standard_Real u2)
(const Handle(Adaptor3d_HSurface)&,
const Standard_Real,
const Standard_Real)
{
return 10;
}

View File

@ -1075,17 +1075,16 @@ TColStd_Array1OfReal& DWeigths)
//function :
//purpose :
//=======================================================================
Standard_Boolean BRepBlend_SurfRstEvolRad::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& Weigths,
TColStd_Array1OfReal& DWeigths,
TColStd_Array1OfReal& D2Weigths)
Standard_Boolean BRepBlend_SurfRstEvolRad::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& /*Weigths*/,
TColStd_Array1OfReal& /*DWeigths*/,
TColStd_Array1OfReal& /*D2Weigths*/)
{
return Standard_False;
}

View File

@ -81,9 +81,12 @@ public:
//! Returns true to indicate the need to copy edge;
//! copies pcurve if requested
Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F,
const TopoDS_Edge& NewE, const TopoDS_Face& NewF,
Handle(Geom2d_Curve)& C, Standard_Real& Tol)
Standard_Boolean NewCurve2d (const TopoDS_Edge& E,
const TopoDS_Face& F,
const TopoDS_Edge& /*NewE*/,
const TopoDS_Face& /*NewF*/,
Handle(Geom2d_Curve)& C,
Standard_Real& Tol)
{
Tol = BRep_Tool::Tolerance(E);
Standard_Real f, l;

View File

@ -82,7 +82,7 @@ BRepBuilderAPI_MakeShape::operator TopoDS_Shape() const
//purpose :
//=======================================================================
const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Shape& S)
const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Shape&)
{
myGenerated.Clear();
@ -95,7 +95,7 @@ const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Sh
//purpose :
//=======================================================================
const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Shape& S)
const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Shape&)
{
myGenerated.Clear();
@ -108,7 +108,7 @@ const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Sha
//purpose :
//=======================================================================
Standard_Boolean BRepBuilderAPI_MakeShape::IsDeleted (const TopoDS_Shape& S)
Standard_Boolean BRepBuilderAPI_MakeShape::IsDeleted (const TopoDS_Shape&)
{
return Standard_False;

View File

@ -49,7 +49,7 @@ BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert ()
//=======================================================================
BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert (const TopoDS_Shape& S,
const Standard_Boolean Copy)
const Standard_Boolean Copy)
{
myModification = new BRepTools_NurbsConvertModification();
@ -62,7 +62,7 @@ BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert (const TopoDS_Shape& S,
//=======================================================================
void BRepBuilderAPI_NurbsConvert::Perform(const TopoDS_Shape& S,
const Standard_Boolean Copy)
const Standard_Boolean /*Copy*/)
{
Handle(BRepTools_NurbsConvertModification) theModif =
Handle(BRepTools_NurbsConvertModification)::DownCast(myModification);

View File

@ -375,7 +375,7 @@ BRepCheck_Status BRepCheck_Wire::Closed(const Standard_Boolean Update)
//purpose : Return Standard_True if distance between thePnt_f and
// thePnt_l is not more, than aTol3d
//=======================================================================
Standard_Boolean IsDistanceIn3DTolerance (const BRepAdaptor_Surface& aFaceSurface,
Standard_Boolean IsDistanceIn3DTolerance (const BRepAdaptor_Surface& /*aFaceSurface*/,
const gp_Pnt& thePnt_f,
const gp_Pnt& thePnt_l,
const Standard_Real aTol3d)

View File

@ -1373,7 +1373,7 @@ void BRepFill_CompatibleWires::SameNumberByACR(const Standard_Boolean report)
//purpose :
//=======================================================================
void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean polar )
void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean /*polar*/ )
{
// reorganize the wires respecting orientation and origin

View File

@ -686,7 +686,7 @@ void BRepFill_Evolved::ElementaryPerform (const TopoDS_Face& Sp,
const TopoDS_Wire& Pr,
const BRepMAT2d_BisectingLocus& Locus,
BRepMAT2d_LinkTopoBilo& Link,
const GeomAbs_JoinType Join)
const GeomAbs_JoinType /*Join*/)
{
#ifdef DRAW
@ -2427,7 +2427,7 @@ void BRepFill_Evolved::TransformInitWork(const TopLoc_Location& LS,
//purpose : Coding of regularities on edges parallel to CutVevo
// common to left and right parts of volevo.
//=======================================================================
void BRepFill_Evolved::ContinuityOnOffsetEdge (const TopTools_ListOfShape& WorkProf)
void BRepFill_Evolved::ContinuityOnOffsetEdge (const TopTools_ListOfShape&)
{
BRepTools_WireExplorer WExp ;
BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape iteS;

View File

@ -115,7 +115,7 @@ BRepFill_Pipe::BRepFill_Pipe(const TopoDS_Wire& Spine,
void BRepFill_Pipe::Perform(const TopoDS_Wire& Spine,
const TopoDS_Shape& Profile,
const Standard_Boolean KPart)
const Standard_Boolean /*KPart*/)
{
mySections.Nullify();

View File

@ -1453,7 +1453,7 @@ void BRepMesh_Delaun::AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices
//function : UseEdge
//purpose : Modify mesh to use the edge. Return True if done
//=======================================================================
Standard_Boolean BRepMesh_Delaun::UseEdge( const Standard_Integer theIndex )
Standard_Boolean BRepMesh_Delaun::UseEdge( const Standard_Integer /*theIndex*/ )
{
/*
const BRepMesh_PairOfIndex& aPair = myMeshData->ElemConnectedTo( theIndex );

View File

@ -107,7 +107,7 @@ public:
}
//! Set current node to be checked
void SetCurrent (const gp_XY& theCurVertex, const Standard_Boolean theExactVal = Standard_False)
void SetCurrent (const gp_XY& theCurVertex, const Standard_Boolean)
{
myResInd.Clear();
myCurrent = theCurVertex;

View File

@ -169,7 +169,7 @@ const BRepMesh_ListOfInteger& BRepMesh_VertexTool::GetListOfDelNodes() const
//=======================================================================
Standard_Integer BRepMesh_VertexTool::FindIndex(const BRepMesh_Vertex& theVertex)
{
mySelector.SetCurrent(theVertex.Coord(), Standard_False);
mySelector.SetCurrent(theVertex.Coord(),Standard_False);
myCellFilter.Inspect (theVertex.Coord(), mySelector);
return mySelector.GetCoincidentInd();
}

View File

@ -68,7 +68,7 @@ myTol(Tol)
//purpose :
//=======================================================================
static void ExtentEdge(const TopoDS_Face& F,
static void ExtentEdge(const TopoDS_Face& /*F*/,
const TopoDS_Edge& E,
TopoDS_Edge& NE)
{
@ -103,8 +103,8 @@ static void ExtentEdge(const TopoDS_Face& F,
//purpose :
//=======================================================================
static void SelectEdge (const TopoDS_Face& F,
const TopoDS_Face& EF,
static void SelectEdge (const TopoDS_Face& /*F*/,
const TopoDS_Face& /*EF*/,
const TopoDS_Edge& E,
TopTools_ListOfShape& LInt)
{
@ -330,10 +330,10 @@ void BRepOffset_Inter3d::FaceInter(const TopoDS_Face& F1,
//purpose :
//=======================================================================
void BRepOffset_Inter3d::ConnexIntByArc(const TopTools_ListOfShape& SetOfFaces,
const TopoDS_Shape& ShapeInit,
const BRepOffset_Analyse& Analyse,
const BRepAlgo_Image& InitOffsetFace)
void BRepOffset_Inter3d::ConnexIntByArc(const TopTools_ListOfShape& /*SetOfFaces*/,
const TopoDS_Shape& ShapeInit,
const BRepOffset_Analyse& Analyse,
const BRepAlgo_Image& InitOffsetFace)
{
BRepOffset_Type OT = BRepOffset_Concave;
if (mySide == TopAbs_OUT) OT = BRepOffset_Convex;
@ -877,7 +877,7 @@ void BRepOffset_Inter3d::ContextIntByArc(const TopTools_IndexedMapOfShape& Conte
//purpose :
//=======================================================================
void BRepOffset_Inter3d::AddCommonEdges(const TopTools_ListOfShape& SetOfFaces)
void BRepOffset_Inter3d::AddCommonEdges(const TopTools_ListOfShape&)
{
}

View File

@ -1631,7 +1631,7 @@ void BRepOffset_MakeOffset::BuildOffsetByArc()
//purpose :
//=======================================================================
void BRepOffset_MakeOffset::SelfInter(TopTools_MapOfShape& Modif)
void BRepOffset_MakeOffset::SelfInter(TopTools_MapOfShape& /*Modif*/)
{
#ifdef DEB
if ( ChronBuild) {
@ -2703,7 +2703,7 @@ void BRepOffset_MakeOffset::MakeLoops(TopTools_IndexedMapOfShape& Modif)
// share edges that were reconstructed.
//=======================================================================
void BRepOffset_MakeOffset::MakeFaces(TopTools_IndexedMapOfShape& Modif)
void BRepOffset_MakeOffset::MakeFaces(TopTools_IndexedMapOfShape& /*Modif*/)
{
#ifdef DEb
if (ChronBuild) {

View File

@ -2524,8 +2524,8 @@ void BRepOffset_Tool::Inter2d (const TopoDS_Face& F,
//purpose :
//=======================================================================
static void SelectEdge (const TopoDS_Face& F,
const TopoDS_Face& EF,
static void SelectEdge (const TopoDS_Face& /*F*/,
const TopoDS_Face& /*EF*/,
const TopoDS_Edge& E,
TopTools_ListOfShape& LInt)
{

View File

@ -775,7 +775,7 @@ static Standard_Integer wexplo (Draw_Interpretor&,
return 0;
}
static Standard_Integer scalexyz(Draw_Interpretor& di, Standard_Integer n, const char** a)
static Standard_Integer scalexyz(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a)
{
if (n < 6) return 1;

View File

@ -808,7 +808,7 @@ static Standard_Integer simulsweep(Draw_Interpretor& di,
//=======================================================================
// middlepath
//=======================================================================
static Standard_Integer middlepath(Draw_Interpretor& di,
static Standard_Integer middlepath(Draw_Interpretor& /*di*/,
Standard_Integer n, const char** a)
{
if (n < 5) return 1;

View File

@ -69,25 +69,25 @@
#include <BRep_ListIteratorOfListOfCurveRepresentation.hxx>
static void GeomLib_ChangeUBounds(Handle(Geom_BSplineSurface)& aSurface,
const Standard_Real newU1,
const Standard_Real newU2)
const Standard_Real newU1,
const Standard_Real newU2)
{
TColStd_Array1OfReal knots(1,aSurface->NbUKnots()) ;
aSurface->UKnots(knots) ;
BSplCLib::Reparametrize(newU1,
newU2,
knots) ;
newU2,
knots) ;
aSurface->SetUKnots(knots) ;
}
static void GeomLib_ChangeVBounds(Handle(Geom_BSplineSurface)& aSurface,
const Standard_Real newV1,
const Standard_Real newV2)
const Standard_Real newV1,
const Standard_Real newV2)
{
TColStd_Array1OfReal knots(1,aSurface->NbVKnots()) ;
aSurface->VKnots(knots) ;
BSplCLib::Reparametrize(newV1,
newV2,
knots) ;
newV2,
knots) ;
aSurface->SetVKnots(knots) ;
}
@ -174,14 +174,14 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewSurface
if(Abs(dU - Up) <= TolPar && U2 <= Up) {
if(Abs(dV - Vp) <= TolPar && V2 <= Vp) { }
else {
SS = new Geom_RectangularTrimmedSurface(S, V1+1e-9, V2-1e-9, Standard_False);
SS = new Geom_RectangularTrimmedSurface(S, V1+1e-9, V2-1e-9, Standard_False);
}
}
else {
if(Abs(dV - Vp) <= TolPar && V2 <= Vp)
SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, Standard_True);
SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, Standard_True);
else
SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, V1+1e-9, V2-1e-9);
SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, V1+1e-9, V2-1e-9);
}
}
@ -193,7 +193,7 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewSurface
else
SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, V1+1e-9, V2-1e-9);
}
if(!IsUp && IsVp) {
Standard_Real dV = Abs(V2 - V1);
Standard_Real Vp = S->VPeriod();
@ -336,13 +336,8 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve
//=======================================================================
Standard_Boolean BRepTools_NurbsConvertModification::NewPoint
//(const TopoDS_Vertex& V,
(const TopoDS_Vertex& ,
// gp_Pnt& P,
gp_Pnt& ,
// Standard_Real& Tol)
Standard_Real& )
{
(const TopoDS_Vertex&, gp_Pnt&, Standard_Real& )
{
return Standard_False;
}
@ -353,12 +348,12 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewPoint
//=======================================================================
Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
(const TopoDS_Edge& E,
const TopoDS_Face& F,
const TopoDS_Edge& newE,
const TopoDS_Face& newF,
Handle(Geom2d_Curve)& Curve2d,
Standard_Real& Tol)
(const TopoDS_Edge& E,
const TopoDS_Face& F,
const TopoDS_Edge& newE,
const TopoDS_Face& newF,
Handle(Geom2d_Curve)& Curve2d,
Standard_Real& Tol)
{
Tol = BRep_Tool::Tolerance(E);
@ -425,11 +420,10 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
return Standard_True;
}
return Standard_False;
}
}
else {
}
}
else {
S = BRep_Tool::Surface(newF);
}
S->Bounds(Uinf, Usup, Vinf, Vsup);
//Uinf -= 1e-9; Usup += 1e-9; Vinf -= 1e-9; Vsup += 1e-9;
@ -478,7 +472,6 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
if(ProjOnCurve.IsDone()) {
Curve2d = ProjOnCurve.BSpline();
return Standard_True;
}
else {
@ -491,9 +484,8 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
TColStd_ListIteratorOfListOfTransient itlcu;
for (itled.Initialize(myled), itlcu.Initialize(mylcu);
itled.More(); // itlcu.More()
itled.Next(),itlcu.Next())
{
itled.More(); // itlcu.More()
itled.Next(),itlcu.Next()) {
if (itled.Value().IsSame(E)) {
// deja traitee
break;
@ -507,8 +499,7 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
Handle(Geom2dAdaptor_HCurve) G2dAHC = new Geom2dAdaptor_HCurve(G2dAC);
TopoDS_Edge ERevers = E;
ERevers.Reverse();
// TopoDS_Edge ERevers = TopoDS::Edge(E.Reversed());
C2dBis = BRep_Tool::CurveOnSurface(ERevers,F,f2dBis,l2dBis);
C2dBis = BRep_Tool::CurveOnSurface(ERevers,F,f2dBis,l2dBis);
Handle(Standard_Type) TheTypeC2dBis = C2dBis->DynamicType();
C2dBis = new Geom2d_TrimmedCurve(C2dBis,f2dBis, l2dBis);
Geom2dAdaptor_Curve G2dACBis(C2dBis, f2dBis, l2dBis);
@ -521,7 +512,6 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
Curve2d = Handle(Geom2d_Curve)::DownCast(C2d->Copy());
return Standard_True;
}
return Standard_False;
}
if(!newE.IsNull()) {
@ -590,13 +580,15 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d
C2d = Handle(Geom2d_Curve)::DownCast(itlcu.Value());
Handle(Standard_Type) st = C2d->DynamicType();
if (!(st == STANDARD_TYPE(Geom2d_BSplineCurve)) &&
!(st == STANDARD_TYPE(Geom2d_BezierCurve))) {
!(st == STANDARD_TYPE(Geom2d_BezierCurve))) {
return Standard_False;
}
Curve2d = Geom2dConvert::CurveToBSplineCurve(C2d);
return Standard_True;
}
}
Curve2d = C2d;
return Standard_True;
}
//=======================================================================
@ -631,7 +623,6 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewParameter
if(proj.IsDone()) {
Standard_Real Dist2Min = proj.SquareDistance();
if (Dist2Min < Tol*Tol) {
// Standard_Real U_final_point,V_final_point;
P = proj.Point().Parameter();
return Standard_True;
}

View File

@ -34,7 +34,7 @@ BRepTopAdaptor_Tool::BRepTopAdaptor_Tool() {
}
BRepTopAdaptor_Tool::BRepTopAdaptor_Tool(const TopoDS_Face& F,
const Standard_Real Tol2d) {
const Standard_Real /*Tol2d*/) {
myTopolTool = new BRepTopAdaptor_TopolTool();
Handle(BRepAdaptor_HSurface) surface = new BRepAdaptor_HSurface();
@ -45,16 +45,17 @@ BRepTopAdaptor_Tool::BRepTopAdaptor_Tool(const TopoDS_Face& F,
}
BRepTopAdaptor_Tool::BRepTopAdaptor_Tool(const Handle(Adaptor3d_HSurface)& surface,
const Standard_Real Tol2d) {
const Standard_Real /*Tol2d*/)
{
myTopolTool = new BRepTopAdaptor_TopolTool();
myTopolTool->Initialize(surface);
myHSurface = surface;
myloaded=Standard_True;
}
void BRepTopAdaptor_Tool::Init(const TopoDS_Face& F,
const Standard_Real Tol2d) {
const Standard_Real /*Tol2d*/)
{
Handle(BRepAdaptor_HSurface) surface = new BRepAdaptor_HSurface();
surface->ChangeSurface().Initialize(F);
myTopolTool->Initialize(surface);
@ -63,7 +64,8 @@ void BRepTopAdaptor_Tool::Init(const TopoDS_Face& F,
}
void BRepTopAdaptor_Tool::Init(const Handle(Adaptor3d_HSurface)& surface,
const Standard_Real Tol2d) {
const Standard_Real /*Tol2d*/)
{
myTopolTool->Initialize(surface);
myHSurface = surface;
myloaded=Standard_True;

View File

@ -479,10 +479,10 @@ Handle(Geom_Curve) MakeCurve (const BiTgte_CurveOnEdge& HC)
//purpose : Only the faces connected with caps are given
//=======================================================================
static void Touched(const BRepOffset_Analyse& Analyse,
const TopTools_MapOfShape& StopFaces,
const TopoDS_Shape& Shape,
TopTools_MapOfShape& TouchedByCork)
static void Touched(const BRepOffset_Analyse&,
const TopTools_MapOfShape&,
const TopoDS_Shape&,
TopTools_MapOfShape&)
{
// currently nothing is done !!
/*if ( Standard_True) {
@ -493,9 +493,9 @@ static void Touched(const BRepOffset_Analyse& Analyse,
for ( ; exp.More(); exp.Next()) {
const TopTools_ListOfShape& L = Analyse.Ancestors(exp.Current());
if (StopFaces.Contains(L.First()))
TouchedByCork.Add(L.Last());
TouchedByCork.Add(L.Last());
else if (StopFaces.Contains(L.Last()))
TouchedByCork.Add(L.First());
TouchedByCork.Add(L.First());
}
}*/
return;

View File

@ -127,7 +127,7 @@ GeomAbs_Shape BiTgte_CurveOnEdge::Continuity() const
//purpose :
//=======================================================================
Standard_Integer BiTgte_CurveOnEdge::NbIntervals(const GeomAbs_Shape S) const
Standard_Integer BiTgte_CurveOnEdge::NbIntervals(const GeomAbs_Shape) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
return 0;
@ -139,8 +139,8 @@ Standard_Integer BiTgte_CurveOnEdge::NbIntervals(const GeomAbs_Shape S) const
//purpose :
//=======================================================================
void BiTgte_CurveOnEdge::Intervals(TColStd_Array1OfReal& T,
const GeomAbs_Shape S) const
void BiTgte_CurveOnEdge::Intervals(TColStd_Array1OfReal&,
const GeomAbs_Shape) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
}
@ -151,9 +151,9 @@ void BiTgte_CurveOnEdge::Intervals(TColStd_Array1OfReal& T,
//purpose :
//=======================================================================
Handle(Adaptor3d_HCurve) BiTgte_CurveOnEdge::Trim(const Standard_Real First,
const Standard_Real Last,
const Standard_Real Tol) const
Handle(Adaptor3d_HCurve) BiTgte_CurveOnEdge::Trim(const Standard_Real,
const Standard_Real,
const Standard_Real) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
Handle(BiTgte_HCurveOnEdge) HC;
@ -229,7 +229,7 @@ void BiTgte_CurveOnEdge::D0(const Standard_Real U,gp_Pnt& P) const
//purpose :
//=======================================================================
void BiTgte_CurveOnEdge::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const
void BiTgte_CurveOnEdge::D1(const Standard_Real,gp_Pnt& ,gp_Vec& ) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
}
@ -240,8 +240,8 @@ void BiTgte_CurveOnEdge::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const
//purpose :
//=======================================================================
void BiTgte_CurveOnEdge::D2(const Standard_Real U,gp_Pnt& P,
gp_Vec& V1,gp_Vec& V2) const
void BiTgte_CurveOnEdge::D2(const Standard_Real ,gp_Pnt&,
gp_Vec& ,gp_Vec&) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
}
@ -252,8 +252,8 @@ void BiTgte_CurveOnEdge::D2(const Standard_Real U,gp_Pnt& P,
//purpose :
//=======================================================================
void BiTgte_CurveOnEdge::D3(const Standard_Real U,gp_Pnt& P,
gp_Vec& V1,gp_Vec& V2,gp_Vec& V3) const
void BiTgte_CurveOnEdge::D3(const Standard_Real ,gp_Pnt&,
gp_Vec& ,gp_Vec& ,gp_Vec& ) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
}
@ -264,8 +264,8 @@ void BiTgte_CurveOnEdge::D3(const Standard_Real U,gp_Pnt& P,
//purpose :
//=======================================================================
gp_Vec BiTgte_CurveOnEdge::DN(const Standard_Real U,
const Standard_Integer N) const
gp_Vec BiTgte_CurveOnEdge::DN(const Standard_Real,
const Standard_Integer) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
return gp_Vec();
@ -277,7 +277,7 @@ gp_Vec BiTgte_CurveOnEdge::DN(const Standard_Real U,
//purpose :
//=======================================================================
Standard_Real BiTgte_CurveOnEdge::Resolution(const Standard_Real R3d) const
Standard_Real BiTgte_CurveOnEdge::Resolution(const Standard_Real) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnEdge");
return 0.;

View File

@ -101,7 +101,7 @@ GeomAbs_Shape BiTgte_CurveOnVertex::Continuity() const
//purpose :
//=======================================================================
Standard_Integer BiTgte_CurveOnVertex::NbIntervals(const GeomAbs_Shape S) const
Standard_Integer BiTgte_CurveOnVertex::NbIntervals(const GeomAbs_Shape) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
return 0;
@ -113,8 +113,8 @@ Standard_Integer BiTgte_CurveOnVertex::NbIntervals(const GeomAbs_Shape S) const
//purpose :
//=======================================================================
void BiTgte_CurveOnVertex::Intervals(TColStd_Array1OfReal& T,
const GeomAbs_Shape S) const
void BiTgte_CurveOnVertex::Intervals(TColStd_Array1OfReal&,
const GeomAbs_Shape) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
}
@ -125,9 +125,9 @@ void BiTgte_CurveOnVertex::Intervals(TColStd_Array1OfReal& T,
//purpose :
//=======================================================================
Handle(Adaptor3d_HCurve) BiTgte_CurveOnVertex::Trim(const Standard_Real First,
const Standard_Real Last,
const Standard_Real Tol)
Handle(Adaptor3d_HCurve) BiTgte_CurveOnVertex::Trim(const Standard_Real,
const Standard_Real,
const Standard_Real)
const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
@ -177,7 +177,7 @@ Standard_Real BiTgte_CurveOnVertex::Period() const
//purpose :
//=======================================================================
gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real U) const
gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real) const
{
return myPnt;
}
@ -188,7 +188,7 @@ gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real U) const
//purpose :
//=======================================================================
void BiTgte_CurveOnVertex::D0(const Standard_Real U,gp_Pnt& P) const
void BiTgte_CurveOnVertex::D0(const Standard_Real /*U*/,gp_Pnt& P) const
{
P = myPnt;
}
@ -199,7 +199,7 @@ void BiTgte_CurveOnVertex::D0(const Standard_Real U,gp_Pnt& P) const
//purpose :
//=======================================================================
void BiTgte_CurveOnVertex::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const
void BiTgte_CurveOnVertex::D1(const Standard_Real ,gp_Pnt& ,gp_Vec&) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
}
@ -210,8 +210,8 @@ void BiTgte_CurveOnVertex::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const
//purpose :
//=======================================================================
void BiTgte_CurveOnVertex::D2(const Standard_Real U,gp_Pnt& P,
gp_Vec& V1,gp_Vec& V2) const
void BiTgte_CurveOnVertex::D2(const Standard_Real,gp_Pnt&,
gp_Vec& ,gp_Vec& ) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
}
@ -222,8 +222,11 @@ void BiTgte_CurveOnVertex::D2(const Standard_Real U,gp_Pnt& P,
//purpose :
//=======================================================================
void BiTgte_CurveOnVertex::D3(const Standard_Real U,gp_Pnt& P,
gp_Vec& V1,gp_Vec& V2,gp_Vec& V3) const
void BiTgte_CurveOnVertex::D3(const Standard_Real,
gp_Pnt& ,
gp_Vec& ,
gp_Vec& ,
gp_Vec& ) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
}
@ -234,8 +237,8 @@ void BiTgte_CurveOnVertex::D3(const Standard_Real U,gp_Pnt& P,
//purpose :
//=======================================================================
gp_Vec BiTgte_CurveOnVertex::DN(const Standard_Real U,
const Standard_Integer N) const
gp_Vec BiTgte_CurveOnVertex::DN(const Standard_Real,
const Standard_Integer) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
return gp_Vec();
@ -247,7 +250,7 @@ gp_Vec BiTgte_CurveOnVertex::DN(const Standard_Real U,
//purpose :
//=======================================================================
Standard_Real BiTgte_CurveOnVertex::Resolution(const Standard_Real R3d) const
Standard_Real BiTgte_CurveOnVertex::Resolution(const Standard_Real) const
{
Standard_NotImplemented::Raise("BiTgte_CurveOnVertex");
return 0.;

View File

@ -34,16 +34,16 @@ const gp_Pnt& Blend_CSFunction::Pnt2() const
return PointOnS();
}
Standard_Boolean Blend_CSFunction::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& Weigths,
TColStd_Array1OfReal& DWeigths,
TColStd_Array1OfReal& D2Weigths)
Standard_Boolean Blend_CSFunction::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& /*Weigths*/,
TColStd_Array1OfReal& /*DWeigths*/,
TColStd_Array1OfReal& /*D2Weigths*/)
{
return Standard_False;
}

View File

@ -43,16 +43,16 @@ Standard_Boolean Blend_Function::TwistOnS2() const
return Standard_False;
}
Standard_Boolean Blend_Function::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& Weigths,
TColStd_Array1OfReal& DWeigths,
TColStd_Array1OfReal& D2Weigths)
Standard_Boolean Blend_Function::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& /*Weigths*/,
TColStd_Array1OfReal& /*DWeigths*/,
TColStd_Array1OfReal& /*D2Weigths*/)
{
return Standard_False;
}

View File

@ -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)
{

View File

@ -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");
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -24,5 +24,5 @@
#include <TCollection_ExtendedString.hxx>
CDM_NullMessageDriver::CDM_NullMessageDriver() {}
void CDM_NullMessageDriver::Write(const Standard_ExtString aString) {
void CDM_NullMessageDriver::Write(const Standard_ExtString /*aString*/) {
}

View File

@ -261,7 +261,7 @@ void ChFi2d_Builder::ComputeChamfer(const TopoDS_Vertex& V,
//=======================================================================
TopoDS_Edge ChFi2d_Builder::ModifyChamfer(const TopoDS_Edge& Chamfer,
const TopoDS_Edge& E1,
const TopoDS_Edge& /*E1*/,
const TopoDS_Edge& E2,
const Standard_Real D1,
const Standard_Real D2)

View File

@ -224,7 +224,7 @@ void ChFiDS_FilSpine::UnSetRadius(const TopoDS_Vertex& V)
//=======================================================================
void ChFiDS_FilSpine::SetRadius(const Handle(Law_Function)& C,
const Standard_Integer IinC)
const Standard_Integer /*IinC*/)
{
splitdone = Standard_False;
Handle(Law_Composite) prout = new Law_Composite();

View File

@ -31,7 +31,7 @@
void ChFiKPart_CornerSpine(const Handle(Adaptor3d_HSurface)& S1,
const Handle(Adaptor3d_HSurface)& S2,
const gp_Pnt2d& P1S1,
const gp_Pnt2d& P2S1,
const gp_Pnt2d& /*P2S1*/,
const gp_Pnt2d& P1S2,
const gp_Pnt2d& P2S2,
const Standard_Real R,

View File

@ -336,8 +336,8 @@ Standard_Boolean ChFiKPart_MakeChAsym(TopOpeBRepDS_DataStructure& DStr,
const Handle(ChFiDS_SurfData)& Data,
const gp_Pln& Pln,
const gp_Cylinder& Cyl,
const Standard_Real fu,
const Standard_Real lu,
const Standard_Real /*fu*/,
const Standard_Real /*lu*/,
const TopAbs_Orientation Or1,
const TopAbs_Orientation Or2,
const Standard_Real Dis,

View File

@ -321,8 +321,8 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr,
const Handle(ChFiDS_SurfData)& Data,
const gp_Pln& Pln,
const gp_Cylinder& Cyl,
const Standard_Real fu,
const Standard_Real lu,
const Standard_Real /*fu*/,
const Standard_Real /*lu*/,
const TopAbs_Orientation Or1,
const TopAbs_Orientation Or2,
const Standard_Real Dis1,

View File

@ -51,7 +51,7 @@ Standard_Boolean ChFiKPart_Sphere(TopOpeBRepDS_DataStructure& DStr,
const Handle(Adaptor3d_HSurface)& S1,
const Handle(Adaptor3d_HSurface)& S2,
const TopAbs_Orientation OrFace1,
const TopAbs_Orientation OrFace2,
const TopAbs_Orientation /*OrFace2*/,
const TopAbs_Orientation Or1,
const TopAbs_Orientation,
const Standard_Real Rad,

View File

@ -55,7 +55,7 @@ DDF_Data::DDF_Data(const Handle(TDF_Data)& aDF) : myDF (aDF) {}
//purpose :
//=======================================================================
void DDF_Data::DrawOn(Draw_Display& dis) const
void DDF_Data::DrawOn(Draw_Display& /*dis*/) const
{ cout<<"DDF_Data"<<endl; }

View File

@ -209,9 +209,8 @@ void DDataStd_DrawPresentation::Restore (const Handle(TDF_Attribute)& With)
//=======================================================================
void DDataStd_DrawPresentation::Paste (const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)& RT) const
const Handle(TDF_RelocationTable)&) const
{
//cout<< "DDataStd_DrawPresentation::Paste" << endl;
Handle(DDataStd_DrawPresentation)::DownCast(Into)->SetDisplayed(isDisplayed);
Handle(DDataStd_DrawPresentation)::DownCast(Into)->SetDrawable(myDrawable);
}
@ -267,7 +266,7 @@ void DDataStd_DrawPresentation::AfterResume()
//=======================================================================
Standard_Boolean DDataStd_DrawPresentation::BeforeUndo (const Handle(TDF_AttributeDelta)& AD,
const Standard_Boolean forceIt)
const Standard_Boolean /*forceIt*/)
{
Handle(DDataStd_DrawPresentation) Pme = this;
Handle(DDataStd_DrawPresentation) Pdt = Handle(DDataStd_DrawPresentation)::DownCast(AD->Attribute());
@ -305,7 +304,7 @@ Standard_Boolean DDataStd_DrawPresentation::BeforeUndo (const Handle(TDF_Attribu
//=======================================================================
Standard_Boolean DDataStd_DrawPresentation::AfterUndo (const Handle(TDF_AttributeDelta)& AD,
const Standard_Boolean forceIt)
const Standard_Boolean /*forceIt*/)
{
Handle(DDataStd_DrawPresentation) Pme = this;
Handle(DDataStd_DrawPresentation) Pdt = Handle(DDataStd_DrawPresentation)::DownCast(AD->Attribute());

View File

@ -62,7 +62,7 @@ DDataStd_TreeBrowser::DDataStd_TreeBrowser(const TDF_Label& aLabel)
//purpose :
//=======================================================================
void DDataStd_TreeBrowser::DrawOn(Draw_Display& dis) const
void DDataStd_TreeBrowser::DrawOn(Draw_Display& /*dis*/) const
{ cout<<"DDataStd_TreeBrowser"<<endl; }

View File

@ -39,7 +39,7 @@
//=======================================================================
Standard_Boolean DDocStd::Find (Handle(TDocStd_Application)& A,
const Standard_Boolean Complain)
const Standard_Boolean /*Complain*/)
{
if (!CDF_Session::Exists())
Standard_DomainError::Raise("DDocStd::Find no applicative session");

View File

@ -29,7 +29,7 @@
//purpose :
//=======================================================================
Handle(DDocStd_DrawDocument) DDocStd_DrawDocument::Find (const Handle(TDocStd_Document)& Doc)
Handle(DDocStd_DrawDocument) DDocStd_DrawDocument::Find (const Handle(TDocStd_Document)& /*Doc*/)
{
Handle(DDocStd_DrawDocument) adoc;
return adoc;
@ -63,7 +63,7 @@ Handle(TDocStd_Document) DDocStd_DrawDocument::GetDocument() const
//purpose :
//=======================================================================
void DDocStd_DrawDocument::DrawOn(Draw_Display& dis) const
void DDocStd_DrawDocument::DrawOn(Draw_Display& /*dis*/) const
{
}

View File

@ -78,14 +78,14 @@ DNaming_BooleanOperationDriver::DNaming_BooleanOperationDriver()
//function : Validate
//purpose : Validates labels of a function in <log>.
//=======================================================================
void DNaming_BooleanOperationDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_BooleanOperationDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <log> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_BooleanOperationDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_BooleanOperationDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -46,14 +46,14 @@ DNaming_BoxDriver::DNaming_BoxDriver()
//function : Validate
//purpose : Validates labels of a function in <log>.
//=======================================================================
void DNaming_BoxDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_BoxDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <log> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_BoxDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_BoxDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -56,14 +56,14 @@ DNaming_CylinderDriver::DNaming_CylinderDriver()
//function : Validate
//purpose : Validates labels of a function in <log>.
//=======================================================================
void DNaming_CylinderDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_CylinderDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <log> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_CylinderDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_CylinderDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -56,14 +56,14 @@ DNaming_FilletDriver::DNaming_FilletDriver()
//function : Validate
//purpose : Validates labels of a function in <log>.
//=======================================================================
void DNaming_FilletDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_FilletDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <log> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_FilletDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_FilletDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -92,14 +92,14 @@ DNaming_Line3DDriver::DNaming_Line3DDriver()
//function : Validate
//purpose : Validates labels of a function in <theLog>.
//=======================================================================
void DNaming_Line3DDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_Line3DDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <theLog> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_Line3DDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_Line3DDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -206,7 +206,7 @@ else if(name == "Line3D")
//function : DNaming_AddDriver
//purpose : "AddDriver Doc Name1 Name2 ..."
//=======================================================================
static Standard_Integer DNaming_AddDriver (Draw_Interpretor& theDI,
static Standard_Integer DNaming_AddDriver (Draw_Interpretor& /*theDI*/,
Standard_Integer theNb,
const char** theArg)
{
@ -487,7 +487,7 @@ static Standard_Integer ComputeFunction(const Handle(TFunction_Function)& theFun
// : "SolveFlatFrom Doc FistAuxObjLabel"
//=======================================================================
static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& theDI,
static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& /*theDI*/,
Standard_Integer theNb,
const char** theArg)
{
@ -549,7 +549,7 @@ static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& theDI,
//function : DNaming_InitLogBook
//purpose : "InitLogBook Doc "
//=======================================================================
static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& theDI,
static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& /*theDI*/,
Standard_Integer theNb,
const char** theArg)
{
@ -578,7 +578,7 @@ static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& theDI,
//function : DNaming_CheckLogBook
//purpose : "CheckLogBook Doc"
//=======================================================================
static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& theDI,
static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& /*theDI*/,
Standard_Integer theNb,
const char** theArg)
{
@ -609,7 +609,7 @@ static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& theDI,
//function : DNaming_ComputeFun
//purpose : "ComputeFun Doc FunctionLabel"
//=======================================================================
static Standard_Integer DNaming_ComputeFun (Draw_Interpretor& theDI,
static Standard_Integer DNaming_ComputeFun (Draw_Interpretor& /*theDI*/,
Standard_Integer theNb,
const char** theArg)
{

View File

@ -52,14 +52,14 @@ DNaming_PointDriver::DNaming_PointDriver()
//function : Validate
//purpose : Validates labels of a function in <log>.
//=======================================================================
void DNaming_PointDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_PointDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <log> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_PointDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_PointDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -75,14 +75,14 @@ DNaming_PrismDriver::DNaming_PrismDriver()
//function : Validate
//purpose : Validates labels of a function in <theLog>.
//=======================================================================
void DNaming_PrismDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_PrismDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyses in <theLog> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_PrismDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_PrismDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -80,14 +80,14 @@ DNaming_RevolutionDriver::DNaming_RevolutionDriver()
//function : Validate
//purpose : Validates labels of a function in <theLog>.
//=======================================================================
void DNaming_RevolutionDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_RevolutionDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyses in <theLog> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_RevolutionDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_RevolutionDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -61,14 +61,14 @@ DNaming_SphereDriver::DNaming_SphereDriver()
//function : Validate
//purpose : Validates labels of a function in <theLog>
//=======================================================================
void DNaming_SphereDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_SphereDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyses in <theLog> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_SphereDriver::MustExecute(const TFunction_Logbook& theLog) const {
Standard_Boolean DNaming_SphereDriver::MustExecute(const TFunction_Logbook&) const {
return Standard_True;
}

View File

@ -87,14 +87,14 @@ DNaming_TransformationDriver::DNaming_TransformationDriver()
//function : Validate
//purpose : Validates labels of a function in <log>.
//=======================================================================
void DNaming_TransformationDriver::Validate(TFunction_Logbook& theLog) const
void DNaming_TransformationDriver::Validate(TFunction_Logbook&) const
{}
//=======================================================================
//function : MustExecute
//purpose : Analyse in <log> if the loaded function must be executed
//=======================================================================
Standard_Boolean DNaming_TransformationDriver::MustExecute(const TFunction_Logbook& theLog) const
Standard_Boolean DNaming_TransformationDriver::MustExecute(const TFunction_Logbook&) const
{
return Standard_True;
}

View File

@ -57,7 +57,7 @@
/*--------------------------------------------------------*\
| CREATE COMMAND WINDOW PROCEDURE
\*--------------------------------------------------------*/
HWND CreateCommandWindow(HWND hWnd, int nitem)
HWND CreateCommandWindow(HWND hWnd, int /*nitem*/)
{
HINSTANCE hInstance;

View File

@ -402,7 +402,7 @@ static Standard_Integer Draw_wait(Draw_Interpretor& , Standard_Integer n, const
//purpose :
//=======================================================================
#ifdef _WIN32
static unsigned int __stdcall CpuFunc (void * param)
static unsigned int __stdcall CpuFunc (void * /*param*/)
{
clock_t aCurrent;
for(;;)
@ -428,8 +428,13 @@ static void CpuFunc (int)
}
#endif
#ifdef _WIN32
static Standard_Integer cpulimit(Draw_Interpretor&, Standard_Integer n, const char** a)
{
#else
static Standard_Integer cpulimit(Draw_Interpretor& di, Standard_Integer n, const char** a)
{
#endif
#ifdef _WIN32
// Windows specific code

View File

@ -117,7 +117,7 @@ extern Standard_Boolean Draw_IsConsoleSubsystem;
//purpose :
//=======================================================================
Standard_Integer _main_ (int argc, char* argv[], char* envp[], const FDraw_InitAppli fDraw_InitAppli)
Standard_Integer _main_ (int /*argc*/, char* argv[], char* /*envp*/[], const FDraw_InitAppli fDraw_InitAppli)
{
Draw_IsConsoleSubsystem = Standard_True;
//return _WinMain_(::GetModuleHandle(NULL), NULL, GetCommandLine(), SW_SHOW, fDraw_InitAppli);
@ -139,7 +139,7 @@ Standard_Integer _main_ (int argc, char* argv[], char* envp[], const FDraw_InitA
//purpose :
//=======================================================================
Standard_Integer _WinMain_ (HINSTANCE hInstance, HINSTANCE hPrevinstance, LPSTR lpCmdLine, int nCmdShow, const FDraw_InitAppli fDraw_InitAppli)
Standard_Integer _WinMain_ (HINSTANCE /*hInstance*/, HINSTANCE /*hPrevinstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/, const FDraw_InitAppli /*fDraw_InitAppli*/)
{
// theDraw_InitAppli = fDraw_InitAppli;
// ParseCommandLine (lpCmdLine);

View File

@ -598,7 +598,7 @@ static Standard_Integer set(Draw_Interpretor& di, Standard_Integer n, const char
//purpose :
//=======================================================================
static Standard_Integer dsetenv(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
static Standard_Integer dsetenv(Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv)
{
if (argc < 2) {
cout << "Use: " << argv[0] << " {varname} [value]" << endl;

View File

@ -180,7 +180,7 @@ Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v)
//purpose :
//=======================================================================
#if defined(_WIN32) || defined (__WIN32__) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX))
Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w)
Draw_View::Draw_View(Standard_Integer /*i*/, Draw_Viewer* /*v*/, const char* /*w*/)
#else
Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w) :
Draw_Window(w), id(i), viewer(v)

View File

@ -94,7 +94,7 @@ BOOL CreateProc(HWND hWndFrame)
| Handler for message WM_COMMAND
|
\*--------------------------------------------------------------------------*/
BOOL CommandProc(HWND hWndFrame, WPARAM wParam, LPARAM lParam)
BOOL CommandProc(HWND hWndFrame, WPARAM wParam, LPARAM /*lParam*/)
{
HWND hWndClient; // Handle on window MDI
HWND hWndActive;

View File

@ -575,7 +575,7 @@ void DsgPrs::ComputeFacesAnglePresentation( const Standard_Real ArrowLength,
void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real ArrowLength,
void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*/,
const Standard_Real Value,
const gp_Pnt & Position,
const gp_Dir & NormalDir,

View File

@ -78,7 +78,7 @@ static Standard_Integer AboveInBelowCone(const gp_Circ &CMax, const gp_Circ &CMi
//==========================================================================
void DsgPrs_AnglePresentation::Add (const Handle(Prs3d_Presentation)& aPresentation,
const Handle(Prs3d_Drawer)& aDrawer,
const Standard_Real aVal,
const Standard_Real /*aVal*/,
const TCollection_ExtendedString& aText,
const gp_Circ& aCircle,
const gp_Pnt& aPosition,

View File

@ -165,11 +165,11 @@ void DsgPrs_OffsetPresentation::Add (const Handle(Prs3d_Presentation)& aPresenta
void DsgPrs_OffsetPresentation::AddAxes (const Handle(Prs3d_Presentation)& aPresentation,
const Handle(Prs3d_Drawer)& aDrawer,
const TCollection_ExtendedString& aText,
const TCollection_ExtendedString& /*aText*/,
const gp_Pnt& AttachmentPoint1,
const gp_Pnt& AttachmentPoint2,
const gp_Dir& aDirection,
const gp_Dir& aDirection2,
const gp_Dir& /*aDirection2*/,
const gp_Pnt& OffsetPoint)
{
gp_Lin L1 (AttachmentPoint1,aDirection);

View File

@ -53,8 +53,8 @@ Extrema_GenExtCC::Extrema_GenExtCC (const Curve1& C1,
const Standard_Real Vsup,
const Standard_Integer NbU,
const Standard_Integer NbV,
const Standard_Real TolU,
const Standard_Real TolV) : myF (C1,C2), myDone (Standard_False)
const Standard_Real /*TolU*/,
const Standard_Real /*TolV*/) : myF (C1,C2), myDone (Standard_False)
{
SetCurveCache (1, new Cache (C1, Uinf, Usup, NbU, Standard_True));
SetCurveCache (2, new Cache (C2, Vinf, Vsup, NbV, Standard_True));

View File

@ -790,7 +790,7 @@ void Extrema_GenExtPS::BuildTree()
aFiller.Fill();
}
void Extrema_GenExtPS::FindSolution(const gp_Pnt& P,
void Extrema_GenExtPS::FindSolution(const gp_Pnt& /*P*/,
const Extrema_POnSurfParams &theParams)
{
math_Vector Tol(1,2);

View File

@ -32,7 +32,7 @@
PLUGIN(FWOSDriver)
Handle(Standard_Transient) FWOSDriver::Factory(const Standard_GUID& aGUID) {
Handle(Standard_Transient) FWOSDriver::Factory(const Standard_GUID& /*aGUID*/) {
static Handle(FWOSDriver_DriverFactory) f;
if(f.IsNull()) f = new FWOSDriver_DriverFactory;
return f;

View File

@ -54,7 +54,7 @@ FWOSDriver_Driver::FWOSDriver_Driver() {}
//==============================================================================
Standard_Boolean FWOSDriver_Driver::Find(const TCollection_ExtendedString& aFolder,
const TCollection_ExtendedString& aName,
const TCollection_ExtendedString& aVersion)
const TCollection_ExtendedString& /*aVersion*/)
{
OSD_Path thePath=UTL::Path(aFolder);
@ -76,7 +76,7 @@ Standard_Boolean FWOSDriver_Driver::Find(const TCollection_ExtendedString& aFold
//==============================================================================
Standard_Boolean FWOSDriver_Driver::HasReadPermission(const TCollection_ExtendedString& aFolder,
const TCollection_ExtendedString& aName,
const TCollection_ExtendedString& aVersion)
const TCollection_ExtendedString& /*aVersion*/)
{
OSD_SingleProtection theProtection=OSD_File(UTL::Path(Concatenate(aFolder,aName))).Protection().User();
switch (theProtection) {
@ -102,7 +102,7 @@ Standard_Boolean FWOSDriver_Driver::HasReadPermission(const TCollection_Extended
//==============================================================================
Handle(CDM_MetaData) FWOSDriver_Driver::MetaData(const TCollection_ExtendedString& aFolder,
const TCollection_ExtendedString& aName,
const TCollection_ExtendedString& aVersion)
const TCollection_ExtendedString& /*aVersion*/)
{
TCollection_ExtendedString p = Concatenate(aFolder,aName);
return CDM_MetaData::LookUp(aFolder,aName,p,p,UTL::IsReadOnly(p));

View File

@ -34,11 +34,7 @@ GccAna_Circ2d2TanOn::
GccAna_Circ2d2TanOn (const GccEnt_QualifiedLin& Qualified1 ,
const GccEnt_QualifiedLin& Qualified2 ,
const gp_Circ2d& OnCirc ,
const Standard_Real
#ifdef DEB
Tolerance
#endif
):
const Standard_Real ):
cirsol(1,4) ,
qualifier1(1,4) ,
qualifier2(1,4),

View File

@ -50,11 +50,7 @@ GccAna_Circ2d2TanRad::
GccAna_Circ2d2TanRad (const GccEnt_QualifiedLin& Qualified1 ,
const GccEnt_QualifiedLin& Qualified2 ,
const Standard_Real Radius ,
const Standard_Real
#ifdef DEB
Tolerance
#endif
):
const Standard_Real ):
qualifier1(1,4) ,
qualifier2(1,4),
TheSame1(1,4) ,

View File

@ -42,10 +42,7 @@ GccAna_Circ2d3Tan::
GccAna_Circ2d3Tan (const GccEnt_QualifiedLin& Qualified1,
const GccEnt_QualifiedLin& Qualified2,
const GccEnt_QualifiedLin& Qualified3,
const Standard_Real
#ifdef DEB
Tolerance
#endif
const Standard_Real
):
//=========================================================================

View File

@ -225,9 +225,9 @@ Standard_Boolean GccIter_FunctionTanCuCuCu::
Standard_Boolean GccIter_FunctionTanCuCuCu::
Derivatives (const math_Vector& X ,
math_Matrix& Deriv ) {
Standard_Boolean GccIter_FunctionTanCuCuCu::Derivatives (const math_Vector&,
math_Matrix&)
{
#if 0
gp_Pnt2d Point1;
gp_Pnt2d Point2;
@ -351,10 +351,10 @@ Standard_Boolean GccIter_FunctionTanCuCuCu::
}
Standard_Boolean GccIter_FunctionTanCuCuCu::
Values (const math_Vector& X ,
math_Vector& Fval ,
math_Matrix& Deriv ) {
Standard_Boolean GccIter_FunctionTanCuCuCu:: Values (const math_Vector&,
math_Vector&,
math_Matrix& )
{
#if 0
gp_Pnt2d Point1;
gp_Pnt2d Point2;

View File

@ -327,7 +327,7 @@ Standard_Boolean GeomFill_DiscreteTrihedron::D2(const Standard_Real Param,
//purpose :
//=======================================================================
Standard_Integer GeomFill_DiscreteTrihedron::NbIntervals(const GeomAbs_Shape S) const
Standard_Integer GeomFill_DiscreteTrihedron::NbIntervals(const GeomAbs_Shape) const
{
return (myTrimmed->NbIntervals(GeomAbs_CN));
}
@ -338,7 +338,7 @@ Standard_Integer GeomFill_DiscreteTrihedron::NbIntervals(const GeomAbs_Shape S)
//=======================================================================
void GeomFill_DiscreteTrihedron::Intervals(TColStd_Array1OfReal& T,
const GeomAbs_Shape S) const
const GeomAbs_Shape) const
{
myTrimmed->Intervals(T, GeomAbs_CN);
}

View File

@ -52,7 +52,7 @@
#endif
#if DEB
static void TracePlan(const Handle(Geom_Surface)& Plan)
static void TracePlan(const Handle(Geom_Surface)& /*Plan*/)
{
cout << "Pas d'intersection Guide/Plan" << endl;
#if DRAW

View File

@ -98,7 +98,7 @@ void GeomFill_PlanFunc::D2E(const Standard_Real X,
const gp_Vec& ,
Standard_Real& DFDT,
// Standard_Real& ,
Standard_Real& D2FDT2,
Standard_Real& /*D2FDT2*/,
// Standard_Real& D2FDTDX)
Standard_Real& )
{

View File

@ -809,8 +809,8 @@ EcartContraintesMil ( const Standard_Integer c,
// fonction : Disc2dContour
//---------------------------------------------------------
void GeomPlate_BuildPlateSurface::
Disc2dContour ( const Standard_Integer nbp,
TColgp_SequenceOfXY& Seq2d)
Disc2dContour ( const Standard_Integer /*nbp*/,
TColgp_SequenceOfXY& Seq2d)
{
#ifdef PLATE_DEB
if (nbp!=4)
@ -945,9 +945,9 @@ void GeomPlate_BuildPlateSurface::
// fonction : Disc3dContour
//---------------------------------------------------------
void GeomPlate_BuildPlateSurface::
Disc3dContour ( const Standard_Integer nbp,
const Standard_Integer iordre,
TColgp_SequenceOfXYZ& Seq3d)
Disc3dContour (const Standard_Integer /*nbp*/,
const Standard_Integer iordre,
TColgp_SequenceOfXYZ& Seq3d)
{
#ifdef PLATE_DEB
if (nbp!=4)

View File

@ -260,7 +260,7 @@ static Standard_Integer extrema(Draw_Interpretor& di, Standard_Integer n, const
//purpose :
//=======================================================================
static Standard_Integer intersect(Draw_Interpretor& di, Standard_Integer n, const char** a)
static Standard_Integer intersect(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a)
{
if( n < 2)
return 1;

View File

@ -304,7 +304,7 @@ static Standard_Integer appsurf(Draw_Interpretor& di,
return 0;
}
static Standard_Integer fillcurves(Draw_Interpretor& di,
static Standard_Integer fillcurves(Draw_Interpretor& /*di*/,
Standard_Integer n, const char** a)
{
if ( n < 6) return 1;

View File

@ -110,7 +110,7 @@ static Standard_Integer extendsurf (Draw_Interpretor& di, Standard_Integer n, co
//purpose :
//=======================================================================
static Standard_Integer samerange (Draw_Interpretor& di, Standard_Integer n, const char** a)
static Standard_Integer samerange (Draw_Interpretor& /*di*/, Standard_Integer n, const char** a)
{
if (n < 6) return 1;
Handle(Geom2d_Curve) C = DrawTrSurf::GetCurve2d(a[2]);

View File

@ -55,7 +55,7 @@ void Graphic3d_Plotter::Destroy () {
//-Methods, in order
Standard_Boolean Graphic3d_Plotter::BeginPlot (const Handle(Graphic3d_DataStructureManager)& aProjector) {
Standard_Boolean Graphic3d_Plotter::BeginPlot (const Handle(Graphic3d_DataStructureManager)& /*aProjector*/) {
if (MyPlottingState)
Graphic3d_PlotterDefinitionError::Raise

View File

@ -2378,8 +2378,14 @@ void Graphic3d_Structure::Plot (const Handle(Graphic3d_Plotter)& ) {
}
void Graphic3d_Structure::SetManager (const Handle(Graphic3d_StructureManager)& AManager, const Standard_Boolean WithPropagation) {
void Graphic3d_Structure::SetManager (const Handle(Graphic3d_StructureManager)& AManager,
const Standard_Boolean
#ifdef IMPLEMENTED
WithPropagation
#endif
)
{
// All connected structures should follow ?
#ifdef IMPLEMENTED
if (WithPropagation) {

View File

@ -60,8 +60,8 @@ HLRBRep_CurveTool::NbSamples (const Standard_Address C)
Standard_Integer
HLRBRep_CurveTool::NbSamples (const Standard_Address C,
const Standard_Real u1,
const Standard_Real u2)
const Standard_Real /*u1*/,
const Standard_Real /*u2*/)
{
GeomAbs_CurveType typC = ((HLRBRep_Curve *)C)->GetType();
static Standard_Real nbsOther = 10.0;

View File

@ -98,7 +98,7 @@ HLRBRep_CurveTool::Intervals(const Standard_Address C,
//=======================================================================
inline void
HLRBRep_CurveTool::GetInterval(const Standard_Address C,
HLRBRep_CurveTool::GetInterval(const Standard_Address /*C*/,
const Standard_Integer i,
const TColStd_Array1OfReal& Tab,
Standard_Real& a,
@ -285,7 +285,7 @@ HLRBRep_CurveTool::Hyperbola (const Standard_Address C)
//=======================================================================
inline Handle(Geom2d_BezierCurve)
HLRBRep_CurveTool::Bezier (const Standard_Address C)
HLRBRep_CurveTool::Bezier (const Standard_Address /*C*/)
{
cout<<" HLRBRep_CurveTool::Bezier : Not Implemented "<<endl;
//-- return(((HLRBRep_Curve *)C)->Bezier());
@ -298,7 +298,7 @@ inline Handle(Geom2d_BezierCurve)
//=======================================================================
inline Handle(Geom2d_BSplineCurve)
HLRBRep_CurveTool::BSpline (const Standard_Address C)
HLRBRep_CurveTool::BSpline (const Standard_Address /*C*/)
{
cout<<" HLRBRep_CurveTool::BSpline : Not Implemented "<<endl;
//-- return(((HLRBRep_Curve *)C)->BSpline());
@ -311,7 +311,7 @@ inline Handle(Geom2d_BSplineCurve)
//=======================================================================
inline Standard_Real
HLRBRep_CurveTool::EpsX(const Standard_Address C)
HLRBRep_CurveTool::EpsX(const Standard_Address /*C*/)
{ return(1e-10); }

View File

@ -1846,7 +1846,7 @@ void HLRBRep_Data::OrientOthEdge (const Standard_Integer I,
VertMax[15] = (Standard_Integer)((myDeca[15]+TotMax[15])*mySurD[15]);
TopAbs_State
HLRBRep_Data::Classify (const Standard_Integer E,
HLRBRep_Data::Classify (const Standard_Integer /*E*/,
const HLRBRep_EdgeData& ED,
const Standard_Boolean LevelFlag,
Standard_Integer& Level,
@ -2148,7 +2148,7 @@ HLRBRep_Data::Classify (const Standard_Integer E,
//purpose :
//=======================================================================
TopAbs_State HLRBRep_Data::SimplClassify (const Standard_Integer E,
TopAbs_State HLRBRep_Data::SimplClassify (const Standard_Integer /*E*/,
const HLRBRep_EdgeData& ED,
const Standard_Integer Nbp,
const Standard_Real p1,

View File

@ -128,11 +128,11 @@ void HLRBRep_Intersector::Perform (const Standard_Address A1,
//purpose :
//=======================================================================
void HLRBRep_Intersector::Perform (const Standard_Integer nA,
void HLRBRep_Intersector::Perform (const Standard_Integer /*nA*/,
const Standard_Address A1,
const Standard_Real da1,
const Standard_Real db1,
const Standard_Integer nB,
const Standard_Integer /*nB*/,
const Standard_Address A2,
const Standard_Real da2,
const Standard_Real db2,

View File

@ -36,7 +36,7 @@ HLRTest_OutLiner::HLRTest_OutLiner (const TopoDS_Shape& S)
//purpose :
//=======================================================================
void HLRTest_OutLiner::DrawOn (Draw_Display& dis) const
void HLRTest_OutLiner::DrawOn (Draw_Display& /*dis*/) const
{
}

View File

@ -171,7 +171,7 @@ void HLRTopoBRep_DSFiller::Insert (const TopoDS_Shape& S,
//purpose : private, insert the outlines of a face
//=======================================================================
void HLRTopoBRep_DSFiller::InsertFace (const Standard_Integer FI,
void HLRTopoBRep_DSFiller::InsertFace (const Standard_Integer /*FI*/,
const TopoDS_Face& F,
Contap_Contour& FO,
HLRTopoBRep_Data& DS,

View File

@ -28,8 +28,8 @@ IFSelect_ModifEditForm::IFSelect_ModifEditForm
void IFSelect_ModifEditForm::Perform
(IFSelect_ContextModif& ctx,
const Handle(Interface_InterfaceModel)& target,
const Handle(Interface_Protocol)& protocol,
Interface_CopyTool& TC) const
const Handle(Interface_Protocol)& /*protocol*/,
Interface_CopyTool& /*TC*/) const
{
for (ctx.Start(); ctx.More(); ctx.Next()) {
Standard_Boolean done = theedit->ApplyData(ctx.ValueResult(),target);

View File

@ -22,9 +22,10 @@
IFSelect_ModifReorder::IFSelect_ModifReorder (const Standard_Boolean rootlast)
: IFSelect_Modifier (Standard_True) { thertl = rootlast; }
void IFSelect_ModifReorder::Perform
(IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target,
const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const
void IFSelect_ModifReorder::Perform (IFSelect_ContextModif& ctx,
const Handle(Interface_InterfaceModel)& target,
const Handle(Interface_Protocol)& /*protocol*/,
Interface_CopyTool& /*TC*/) const
{
Interface_ShareTool sht (ctx.OriginalGraph());
Interface_EntityIterator list = sht.All (ctx.OriginalModel(),thertl);

View File

@ -50,18 +50,18 @@ TCollection_AsciiString IFSelect_ParamEditor::Label () const
{ return thelabel; }
Standard_Boolean IFSelect_ParamEditor::Recognize
(const Handle(IFSelect_EditForm)& form) const
(const Handle(IFSelect_EditForm)& /*form*/) const
{ return Standard_True; } // pas de contrainte
Handle(TCollection_HAsciiString) IFSelect_ParamEditor::StringValue
(const Handle(IFSelect_EditForm)& form,const Standard_Integer num) const
(const Handle(IFSelect_EditForm)& /*form*/,const Standard_Integer num) const
{ return TypedValue(num)->HStringValue(); }
Standard_Boolean IFSelect_ParamEditor::Load
(const Handle(IFSelect_EditForm)& form,
const Handle(Standard_Transient)& ent,
const Handle(Interface_InterfaceModel)& model) const
const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& /*model*/) const
{
Standard_Integer i, nb = NbValues();
for (i = 1; i <= nb; i ++) form->LoadValue (i,TypedValue(i)->HStringValue());
@ -72,8 +72,8 @@ Standard_Boolean IFSelect_ParamEditor::Load
Standard_Boolean IFSelect_ParamEditor::Apply
(const Handle(IFSelect_EditForm)& form,
const Handle(Standard_Transient)& ent,
const Handle(Interface_InterfaceModel)& model) const
const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& /*model*/) const
{
Standard_Integer i, nb = NbValues();
for (i = 1; i <= nb; i ++)

View File

@ -144,8 +144,8 @@ static Standard_Integer multsign
}
Standard_Boolean IFSelect_SelectSignature::Sort
(const Standard_Integer , const Handle(Standard_Transient)& ent,
const Handle(Interface_InterfaceModel)& model) const
(const Standard_Integer , const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& /*model*/) const
{ return Standard_True; }
const TCollection_AsciiString& IFSelect_SelectSignature::SignatureText () const

View File

@ -28,9 +28,9 @@ IFSelect_SignAncestor::IFSelect_SignAncestor (const Standard_Boolean nopk)
: IFSelect_SignType (nopk) { }
Standard_Boolean IFSelect_SignAncestor::Matches(const Handle(Standard_Transient)& ent,
const Handle(Interface_InterfaceModel)& model,
const Handle(Interface_InterfaceModel)& /*model*/,
const TCollection_AsciiString& text,
const Standard_Boolean exact) const
const Standard_Boolean /*exact*/) const
{
if (ent.IsNull()) return Standard_False;
DeclareAndCast(Standard_Type,atype,ent);

View File

@ -29,7 +29,7 @@ static Standard_CString nulsign = "";
Standard_CString IFSelect_SignType::Value
(const Handle(Standard_Transient)& ent,
const Handle(Interface_InterfaceModel)& model) const
const Handle(Interface_InterfaceModel)& /*model*/) const
{
if (ent.IsNull()) return nulsign;
DeclareAndCast(Standard_Type,atype,ent);

Some files were not shown because too many files have changed in this diff Show More