//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 )& )");
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),
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),
//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)
{
//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*/)
{
{ 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();
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 =
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 =
Last
#endif
,const Standard_Real
-#ifndef No_Exception
- Tol
-#endif
) const
{
#ifndef No_Exception
//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)
{
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,
#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);
}
// 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;
}
// 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,
// 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,
}
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;
}
//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;
}
//! 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;
//purpose :
//=======================================================================
-const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Shape& S)
+const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Shape&)
{
myGenerated.Clear();
//purpose :
//=======================================================================
-const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Shape& S)
+const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Shape&)
{
myGenerated.Clear();
//purpose :
//=======================================================================
-Standard_Boolean BRepBuilderAPI_MakeShape::IsDeleted (const TopoDS_Shape& S)
+Standard_Boolean BRepBuilderAPI_MakeShape::IsDeleted (const TopoDS_Shape&)
{
return Standard_False;
//=======================================================================
BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert (const TopoDS_Shape& S,
- const Standard_Boolean Copy)
+ const Standard_Boolean Copy)
{
myModification = new BRepTools_NurbsConvertModification();
//=======================================================================
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);
//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)
//purpose :
//=======================================================================
-void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean polar )
+void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean /*polar*/ )
{
// reorganize the wires respecting orientation and origin
const TopoDS_Wire& Pr,
const BRepMAT2d_BisectingLocus& Locus,
BRepMAT2d_LinkTopoBilo& Link,
- const GeomAbs_JoinType Join)
+ const GeomAbs_JoinType /*Join*/)
{
#ifdef DRAW
//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;
void BRepFill_Pipe::Perform(const TopoDS_Wire& Spine,
const TopoDS_Shape& Profile,
- const Standard_Boolean KPart)
+ const Standard_Boolean /*KPart*/)
{
mySections.Nullify();
//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 );
}
//! 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;
//=======================================================================
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();
}
//purpose :
//=======================================================================
-static void ExtentEdge(const TopoDS_Face& F,
+static void ExtentEdge(const TopoDS_Face& /*F*/,
const TopoDS_Edge& E,
TopoDS_Edge& NE)
{
//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)
{
//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;
//purpose :
//=======================================================================
-void BRepOffset_Inter3d::AddCommonEdges(const TopTools_ListOfShape& SetOfFaces)
+void BRepOffset_Inter3d::AddCommonEdges(const TopTools_ListOfShape&)
{
}
//purpose :
//=======================================================================
-void BRepOffset_MakeOffset::SelfInter(TopTools_MapOfShape& Modif)
+void BRepOffset_MakeOffset::SelfInter(TopTools_MapOfShape& /*Modif*/)
{
#ifdef DEB
if ( ChronBuild) {
// share edges that were reconstructed.
//=======================================================================
-void BRepOffset_MakeOffset::MakeFaces(TopTools_IndexedMapOfShape& Modif)
+void BRepOffset_MakeOffset::MakeFaces(TopTools_IndexedMapOfShape& /*Modif*/)
{
#ifdef DEb
if (ChronBuild) {
//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)
{
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;
//=======================================================================
// 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;
#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) ;
}
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);
}
}
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();
//=======================================================================
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;
}
//=======================================================================
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);
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;
if(ProjOnCurve.IsDone()) {
Curve2d = ProjOnCurve.BSpline();
-
return Standard_True;
}
else {
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;
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);
Curve2d = Handle(Geom2d_Curve)::DownCast(C2d->Copy());
return Standard_True;
}
-
return Standard_False;
}
if(!newE.IsNull()) {
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;
}
//=======================================================================
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;
}
}
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();
}
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);
}
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;
//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) {
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;
//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;
//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");
}
//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;
//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");
}
//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");
}
//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");
}
//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();
//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.;
//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;
//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");
}
//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");
//purpose :
//=======================================================================
-gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real U) const
+gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real) const
{
return myPnt;
}
//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;
}
//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");
}
//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");
}
//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");
}
//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();
//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.;
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;
}
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;
}
//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");
}
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)
{
//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");
}
//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,
//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);
}
//=======================================================================
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;
}
//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);
}
//=======================================================================
//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,
//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);
}
//=======================================================================
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;
}
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");
}
//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);
}
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;
}
#include <TCollection_ExtendedString.hxx>
CDM_NullMessageDriver::CDM_NullMessageDriver() {}
-void CDM_NullMessageDriver::Write(const Standard_ExtString aString) {
+void CDM_NullMessageDriver::Write(const Standard_ExtString /*aString*/) {
}
//=======================================================================
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)
//=======================================================================
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();
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,
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,
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,
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,
//purpose :
//=======================================================================
-void DDF_Data::DrawOn(Draw_Display& dis) const
+void DDF_Data::DrawOn(Draw_Display& /*dis*/) const
{ cout<<"DDF_Data"<<endl; }
//=======================================================================
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);
}
//=======================================================================
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());
//=======================================================================
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());
//purpose :
//=======================================================================
-void DDataStd_TreeBrowser::DrawOn(Draw_Display& dis) const
+void DDataStd_TreeBrowser::DrawOn(Draw_Display& /*dis*/) const
{ cout<<"DDataStd_TreeBrowser"<<endl; }
//=======================================================================
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");
//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;
//purpose :
//=======================================================================
-void DDocStd_DrawDocument::DrawOn(Draw_Display& dis) const
+void DDocStd_DrawDocument::DrawOn(Draw_Display& /*dis*/) const
{
}
//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;
}
//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;
}
//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;
}
//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;
}
//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;
}
//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)
{
// : "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)
{
//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)
{
//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)
{
//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)
{
//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;
}
//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;
}
//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;
}
//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;
}
//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;
}
/*--------------------------------------------------------*\
| CREATE COMMAND WINDOW PROCEDURE
\*--------------------------------------------------------*/
-HWND CreateCommandWindow(HWND hWnd, int nitem)
+HWND CreateCommandWindow(HWND hWnd, int /*nitem*/)
{
HINSTANCE hInstance;
//purpose :
//=======================================================================
#ifdef _WIN32
-static unsigned int __stdcall CpuFunc (void * param)
+static unsigned int __stdcall CpuFunc (void * /*param*/)
{
clock_t aCurrent;
for(;;)
}
#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
//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);
//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);
//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;
//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)
| 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;
-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,
//==========================================================================
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,
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);
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));
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);
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;
//==============================================================================
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);
//==============================================================================
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) {
//==============================================================================
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));
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),
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) ,
GccAna_Circ2d3Tan (const GccEnt_QualifiedLin& Qualified1,
const GccEnt_QualifiedLin& Qualified2,
const GccEnt_QualifiedLin& Qualified3,
- const Standard_Real
-#ifdef DEB
- Tolerance
-#endif
+ const Standard_Real
):
//=========================================================================
-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;
}
-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;
//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));
}
//=======================================================================
void GeomFill_DiscreteTrihedron::Intervals(TColStd_Array1OfReal& T,
- const GeomAbs_Shape S) const
+ const GeomAbs_Shape) const
{
myTrimmed->Intervals(T, GeomAbs_CN);
}
#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
const gp_Vec& ,
Standard_Real& DFDT,
// Standard_Real& ,
- Standard_Real& D2FDT2,
+ Standard_Real& /*D2FDT2*/,
// Standard_Real& D2FDTDX)
Standard_Real& )
{
// 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)
// 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)
//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;
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;
//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]);
//-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
}
-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) {
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;
//=======================================================================
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,
//=======================================================================
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());
//=======================================================================
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());
//=======================================================================
inline Standard_Real
-HLRBRep_CurveTool::EpsX(const Standard_Address C)
+HLRBRep_CurveTool::EpsX(const Standard_Address /*C*/)
{ return(1e-10); }
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,
//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,
//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,
//purpose :
//=======================================================================
-void HLRTest_OutLiner::DrawOn (Draw_Display& dis) const
+void HLRTest_OutLiner::DrawOn (Draw_Display& /*dis*/) const
{
}
//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,
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);
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);
{ 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());
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 ++)
}
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
: 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);
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);
Standard_Integer IGESAppli_GeneralModule::CategoryNumber
- (const Standard_Integer CN, const Handle(Standard_Transient)& ent,
+ (const Standard_Integer CN, const Handle(Standard_Transient)& /*ent*/,
const Interface_ShareTool& ) const
{
if (CN == 4 || CN == 5 || CN == 17) return Interface_Category::Number("Piping");
{ return 1; }
Handle(Interface_Protocol) IGESBasic_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESData::Protocol();
return res;
//purpose :
//=======================================================================
-Standard_Boolean IGESCAFControl_Reader::ReadNames (Handle(TDocStd_Document)& Doc) const
+Standard_Boolean IGESCAFControl_Reader::ReadNames (Handle(TDocStd_Document)& /*Doc*/) const
{
Handle(Interface_InterfaceModel) Model = WS()->Model();
//purpose :
//=======================================================================
-Standard_Boolean IGESCAFControl_Reader::ReadLayers (Handle(TDocStd_Document)& Doc) const
+Standard_Boolean IGESCAFControl_Reader::ReadLayers (Handle(TDocStd_Document)& /*Doc*/) const
{
Handle(Interface_InterfaceModel) Model = WS()->Model();
Standard_Boolean IGESData_GeneralModule::CanCopy
- (const Standard_Integer CN, const Handle(Standard_Transient)& ent) const
+ (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& /*ent*/) const
{ return Standard_True; }
void IGESData_GeneralModule::CopyCase
Standard_Integer IGESData_Protocol::NbResources () const { return 0; }
Handle(Interface_Protocol) IGESData_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{ Handle(Interface_Protocol) nulpro; return nulpro; }
Standard_Integer IGESDefs_GeneralModule::CategoryNumber
- (const Standard_Integer CN, const Handle(Standard_Transient)& ent,
+ (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& /*ent*/,
const Interface_ShareTool& ) const
{
return Interface_Category::Number("Auxiliary");
{ return 1; }
Handle(Interface_Protocol) IGESDefs_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESGraph::Protocol();
return res;
// UNFINISHED
// Array limits not sure.
- Standard_Real IGESDefs_TabularData::DependentValue
- (const Standard_Integer variablenum, const Standard_Integer valuenum) const
+Standard_Real IGESDefs_TabularData::DependentValue (const Standard_Integer /*variablenum*/,
+ const Standard_Integer /*valuenum*/) const
{
Standard_Real val = 0.;
#if 0
Standard_Integer IGESDimen_GeneralModule::CategoryNumber
- (const Standard_Integer CN, const Handle(Standard_Transient)& ,
+ (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& ,
const Interface_ShareTool& ) const
{
return Interface_Category::Number("Drawing");
{ return 1; }
Handle(Interface_Protocol) IGESDraw_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESDimen::Protocol();;
return res;
{ return 1; }
Handle(Interface_Protocol) IGESGeom_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESBasic::Protocol();;
return res;
Standard_Integer IGESGraph_GeneralModule::CategoryNumber
- (const Standard_Integer CN, const Handle(Standard_Transient)& ,
+ (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& ,
const Interface_ShareTool& ) const
{
return Interface_Category::Number("Drawing");
{ return 1; }
Handle(Interface_Protocol) IGESGraph_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESBasic::Protocol();;
return res;
IGESSelect_AddGroup::IGESSelect_AddGroup ()
: IGESSelect_ModelModifier (Standard_True) { }
- void IGESSelect_AddGroup::Performing
- (IFSelect_ContextModif& ctx,
- const Handle(IGESData_IGESModel)& target,
- Interface_CopyTool& TC) const
+void IGESSelect_AddGroup::Performing (IFSelect_ContextModif& ctx,
+ const Handle(IGESData_IGESModel)& target,
+ Interface_CopyTool& /*TC*/) const
{
if (ctx.IsForAll()) {
ctx.CCheck(0)->AddFail ("Add Group : Selection required not defined");
{ return TCollection_AsciiString ("IGES Header"); }
Standard_Boolean IGESSelect_EditDirPart::Recognize
- (const Handle(IFSelect_EditForm)& form) const
+ (const Handle(IFSelect_EditForm)& /*form*/) const
{ return Standard_True; } // ??
Handle(TCollection_HAsciiString) IGESSelect_EditDirPart::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();
(const Handle(IFSelect_EditForm)& form,
const Standard_Integer num,
const Handle(TCollection_HAsciiString)& val,
- const Standard_Boolean enforce) const
+ const Standard_Boolean /*enforce*/) const
{
Handle(TCollection_HAsciiString) nulstr;
Handle(IGESData_IGESModel) modl =
{ return TCollection_AsciiString ("IGES Header"); }
Standard_Boolean IGESSelect_EditHeader::Recognize
- (const Handle(IFSelect_EditForm)& form) const
+ (const Handle(IFSelect_EditForm)& /*form*/) const
{ return Standard_True; } // ??
Handle(TCollection_HAsciiString) IGESSelect_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();
Standard_Boolean IGESSelect_EditHeader::Load
(const Handle(IFSelect_EditForm)& form,
- const Handle(Standard_Transient)& ent,
+ const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& model) const
{
Handle(IGESData_IGESModel) modl =
Standard_Boolean IGESSelect_EditHeader::Apply
(const Handle(IFSelect_EditForm)& form,
- const Handle(Standard_Transient)& ent,
+ const Handle(Standard_Transient)& /*ent*/,
const Handle(Interface_InterfaceModel)& model) const
{
Handle(IGESData_IGESModel) modl =
void IGESSelect_FloatFormat::Perform
- (IFSelect_ContextWrite& ctx,
+ (IFSelect_ContextWrite& /*ctx*/,
IGESData_IGESWriter& writer) const
{
writer.FloatWriter().SetFormat (themainform.ToCString());
Standard_CString IGESSelect_IGESName::Value
(const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return &falsetype[0];
Standard_CString IGESSelect_IGESTypeForm::Value
(const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return &falsetype[0];
}
- void IGESSelect_RemoveCurves::Performing
- (IFSelect_ContextModif& ctx,
- const Handle(IGESData_IGESModel)& target,
- Interface_CopyTool& TC) const
+void IGESSelect_RemoveCurves::Performing (IFSelect_ContextModif& ctx,
+ const Handle(IGESData_IGESModel)& /*target*/,
+ Interface_CopyTool& /*TC*/) const
{
for (ctx.Start(); ctx.More(); ctx.Next()) {
if (Edit (ctx.ValueResult(),theUV) ) ctx.Trace ();
: IFSelect_SelectExplore (-1) { thegeom = mode; }
Standard_Boolean IGESSelect_SelectBasicGeom::Explore
- (const Standard_Integer level, const Handle(Standard_Transient)& ent,
- const Interface_Graph& G, Interface_EntityIterator& explored) const
+ (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent,
+ const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const
{
// thegeom > 0 : curves3d < 0 : surfaces == 0 : curves3d + surfaces libres
Standard_Boolean IGESSelect_SelectBypassGroup::Explore
- (const Standard_Integer level, const Handle(Standard_Transient)& ent,
- const Interface_Graph& G, Interface_EntityIterator& explored) const
+ (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent,
+ const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const
{
DeclareAndCast(IGESBasic_Group,gr,ent); // Group les regroupe tous
if (gr.IsNull()) return Standard_True;
Standard_Boolean IGESSelect_SelectBypassSubfigure::Explore
- (const Standard_Integer level, const Handle(Standard_Transient)& ent,
- const Interface_Graph& G, Interface_EntityIterator& explored) const
+ (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent,
+ const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
Standard_Boolean IGESSelect_SelectFaces::Explore
- (const Standard_Integer level, const Handle(Standard_Transient)& ent,
- const Interface_Graph& G, Interface_EntityIterator& explored) const
+ (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent,
+ const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
Standard_Boolean IGESSelect_SelectLevelNumber::Sort
- (const Standard_Integer rank, const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ (const Standard_Integer /*rank*/,
+ const Handle(Standard_Transient)& ent,
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
Standard_Boolean IGESSelect_SelectName::Sort
- (const Standard_Integer rank, const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ (const Standard_Integer /*rank*/,
+ const Handle(Standard_Transient)& ent,
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
Standard_Boolean IGESSelect_SelectPCurves::Explore
(const Standard_Integer level, const Handle(Standard_Transient)& ent,
- const Interface_Graph& G, Interface_EntityIterator& explored) const
+ const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
Standard_Boolean IGESSelect_SelectSubordinate::Sort
(const Standard_Integer, const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
Standard_Boolean IGESSelect_SelectVisibleStatus::Sort
- (const Standard_Integer rank, const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ (const Standard_Integer /*rank*/,
+ const Handle(Standard_Transient)& ent,
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
DeclareAndCast(IGESData_IGESEntity,igesent,ent);
if (igesent.IsNull()) return Standard_False;
: IGESSelect_ModelModifier (Standard_False) ,
themode (mode) , theforce (enforce) { }
- void IGESSelect_SetLabel::Performing
- (IFSelect_ContextModif& ctx,
- const Handle(IGESData_IGESModel)& target,
- Interface_CopyTool& TC) const
+ void IGESSelect_SetLabel::Performing(IFSelect_ContextModif& ctx,
+ const Handle(IGESData_IGESModel)& target,
+ Interface_CopyTool& /*TC*/) const
{
Handle(TCollection_HAsciiString) lab;
for (ctx.Start(); ctx.More(); ctx.Next()) {
Standard_CString IGESSelect_SignStatus::Value
(const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
Handle(IGESData_IGESEntity) igesent = Handle(IGESData_IGESEntity)::DownCast(ent);
if (igesent.IsNull()) return "";
Standard_Boolean IGESSelect_SignStatus::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
{
Handle(IGESData_IGESEntity) igesent = Handle(IGESData_IGESEntity)::DownCast(ent);
IGESSelect_UpdateFileName::IGESSelect_UpdateFileName ()
: IGESSelect_ModelModifier (Standard_False) { }
- void IGESSelect_UpdateFileName::Performing
- (IFSelect_ContextModif& ctx, const Handle(IGESData_IGESModel)& target,
- Interface_CopyTool& TC) const
+void IGESSelect_UpdateFileName::Performing (IFSelect_ContextModif& ctx,
+ const Handle(IGESData_IGESModel)& target,
+ Interface_CopyTool& /*TC*/) const
{
if (!ctx.HasFileName()) {
ctx.CCheck(0)->AddWarning("New File Name unknown, former one is kept");
Standard_Integer IGESSolid_GeneralModule::CategoryNumber
- (const Standard_Integer CN, const Handle(Standard_Transient)& ,
+ (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& ,
const Interface_ShareTool& ) const
{
return Interface_Category::Number("Shape");
{ return 1; }
Handle(Interface_Protocol) IGESSolid_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESGeom::Protocol();;
return res;
Standard_Integer IGESSolid_ReadWriteModule::CaseIGES
- (const Standard_Integer typenum, const Standard_Integer formnum) const
+ (const Standard_Integer typenum, const Standard_Integer /*formnum*/) const
{
switch (typenum) {
case 150 : return 1;
// function : InitWrapper
// purpose :
// =======================================================================
-bool Image_AlienPixMap::InitWrapper (ImgFormat thePixelFormat,
- Standard_Byte* theDataPtr,
- const Standard_Size theSizeX,
- const Standard_Size theSizeY,
- const Standard_Size theSizeRowBytes)
+bool Image_AlienPixMap::InitWrapper (ImgFormat,
+ Standard_Byte*,
+ const Standard_Size,
+ const Standard_Size,
+ const Standard_Size)
{
Clear();
return false;
// function : Load
// purpose :
// =======================================================================
+#ifdef HAVE_FREEIMAGE
bool Image_AlienPixMap::Load (const TCollection_AsciiString& theImagePath)
{
Clear();
-#ifdef HAVE_FREEIMAGE
-
FREE_IMAGE_FORMAT aFIF = FreeImage_GetFileType (theImagePath.ToCString(), 0);
if (aFIF == FIF_UNKNOWN)
{
// assign image after wrapper initialization (virtual Clear() called inside)
myLibImage = anImage;
return true;
+}
#else
+bool Image_AlienPixMap::Load (const TCollection_AsciiString&)
+{
+ Clear();
return false;
-#endif
}
+#endif
// =======================================================================
// function : savePPM
// function : AdjustGamma
// purpose :
// =======================================================================
+#ifdef HAVE_FREEIMAGE
Standard_EXPORT bool Image_AlienPixMap::AdjustGamma (const Standard_Real theGammaCorr)
{
-#ifdef HAVE_FREEIMAGE
return FreeImage_AdjustGamma (myLibImage, theGammaCorr) != FALSE;
+}
#else
- return false;
-#endif
+Standard_EXPORT bool Image_AlienPixMap::AdjustGamma (const Standard_Real)
+{
+ return false;
}
+#endif
,const Standard_Real TolConf
,const Standard_Real Tol
,const Standard_Integer NbIter
- ,const Standard_Real DeltaU
+ ,const Standard_Real /*DeltaU*/
,const Standard_Real) {
gp_Vec2d Tan1,Tan2,Norm1,Norm2;
}
-Standard_Integer IntPolyh_Intersection::NbPointsInTangentZone(const Standard_Integer IndexLine) const {
+Standard_Integer IntPolyh_Intersection::NbPointsInTangentZone(const Standard_Integer) const {
//-- IndexLine--; (pas implemente) Attention : Tableaux de 0 a n-1
// eap
// return(TTangentZones.NbTangentZones());
void IntPolyh_Intersection::GetTangentZonePoint(const Standard_Integer Indexz,
- const Standard_Integer Indexp,
+ const Standard_Integer /*Indexp*/,
Standard_Real &x,
Standard_Real &y,
Standard_Real &z,
//purpose :
//=======================================================================
void TestOldEdgeB(const Standard_Integer NumTA,
- const Standard_Integer numPtT1,
- const Standard_Integer numPtT2,
- const Standard_Integer T1,
- const Standard_Integer T2,
- const IntPolyh_ArrayOfTriangles & TTriangles,
- const Standard_Integer Edge1,
- const Standard_Integer Edge3,
- IntPolyh_ArrayOfEdges & TEdges )
+ const Standard_Integer numPtT1,
+ const Standard_Integer /*numPtT2*/,
+ const Standard_Integer T1,
+ const Standard_Integer T2,
+ const IntPolyh_ArrayOfTriangles & /*TTriangles*/,
+ const Standard_Integer Edge1,
+ const Standard_Integer Edge3,
+ IntPolyh_ArrayOfEdges & TEdges )
{
if( (TEdges[Edge1].FirstPoint() == numPtT1)
void Interface_FileReaderData::InitParams (const Standard_Integer num)
{
thenumpar.SetValue (num,theparams->NbParams());
- //thenbpar.SetValue (num,0);
}
void Interface_FileReaderData::AddParam
- (const Standard_Integer num,
+ (const Standard_Integer /*num*/,
const Standard_CString aval, const Interface_ParamType atype,
const Standard_Integer nument)
{
}
void Interface_FileReaderData::AddParam
- (const Standard_Integer num,
+ (const Standard_Integer /*num*/,
const TCollection_AsciiString& aval, const Interface_ParamType atype,
const Standard_Integer nument)
{
}
void Interface_FileReaderData::AddParam
- (const Standard_Integer num,
+ (const Standard_Integer /*num*/,
const Interface_FileParameter& FP)
{
theparams->Append(FP);
Interface_Graph::Interface_Graph
(const Handle(Interface_InterfaceModel)& amodel,
- const Interface_GeneralLib& lib,
+ const Interface_GeneralLib& /*lib*/,
Standard_Boolean theModeStat)
: themodel (amodel), thepresents ("")
{
Interface_Graph::Interface_Graph
(const Handle(Interface_InterfaceModel)& amodel,
- const Handle(Interface_Protocol)& protocol,
+ const Handle(Interface_Protocol)& /*protocol*/,
Standard_Boolean theModeStat)
: themodel (amodel) , thepresents ("")
Interface_Graph::Interface_Graph
(const Handle(Interface_InterfaceModel)& amodel,
- const Handle(Interface_GTool)& gtool,
+ const Handle(Interface_GTool)& /*gtool*/,
Standard_Boolean theModeStat)
: themodel (amodel) , thepresents ("")
{
return val;
}
-Standard_Boolean Interface_IntList::Remove (const Standard_Integer num)
+Standard_Boolean Interface_IntList::Remove (const Standard_Integer)
{
return Standard_False; // not yet implemented
}
} /* end cPrintf */
-int fcPrintf ( int dummy, char* fmt, ... ) {
+int fcPrintf ( int /*dummy*/, char* fmt, ... ) {
static BOOL first = TRUE;
static HANDLE hConsole = NULL;
#endif
-void Intf_InterferencePolygonPolyhedron::Intersect
- (const gp_Pnt& BegO, const gp_Pnt& EndO, const Standard_Boolean Infinite,
- const Standard_Integer TTri, const Polyhedron& thePolyh, const gp_XYZ& TriNormal,
- const Standard_Real TriDp, const Standard_Real dBegTri, const Standard_Real dEndTri)
+void Intf_InterferencePolygonPolyhedron::Intersect (const gp_Pnt& BegO,
+ const gp_Pnt& EndO,
+ const Standard_Boolean Infinite,
+ const Standard_Integer TTri,
+ const Polyhedron& thePolyh,
+ const gp_XYZ& TriNormal,
+ const Standard_Real /*TriDp*/,
+ const Standard_Real dBegTri,
+ const Standard_Real dEndTri)
{
Intf_PIType typOnG=Intf_EDGE;
Standard_Real t;
//purpose : Dump the TangentZone.
//=======================================================================
-void Intf_TangentZone::Dump (const Standard_Integer
- Indent
- ) const
+void Intf_TangentZone::Dump (const Standard_Integer /*Indent*/) const
{
#if DEBUG_TANGENTZONE
for (Standard_Integer id=0; id<Indent; id++) cout << " ";
//purpose :
//=======================================================================
-inline void LocOpe_WiresOnShape::SetCheckInterior(const Standard_Boolean ToCheckInterior)
+inline void LocOpe_WiresOnShape::SetCheckInterior(const Standard_Boolean)
{
myCheckInterior = ToCheckInterior;
}
// Indice = 4 vert.
//==========================================================================
void MAT2d_DrawCurve(const Handle(Geom2d_Curve)& aCurve,
- const Standard_Integer Indice)
+ const Standard_Integer /*Indice*/)
{
Handle(Standard_Type) type = aCurve->DynamicType();
Handle(Geom2d_Curve) curve,CurveDraw;
// Indice = 4 vert.
//==========================================================================
void MAT2d_DrawCurve(const Handle(Geom2d_Curve)& aCurve,
- const Standard_Integer Indice)
+ const Standard_Integer /*Indice*/)
{
Handle(Standard_Type) type = aCurve->DynamicType();
Handle(Geom2d_Curve) curve,CurveDraw;
//=======================================================================
void MDataStd_BooleanListStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_BooleanList) S = Handle(TDataStd_BooleanList)::DownCast (Source);
Handle(PDataStd_BooleanList) T = Handle(PDataStd_BooleanList)::DownCast (Target);
Handle(TDF_Attribute) MDataStd_DirectoryRetrievalDriver::NewEmpty() const
{ return new TDataStd_Directory; }
-void MDataStd_DirectoryRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
+void MDataStd_DirectoryRetrievalDriver::Paste(const Handle(PDF_Attribute)&,
+ const Handle(TDF_Attribute)& ,
+ const Handle(MDF_RRelocationTable)&) const
{
}
//=======================================================================
void MDataStd_ExtStringListStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_ExtStringList) S = Handle(TDataStd_ExtStringList)::DownCast (Source);
Handle(PDataStd_ExtStringList) T = Handle(PDataStd_ExtStringList)::DownCast (Target);
void MDataStd_IntegerArrayStorageDriver::Paste (
const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_IntegerArray) S = Handle(TDataStd_IntegerArray)::DownCast (Source);
Handle(PDataStd_IntegerArray_1) T = Handle(PDataStd_IntegerArray_1)::DownCast (Target);
//=======================================================================
void MDataStd_IntegerListStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_IntegerList) S = Handle(TDataStd_IntegerList)::DownCast (Source);
Handle(PDataStd_IntegerList) T = Handle(PDataStd_IntegerList)::DownCast (Target);
//=======================================================================
void MDataStd_NamedDataStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_NamedData) S = Handle(TDataStd_NamedData)::DownCast (Source);
Handle(PDataStd_NamedData) T = Handle(PDataStd_NamedData)::DownCast (Target);
void MDataStd_RealArrayStorageDriver::Paste (
const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_RealArray) S = Handle(TDataStd_RealArray)::DownCast (Source);
Handle(PDataStd_RealArray_1) T = Handle(PDataStd_RealArray_1)::DownCast (Target);
//=======================================================================
void MDataStd_RealListStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_RealList) S = Handle(TDataStd_RealList)::DownCast (Source);
Handle(PDataStd_RealList) T = Handle(PDataStd_RealList)::DownCast (Target);
//=======================================================================
void MDataStd_ReferenceArrayStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_ReferenceArray) S = Handle(TDataStd_ReferenceArray)::DownCast (Source);
Handle(PDataStd_ReferenceArray) T = Handle(PDataStd_ReferenceArray)::DownCast (Target);
//=======================================================================
void MDataStd_ReferenceListStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataStd_ReferenceList) S = Handle(TDataStd_ReferenceList)::DownCast (Source);
Handle(PDataStd_ReferenceList) T = Handle(PDataStd_ReferenceList)::DownCast (Target);
void MDataStd_UAttributeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PDataStd_UAttribute) S = Handle(PDataStd_UAttribute)::DownCast (Source);
Handle(TDataStd_UAttribute) T = Handle(TDataStd_UAttribute)::DownCast (Target);
Handle(TDF_Attribute) MDataXtd_ShapeRetrievalDriver::NewEmpty() const
{ return new TDataXtd_Shape; }
-void MDataXtd_ShapeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
+void MDataXtd_ShapeRetrievalDriver::Paste(const Handle(PDF_Attribute)& /*Source*/,
+ const Handle(TDF_Attribute)& /*Target*/,
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
}
Handle(TDF_Attribute) MPrsStd_AISPresentationRetrievalDriver::NewEmpty() const
{ return new TPrsStd_AISPresentation; }
-void MPrsStd_AISPresentationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
+void MPrsStd_AISPresentationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
+ const Handle(TDF_Attribute)& Target,
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PPrsStd_AISPresentation) S = Handle(PPrsStd_AISPresentation)::DownCast (Source);
Handle(TPrsStd_AISPresentation) T = Handle(TPrsStd_AISPresentation)::DownCast (Target);
Handle(TDF_Attribute) MPrsStd_AISPresentationRetrievalDriver_1::NewEmpty() const
{ return new TPrsStd_AISPresentation; }
-void MPrsStd_AISPresentationRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
+void MPrsStd_AISPresentationRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,
+ const Handle(TDF_Attribute)& Target,
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PPrsStd_AISPresentation_1) S = Handle(PPrsStd_AISPresentation_1)::DownCast (Source);
Handle(TPrsStd_AISPresentation) T = Handle(TPrsStd_AISPresentation)::DownCast (Target);
void MPrsStd_AISPresentationStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TPrsStd_AISPresentation) S = Handle(TPrsStd_AISPresentation)::DownCast (Source);
//=======================================================================
void MPrsStd_PositionRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PDataXtd_Position) S = Handle(PDataXtd_Position)::DownCast (Source);
Handle(TDataXtd_Position) T = Handle(TDataXtd_Position)::DownCast (Target);
//=======================================================================
void MPrsStd_PositionStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(TDataXtd_Position) S = Handle(TDataXtd_Position)::DownCast (Source);
Handle(PDataXtd_Position) T = Handle(PDataXtd_Position)::DownCast (Target);
void MXCAFDoc_AreaRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PXCAFDoc_Area) S = Handle(PXCAFDoc_Area)::DownCast (Source);
Handle(XCAFDoc_Area) T = Handle(XCAFDoc_Area)::DownCast (Target);
void MXCAFDoc_AreaStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(XCAFDoc_Area) S = Handle(XCAFDoc_Area)::DownCast (Source);
Handle(PXCAFDoc_Area) T = Handle(PXCAFDoc_Area)::DownCast (Target);
void MXCAFDoc_CentroidRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PXCAFDoc_Centroid) S = Handle(PXCAFDoc_Centroid)::DownCast (Source);
Handle(XCAFDoc_Centroid) T = Handle(XCAFDoc_Centroid)::DownCast (Target);
//=======================================================================
void MXCAFDoc_CentroidStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
- const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(PDF_Attribute)& Target,
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(XCAFDoc_Centroid) S = Handle(XCAFDoc_Centroid)::DownCast (Source);
Handle(PXCAFDoc_Centroid) T = Handle(PXCAFDoc_Centroid)::DownCast (Target);
void MXCAFDoc_DatumRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PXCAFDoc_Datum) S = Handle(PXCAFDoc_Datum)::DownCast (Source);
Handle(XCAFDoc_Datum) T = Handle(XCAFDoc_Datum)::DownCast (Target);
//=======================================================================
void MXCAFDoc_DatumStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
- const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(PDF_Attribute)& Target,
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(XCAFDoc_Datum) S = Handle(XCAFDoc_Datum)::DownCast (Source);
Handle(PXCAFDoc_Datum) T = Handle(PXCAFDoc_Datum)::DownCast (Target);
void MXCAFDoc_DimTolRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PXCAFDoc_DimTol) S = Handle(PXCAFDoc_DimTol)::DownCast (Source);
Handle(XCAFDoc_DimTol) T = Handle(XCAFDoc_DimTol)::DownCast (Target);
void MXCAFDoc_DimTolStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(XCAFDoc_DimTol) S = Handle(XCAFDoc_DimTol)::DownCast (Source);
Handle(PXCAFDoc_DimTol) T = Handle(PXCAFDoc_DimTol)::DownCast (Target);
void MXCAFDoc_MaterialRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PXCAFDoc_Material) S = Handle(PXCAFDoc_Material)::DownCast (Source);
Handle(XCAFDoc_Material) T = Handle(XCAFDoc_Material)::DownCast (Target);
void MXCAFDoc_MaterialStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(XCAFDoc_Material) S = Handle(XCAFDoc_Material)::DownCast (Source);
Handle(PXCAFDoc_Material) T = Handle(PXCAFDoc_Material)::DownCast (Target);
void MXCAFDoc_VolumeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
const Handle(TDF_Attribute)& Target,
- const Handle(MDF_RRelocationTable)& RelocTable) const
+ const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
{
Handle(PXCAFDoc_Volume) S = Handle(PXCAFDoc_Volume)::DownCast (Source);
Handle(XCAFDoc_Volume) T = Handle(XCAFDoc_Volume)::DownCast (Target);
void MXCAFDoc_VolumeStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
const Handle(PDF_Attribute)& Target,
- const Handle(MDF_SRelocationTable)& RelocTable) const
+ const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
{
Handle(XCAFDoc_Volume) S = Handle(XCAFDoc_Volume)::DownCast (Source);
Handle(PXCAFDoc_Volume) T = Handle(PXCAFDoc_Volume)::DownCast (Target);
//purpose :
//=======================================================================
-static Standard_Integer MemLeakTest(Draw_Interpretor&, Standard_Integer nbarg, const char** argv)
+static Standard_Integer MemLeakTest(Draw_Interpretor&, Standard_Integer /*nbarg*/, const char** /*argv*/)
{
for(int i=0;i<10000;i++)
{
//purpose :
//=======================================================================
-Standard_Integer onetriangulation(Draw_Interpretor&, Standard_Integer nbarg, const char** argv)
+Standard_Integer onetriangulation(Draw_Interpretor&, Standard_Integer /*nbarg*/, const char** /*argv*/)
{
/*
//purpose :
//=======================================================================
-void MeshTest_DrawableMesh::DrawOn(Draw_Display& D) const
+void MeshTest_DrawableMesh::DrawOn(Draw_Display& /*D*/) const
{
// should be reimplemented!!
/* Handle(BRepMesh_DataStructureOfDelaun) struc = myMesh->Result();
}
}
-void MeshTest_DrawableMesh::Dump(Standard_OStream& S) const
+void MeshTest_DrawableMesh::Dump(Standard_OStream&) const
{
// Should be reimplemented
//function : mpparallel
//purpose :
//=======================================================================
-static int mpparallel (Draw_Interpretor& di, Standard_Integer argc, const char** argv)
+static int mpparallel (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv)
{
if (argc == 2)
{
TCollection_AsciiString MoniTool_SignShape::Text
(const Handle(Standard_Transient)& ent,
- const Handle(Standard_Transient)& context) const
+ const Handle(Standard_Transient)& /*context*/) const
{
if (ent.IsNull()) return "";
Handle(TopoDS_HShape) HS = Handle(TopoDS_HShape)::DownCast(ent);
//=======================================================================
Standard_Boolean NIS_InteractiveObject::Intersect
- (const NCollection_List<gp_XY> &thePolygon,
- const gp_Trsf &theTrf,
- const Standard_Boolean isFull) const
+ (const NCollection_List<gp_XY>& ,
+ const gp_Trsf& ,
+ const Standard_Boolean ) const
{
return Standard_True;
}
#include <NLPlate_HGPPConstraint.ixx>
-void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean UVFree)
+void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean)
{
}
- void NLPlate_HGPPConstraint::SetIncrementalLoadAllowed(const Standard_Boolean ILA)
+ void NLPlate_HGPPConstraint::SetIncrementalLoadAllowed(const Standard_Boolean )
{
}
{
myUV = UV;
}
- void NLPlate_HGPPConstraint::SetOrientation(const Standard_Integer Orient)
+ void NLPlate_HGPPConstraint::SetOrientation(const Standard_Integer /*Orient*/)
{
}
- void NLPlate_HGPPConstraint::SetG0Criterion(const Standard_Real TolDist)
+ void NLPlate_HGPPConstraint::SetG0Criterion(const Standard_Real /*TolDist*/)
{
}
- void NLPlate_HGPPConstraint::SetG1Criterion(const Standard_Real TolAng)
+ void NLPlate_HGPPConstraint::SetG1Criterion(const Standard_Real /*TolAng*/)
{
}
- void NLPlate_HGPPConstraint::SetG2Criterion(const Standard_Real TolCurv)
+ void NLPlate_HGPPConstraint::SetG2Criterion(const Standard_Real /*TolCurv*/)
{
}
- void NLPlate_HGPPConstraint::SetG3Criterion(const Standard_Real TolG3)
+ void NLPlate_HGPPConstraint::SetG3Criterion(const Standard_Real /*TolG3*/)
{
}
//function : IncrementalSolve
//purpose :
//=======================================================================
- void NLPlate_NLPlate::IncrementalSolve(const Standard_Integer ord, const Standard_Integer InitialConsraintOrder,
+ void NLPlate_NLPlate::IncrementalSolve(const Standard_Integer ord, const Standard_Integer /*InitialConsraintOrder*/,
const Standard_Integer NbIncrements, const Standard_Boolean UVSliding)
{
Standard_Integer maxOrder = MaxActiveConstraintOrder();
OSD_DirectoryIterator::OSD_DirectoryIterator() {}
void OSD_DirectoryIterator::Initialize(
- const OSD_Path& /*where*/,
- const TCollection_AsciiString& /*Mask*/){}
+ const OSD_Path&,
+ const TCollection_AsciiString&){}
#endif
OSD_FileIterator::OSD_FileIterator() {}
void OSD_FileIterator::Initialize(
- const OSD_Path& /*where*/,
- const TCollection_AsciiString& /*Mask*/){}
+ const OSD_Path&,
+ const TCollection_AsciiString&){}
#endif
theWorkspace->SetAspectLine (this);
}
-void OpenGl_AspectLine::Release (const Handle(OpenGl_Context)& theContext)
+void OpenGl_AspectLine::Release (const Handle(OpenGl_Context)&)
{
//
}
theWorkspace->SetAspectMarker(this);
}
-void OpenGl_AspectMarker::Release (const Handle(OpenGl_Context)& theContext)
+void OpenGl_AspectMarker::Release (const Handle(OpenGl_Context)&)
{
//
}
// function : Release
// purpose :
// =======================================================================
-void OpenGl_AspectText::Release (const Handle(OpenGl_Context)& theContext)
+void OpenGl_AspectText::Release (const Handle(OpenGl_Context)&)
{
//
}
};
/*----------------------------------------------------------------------*/
-
+#if (defined(_WIN32) || defined(__WIN32__)) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX))
+OpenGl_Display::OpenGl_Display (const Handle(Aspect_DisplayConnection)& )
+#else
OpenGl_Display::OpenGl_Display (const Handle(Aspect_DisplayConnection)& theDisplayConnection)
+#endif
: myDisplay(NULL),
myFacilities(myDefaultFacilities),
myDBuffer(Standard_True),
// purpose :
// =======================================================================
Standard_Boolean OpenGl_GraphicDriver::BeginImmediatMode (const Graphic3d_CView& theCView,
- const Aspect_CLayer2d& theCUnderLayer,
- const Aspect_CLayer2d& theCOverLayer,
+ const Aspect_CLayer2d& /*theCUnderLayer*/,
+ const Aspect_CLayer2d& /*theCOverLayer*/,
const Standard_Boolean theDoubleBuffer,
const Standard_Boolean theRetainMode)
{
return Standard_False;
}
-Standard_Boolean OpenGl_GraphicDriver::UnProjectRaster (const Graphic3d_CView& ACView, const Standard_Integer Axm, const Standard_Integer Aym, const Standard_Integer AXM, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az)
+Standard_Boolean OpenGl_GraphicDriver::UnProjectRaster (const Graphic3d_CView& ACView, const Standard_Integer /*Axm*/, const Standard_Integer Aym, const Standard_Integer /*AXM*/, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az)
{
const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView;
if (!aCView)
return aCView->View->ProjectRasterToObject( aWidth, aHeight, AU, (AYM-1)-Aym-AV, Ax, Ay, Az );
}
-Standard_Boolean OpenGl_GraphicDriver::UnProjectRasterWithRay (const Graphic3d_CView& ACView, const Standard_Integer Axm, const Standard_Integer Aym, const Standard_Integer AXM, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az, Standard_ShortReal& Dx, Standard_ShortReal& Dy, Standard_ShortReal& Dz)
+Standard_Boolean OpenGl_GraphicDriver::UnProjectRasterWithRay (const Graphic3d_CView& ACView, const Standard_Integer /*Axm*/, const Standard_Integer Aym, const Standard_Integer /*AXM*/, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az, Standard_ShortReal& Dx, Standard_ShortReal& Dy, Standard_ShortReal& Dz)
{
const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView;
if (!aCView)
aCView->WS->Resize (theCView.DefWindow);
}
-void OpenGl_GraphicDriver::Redraw (const Graphic3d_CView& ACView, const Aspect_CLayer2d& ACUnderLayer, const Aspect_CLayer2d& ACOverLayer, const Standard_Integer x, const Standard_Integer y, const Standard_Integer width, const Standard_Integer height)
+void OpenGl_GraphicDriver::Redraw (const Graphic3d_CView& ACView,
+ const Aspect_CLayer2d& ACUnderLayer,
+ const Aspect_CLayer2d& ACOverLayer,
+ const Standard_Integer /*x*/,
+ const Standard_Integer /*y*/,
+ const Standard_Integer /*width*/,
+ const Standard_Integer /*height*/)
{
const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView;
if (aCView)
void OpenGl_GraphicDriver::PrimitiveArray( const Graphic3d_CGroup& ACGroup,
const Graphic3d_PrimitiveArray& parray,
- const Standard_Boolean EvalMinMax )
+ const Standard_Boolean /*EvalMinMax*/ )
{
if ( ACGroup.ptrGroup && parray )
{
/* Print Methods */
/************************************************************************/
+#ifdef HAVE_GL2PS
Standard_Boolean OpenGl_GraphicDriver::Export (const Standard_CString theFileName,
const Graphic3d_ExportFormat theFormat,
const Graphic3d_SortType theSortType,
const Graphic3d_CView& theView,
const Aspect_CLayer2d& theLayerUnder,
const Aspect_CLayer2d& theLayerOver,
- const Standard_Real /*thePrecision*/,
- const Standard_Address /*theProgressBarFunc*/,
- const Standard_Address /*theProgressObject*/)
+ const Standard_Real thePrecision,
+ const Standard_Address theProgressBarFunc,
+ const Standard_Address theProgressObject)
{
-#ifdef HAVE_GL2PS
// gl2psBeginPage() will call OpenGL functions
// so we should activate correct GL context before redraw scene call
const OpenGl_CView* aCView = (const OpenGl_CView* )theView.ptrView;
else
break;
}
-
return anErrCode == GL2PS_SUCCESS;
+}
#else
- return Standard_False;
-#endif
+Standard_Boolean OpenGl_GraphicDriver::Export (const Standard_CString /*theFileName*/,
+ const Graphic3d_ExportFormat /*theFormat*/,
+ const Graphic3d_SortType /*theSortType*/,
+ const Standard_Integer /*theWidth*/,
+ const Standard_Integer /*theHeight*/,
+ const Graphic3d_CView& /*theView*/,
+ const Aspect_CLayer2d& /*theLayerUnder*/,
+ const Aspect_CLayer2d& /*theLayerOver*/,
+ const Standard_Real /*thePrecision*/,
+ const Standard_Address /*theProgressBarFunc*/,
+ const Standard_Address /*theProgressObject*/)
+{
+ return Standard_False;
}
+#endif
\ No newline at end of file
/*----------------------------------------------------------------------*/
-void OpenGl_Marker::Release (const Handle(OpenGl_Context)& theContext)
+void OpenGl_Marker::Release (const Handle(OpenGl_Context)&)
{
//
}
}
}
-void OpenGl_MarkerSet::Release (const Handle(OpenGl_Context)& theContext)
+void OpenGl_MarkerSet::Release (const Handle(OpenGl_Context)&)
{
//
}
// purpose :
// =======================================================================
void OpenGl_Text::setupMatrix (const Handle(OpenGl_PrinterContext)& thePrintCtx,
- const Handle(OpenGl_Context)& theCtx,
+ const Handle(OpenGl_Context)& /*theCtx*/,
const OpenGl_AspectText& theTextAspect,
const OpenGl_Vec3 theDVec) const
{
// function : drawText
// purpose :
// =======================================================================
-void OpenGl_Text::drawText (const Handle(OpenGl_PrinterContext)& thePrintCtx,
+
+void OpenGl_Text::drawText (const Handle(OpenGl_PrinterContext)& ,
const Handle(OpenGl_Context)& theCtx,
+ #ifdef HAVE_GL2PS
const OpenGl_AspectText& theTextAspect) const
+ #else
+ const OpenGl_AspectText& ) const
+ #endif
{
#ifdef HAVE_GL2PS
if (theCtx->IsFeedback())
// function : Result
// purpose :
// =======================================================================
-void OpenGl_TextFormatter::Result (const Handle(OpenGl_Context)& theCtx,
+void OpenGl_TextFormatter::Result (const Handle(OpenGl_Context)& /*theCtx*/,
NCollection_Vector<GLuint>& theTextures,
NCollection_Vector<Handle(OpenGl_Vec2Array)>& theVertsPerTexture,
NCollection_Vector<Handle(OpenGl_Vec2Array)>& theTCrdsPerTexture) const
//call_togl_redraw_layer2d
void OpenGl_View::RedrawLayer2d (const Handle(OpenGl_PrinterContext)& thePrintContext,
- const Handle(OpenGl_Workspace)& AWorkspace,
+ const Handle(OpenGl_Workspace)& /*AWorkspace*/,
const Graphic3d_CView& ACView,
const Aspect_CLayer2d& ACLayer)
{
glDisable (GL_POLYGON_STIPPLE);
break;
}
- case 5: //szvgl - no corresponding enumeration item Aspect_IS_POINT
+ case 5: //szvgl - no corresponding enumeration item Aspect_IS_POINT // = 5
{
glPolygonMode(GL_FRONT_AND_BACK,GL_POINT);
break;
Tint flag,
Tfloat cx,
Tfloat cy,
- Tint clip_flag,
- Tlimit3 *clip_limit
+ Tint /*clip_flag*/,
+ Tlimit3 */*clip_limit*/
)
{
Tfloat gx, gy, xsf, ysf, zsf;
//purpose :
//=======================================================================
-static void ExtendC2d(Handle(Geom2d_BSplineCurve)& aRes,
- const Standard_Real t,
- const Standard_Real dt,
- const Standard_Real u1,
- const Standard_Real u2,
- const Standard_Real v1,
- const Standard_Real v2,
- const Standard_Integer FirstOrLast,
- const Standard_Integer NumberOfSingularCase)
+static void ExtendC2d (Handle(Geom2d_BSplineCurve)& aRes,
+ const Standard_Real /*t*/,
+ const Standard_Real /*dt*/,
+ const Standard_Real u1,
+ const Standard_Real u2,
+ const Standard_Real v1,
+ const Standard_Real v2,
+ const Standard_Integer FirstOrLast,
+ const Standard_Integer NumberOfSingularCase)
{
Standard_Real theParam = (FirstOrLast == 0)? aRes->FirstParameter()
: aRes->LastParameter();
#include <Prs3d_RadiusAspect.ixx>
Prs3d_RadiusAspect::Prs3d_RadiusAspect(const Quantity_NameOfColor /*aColor*/,
- const Aspect_TypeOfLine aType,
- const Standard_Real aWidth) {
+ const Aspect_TypeOfLine /*aType*/,
+ const Standard_Real /*aWidth*/) {
}
//=========================================================================
Standard_EXPORT static Standard_Boolean AddPolygon (const TopoDS_Edge& theEdge,
- Handle(Graphic3d_Group)& theGroup,
- const Standard_Real theDeflection,
- const Handle (Prs3d_Drawer)& ,
- TColgp_SequenceOfPnt& thePoints)
+ Handle(Graphic3d_Group)& ,
+ const Standard_Real theDeflection,
+ const Handle (Prs3d_Drawer)& ,
+ TColgp_SequenceOfPnt& thePoints)
{
TopLoc_Location aLocation;
Standard_Real aFirst, aLast;
return 0;
}
-Standard_Integer OCC23429(Draw_Interpretor& di,
+Standard_Integer OCC23429(Draw_Interpretor& /*di*/,
Standard_Integer narg, const char** a)
{
if (narg < 4) return 1;
return 0;
}
-static Standard_Integer OCC232 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv)
+static Standard_Integer OCC232 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** argv)
{
Handle(AIS_InteractiveContext) aContext = ViewerTest::GetAISContext();
if(aContext.IsNull()) {
return ret;
}
-static Standard_Integer BUC60851 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/)
+static Standard_Integer BUC60851 (Draw_Interpretor& /*di*/, Standard_Integer /*argc*/, const char ** /*argv*/)
{
Handle(AIS_InteractiveContext) context= ViewerTest_Tool::MakeContext ("buc60851");
ViewerTest_Tool::InitViewerTest (context);
#include <TDF_Label.hxx>
#include <TDataStd_Name.hxx>
-static Standard_Integer OCC23595 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char **argv)
+static Standard_Integer OCC23595 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char **/*argv*/)
{
const Handle(TDocStd_Application)& anApp = XCAFApp_Application::GetApplication();
Handle(TDocStd_Document) aDoc;
return 0;
}
-Standard_Integer OCC22595 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv)
+Standard_Integer OCC22595 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/)
{
gp_Mat M0;
di << "M0 = "
//purpose :
//=======================================================================
-static Standard_Integer OCC23945 (Draw_Interpretor& di,Standard_Integer n, const char** a)
+static Standard_Integer OCC23945 (Draw_Interpretor& /*di*/,Standard_Integer n, const char** a)
{
if (n < 5) return 1;
#include <BRepBndLib.hxx>
#include <Bnd_HArray1OfBox.hxx>
-static Standard_Integer BUC60729 (Draw_Interpretor& di,Standard_Integer /*argc*/, const char ** /*argv*/ )
+static Standard_Integer BUC60729 (Draw_Interpretor& /*di*/,Standard_Integer /*argc*/, const char ** /*argv*/ )
{
Bnd_Box aMainBox;
TopoDS_Shape aShape = BRepPrimAPI_MakeBox(1,1,1).Solid();
*
**************************************************************************/
-void QABugs_MyText::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
+void QABugs_MyText::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/,
const Handle(Prs3d_Presentation)& aPresentation,
- const Standard_Integer aMode )
+ const Standard_Integer /*aMode*/ )
{
aPresentation->Clear();
Handle_Prs3d_TextAspect asp = myDrawer->TextAspect();
}
void QABugs_MyText::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
- const Standard_Integer aMode)
+ const Standard_Integer /*aMode*/)
{
// This code is here to compute the selection, erase this code if you don't what selection.
//function : LoadUniqueShapes
//purpose :
//=======================================================================
-void QANewBRepNaming_Gluing::LoadUniqueShapes(QANewModTopOpe_Glue& theMkGluing, const TopTools_DataMapOfShapeInteger& theSources)
+void QANewBRepNaming_Gluing::LoadUniqueShapes(QANewModTopOpe_Glue& /*theMkGluing*/,
+ const TopTools_DataMapOfShapeInteger& theSources)
{
Standard_Integer anIndex=1;
TColStd_MapOfInteger alreadyUsed;
//purpose : "CheckSelectShape Doc Label SubShapeType"
//=======================================================================
-static Standard_Integer QANewDBRepNaming_CheckSelectShape(Draw_Interpretor& di, Standard_Integer nb, const char ** a)
+static Standard_Integer QANewDBRepNaming_CheckSelectShape(Draw_Interpretor& di, Standard_Integer /*nb*/, const char ** a)
{
Handle(TDF_Data) DF;
if(!DDF::GetDF(a[1], DF)) return 1;
//purpose : "CheckSelectShape Doc Label SubShapeType"
//=======================================================================
-static Standard_Integer QANewDBRepNaming_CheckSolve(Draw_Interpretor&,Standard_Integer nb, const char ** a)
+static Standard_Integer QANewDBRepNaming_CheckSolve(Draw_Interpretor&,Standard_Integer /*nb*/, const char ** a)
{
Handle(TDF_Data) DF;
if(!DDF::GetDF(a[1], DF)) return 1;
}
-void RWHeaderSection_GeneralModule::CheckCase(const Standard_Integer CN,
- const Handle(Standard_Transient)& ent,
- const Interface_ShareTool& shares,
- Handle(Interface_Check)& /*ach*/) const
+void RWHeaderSection_GeneralModule::CheckCase(const Standard_Integer,
+ const Handle(Standard_Transient)&,
+ const Interface_ShareTool&,
+ Handle(Interface_Check)&) const
{
}
// --- External Mapping Recognition ---
Standard_Boolean RWHeaderSection_ReadWriteModule::IsComplex
- (const Standard_Integer CN) const
+ (const Standard_Integer /*CN*/) const
{
return Standard_False;
}
//purpose :
//=======================================================================
-void RWStepAP214_RWClass::Share (const Handle(StepAP214_Class) &ent,
- Interface_EntityIterator& iter) const
+void RWStepAP214_RWClass::Share (const Handle(StepAP214_Class) &,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of Group
}
//purpose :
//=======================================================================
-void RWStepAP214_RWRepItemGroup::Share (const Handle(StepAP214_RepItemGroup) &ent,
- Interface_EntityIterator& iter) const
+void RWStepAP214_RWRepItemGroup::Share (const Handle(StepAP214_RepItemGroup)&,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of Group
-
// Inherited fields of RepresentationItem
}
//purpose :
//=======================================================================
-void RWStepBasic_RWActionMethod::Share (const Handle(StepBasic_ActionMethod) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWActionMethod::Share (const Handle(StepBasic_ActionMethod) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of ActionMethod
}
//purpose :
//=======================================================================
-void RWStepBasic_RWCertificationType::Share (const Handle(StepBasic_CertificationType) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWCertificationType::Share (const Handle(StepBasic_CertificationType) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of CertificationType
}
//purpose :
//=======================================================================
-void RWStepBasic_RWCharacterizedObject::Share (const Handle(StepBasic_CharacterizedObject) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWCharacterizedObject::Share (const Handle(StepBasic_CharacterizedObject) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of CharacterizedObject
}
//purpose :
//=======================================================================
-void RWStepBasic_RWContractType::Share (const Handle(StepBasic_ContractType) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWContractType::Share (const Handle(StepBasic_ContractType) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of ContractType
}
}
-void RWStepBasic_RWDocumentType::Share(const Handle(StepBasic_DocumentType)& ent, Interface_EntityIterator& iter) const
+void RWStepBasic_RWDocumentType::Share(const Handle(StepBasic_DocumentType)&, Interface_EntityIterator&) const
{
}
}
-void RWStepBasic_RWEffectivity::Share(const Handle(StepBasic_Effectivity)& ent, Interface_EntityIterator& iter) const
+void RWStepBasic_RWEffectivity::Share(const Handle(StepBasic_Effectivity)&, Interface_EntityIterator&) const
{
}
//purpose :
//=======================================================================
-void RWStepBasic_RWEulerAngles::Share (const Handle(StepBasic_EulerAngles) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWEulerAngles::Share (const Handle(StepBasic_EulerAngles) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of EulerAngles
}
//purpose :
//=======================================================================
-void RWStepBasic_RWGeneralProperty::Share (const Handle(StepBasic_GeneralProperty) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWGeneralProperty::Share (const Handle(StepBasic_GeneralProperty) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of GeneralProperty
}
//purpose :
//=======================================================================
-void RWStepBasic_RWGroup::Share (const Handle(StepBasic_Group) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWGroup::Share (const Handle(StepBasic_Group) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of Group
}
//purpose :
//=======================================================================
-void RWStepBasic_RWIdentificationRole::Share (const Handle(StepBasic_IdentificationRole) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWIdentificationRole::Share (const Handle(StepBasic_IdentificationRole) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of IdentificationRole
}
//purpose :
//=======================================================================
-void RWStepBasic_RWNameAssignment::Share (const Handle(StepBasic_NameAssignment) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWNameAssignment::Share (const Handle(StepBasic_NameAssignment) &,
+ Interface_EntityIterator&) const
{
-
// Own fields of NameAssignment
}
//purpose :
//=======================================================================
-void RWStepBasic_RWObjectRole::Share (const Handle(StepBasic_ObjectRole) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWObjectRole::Share (const Handle(StepBasic_ObjectRole) &,
+ Interface_EntityIterator&) const
{
// Own fields of ObjectRole
//purpose :
//=======================================================================
-void RWStepBasic_RWVersionedActionRequest::Share (const Handle(StepBasic_VersionedActionRequest) &ent,
- Interface_EntityIterator& iter) const
+void RWStepBasic_RWVersionedActionRequest::Share (const Handle(StepBasic_VersionedActionRequest) &,
+ Interface_EntityIterator&) const
{
// Own fields of VersionedActionRequest
//purpose :
//=======================================================================
-void RWStepElement_RWCurve3dElementDescriptor::Share (const Handle(StepElement_Curve3dElementDescriptor) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWCurve3dElementDescriptor::Share (const Handle(StepElement_Curve3dElementDescriptor)&,
+ Interface_EntityIterator&) const
{
// Inherited fields of ElementDescriptor
//purpose :
//=======================================================================
-void RWStepElement_RWCurveElementSectionDefinition::Share (const Handle(StepElement_CurveElementSectionDefinition) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWCurveElementSectionDefinition::Share (const Handle(StepElement_CurveElementSectionDefinition)&,
+ Interface_EntityIterator&) const
{
-
// Own fields of CurveElementSectionDefinition
}
//purpose :
//=======================================================================
-void RWStepElement_RWElementDescriptor::Share (const Handle(StepElement_ElementDescriptor) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWElementDescriptor::Share (const Handle(StepElement_ElementDescriptor)&,
+ Interface_EntityIterator&) const
{
-
// Own fields of ElementDescriptor
}
//purpose :
//=======================================================================
-void RWStepElement_RWSurface3dElementDescriptor::Share (const Handle(StepElement_Surface3dElementDescriptor) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWSurface3dElementDescriptor::Share (const Handle(StepElement_Surface3dElementDescriptor)&,
+ Interface_EntityIterator&) const
{
// Inherited fields of ElementDescriptor
//purpose :
//=======================================================================
-void RWStepElement_RWSurfaceSection::Share (const Handle(StepElement_SurfaceSection) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWSurfaceSection::Share (const Handle(StepElement_SurfaceSection)&,
+ Interface_EntityIterator&) const
{
// Own fields of SurfaceSection
void RWStepElement_RWSurfaceSectionField::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
- const Handle(StepElement_SurfaceSectionField) &ent) const
+ const Handle(StepElement_SurfaceSectionField) &/*ent*/) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,0,ach,"surface_section_field") ) return;
//purpose :
//=======================================================================
-void RWStepElement_RWSurfaceSectionField::WriteStep (StepData_StepWriter& SW,
- const Handle(StepElement_SurfaceSectionField) &ent) const
+void RWStepElement_RWSurfaceSectionField::WriteStep (StepData_StepWriter&,
+ const Handle(StepElement_SurfaceSectionField)&) const
{
}
//purpose :
//=======================================================================
-void RWStepElement_RWSurfaceSectionField::Share (const Handle(StepElement_SurfaceSectionField) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWSurfaceSectionField::Share (const Handle(StepElement_SurfaceSectionField)&,
+ Interface_EntityIterator&) const
{
}
//purpose :
//=======================================================================
-void RWStepElement_RWUniformSurfaceSection::Share (const Handle(StepElement_UniformSurfaceSection) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWUniformSurfaceSection::Share (const Handle(StepElement_UniformSurfaceSection) &,
+ Interface_EntityIterator&) const
{
// Inherited fields of SurfaceSection
//purpose :
//=======================================================================
-void RWStepElement_RWVolume3dElementDescriptor::Share (const Handle(StepElement_Volume3dElementDescriptor) &ent,
- Interface_EntityIterator& iter) const
+void RWStepElement_RWVolume3dElementDescriptor::Share (const Handle(StepElement_Volume3dElementDescriptor) &,
+ Interface_EntityIterator&) const
{
// Inherited fields of ElementDescriptor
//purpose :
//=======================================================================
-void RWStepFEA_RWConstantSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ConstantSurface3dElementCoordinateSystem) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWConstantSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ConstantSurface3dElementCoordinateSystem)&,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
-
// Own fields of ConstantSurface3dElementCoordinateSystem
}
//purpose :
//=======================================================================
-void RWStepFEA_RWFeaAreaDensity::Share (const Handle(StepFEA_FeaAreaDensity) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWFeaAreaDensity::Share (const Handle(StepFEA_FeaAreaDensity)&,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
-
// Own fields of FeaAreaDensity
}
//purpose :
//=======================================================================
-void RWStepFEA_RWFeaMassDensity::Share (const Handle(StepFEA_FeaMassDensity) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWFeaMassDensity::Share (const Handle(StepFEA_FeaMassDensity) &,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
-
// Own fields of FeaMassDensity
}
//purpose :
//=======================================================================
-void RWStepFEA_RWFeaMaterialPropertyRepresentationItem::Share (const Handle(StepFEA_FeaMaterialPropertyRepresentationItem) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWFeaMaterialPropertyRepresentationItem::Share (const Handle(StepFEA_FeaMaterialPropertyRepresentationItem) &,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
}
//purpose :
//=======================================================================
-void RWStepFEA_RWFeaParametricPoint::Share (const Handle(StepFEA_FeaParametricPoint) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWFeaParametricPoint::Share (const Handle(StepFEA_FeaParametricPoint) &,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
-
// Own fields of FeaParametricPoint
}
//purpose :
//=======================================================================
-void RWStepFEA_RWFeaRepresentationItem::Share (const Handle(StepFEA_FeaRepresentationItem) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWFeaRepresentationItem::Share (const Handle(StepFEA_FeaRepresentationItem) &,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
}
//purpose :
//=======================================================================
-void RWStepFEA_RWParametricSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ParametricSurface3dElementCoordinateSystem) &ent,
- Interface_EntityIterator& iter) const
+void RWStepFEA_RWParametricSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ParametricSurface3dElementCoordinateSystem) &,
+ Interface_EntityIterator&) const
{
-
// Inherited fields of RepresentationItem
-
// Own fields of ParametricSurface3dElementCoordinateSystem
}
}
-void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext::Share(const Handle(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext)& ent, Interface_EntityIterator& iter) const
+void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext::Share(const Handle(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext)& , Interface_EntityIterator& ) const
{
}
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
- const Handle(StepVisual_Colour)& ent) const
+ const Handle(StepVisual_Colour)& /*ent*/) const
{
// --- Number of Parameter Control ---
}
void RWStepVisual_RWColour::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepVisual_Colour)& ent) const
+ (StepData_StepWriter& /*SW*/,
+ const Handle(StepVisual_Colour)& /*ent*/) const
{
}
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
- const Handle(StepVisual_PresentationSet)& ent) const
+ const Handle(StepVisual_PresentationSet)& /*ent*/) const
{
}
void RWStepVisual_RWPresentationSet::WriteStep
-(StepData_StepWriter& SW,
- const Handle(StepVisual_PresentationSet)& ent) const
+(StepData_StepWriter& /*SW*/,
+ const Handle(StepVisual_PresentationSet)& /*ent*/) const
{
}
{ return TCollection_AsciiString ("STEP : Product Definition Context"); }
Standard_Boolean STEPEdit_EditContext::Recognize
-(const Handle(IFSelect_EditForm)& form) const
+(const Handle(IFSelect_EditForm)& /*form*/) const
{
// il faut 17 parametres
return Standard_True;
}
Handle(TCollection_HAsciiString) STEPEdit_EditContext::StringValue
-(const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const
+(const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const
{
Handle(TCollection_HAsciiString) str;
switch (num) {
Standard_Boolean STEPEdit_EditContext::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 =
Standard_Boolean STEPEdit_EditContext::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 =
{ return TCollection_AsciiString ("STEP : Product Data (SDR)"); }
Standard_Boolean STEPEdit_EditSDR::Recognize
-(const Handle(IFSelect_EditForm)& form) const
+(const Handle(IFSelect_EditForm)& /*form*/) const
{
// il faut 10 parametres
return Standard_True;
}
Handle(TCollection_HAsciiString) STEPEdit_EditSDR::StringValue
-(const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const
+(const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const
{
Handle(TCollection_HAsciiString) str;
switch (num) {
STEPSelections_SelectAssembly::STEPSelections_SelectAssembly():IFSelect_SelectExplore (-1){ }
-Standard_Boolean STEPSelections_SelectAssembly::Explore(const Standard_Integer level,
+Standard_Boolean STEPSelections_SelectAssembly::Explore(const Standard_Integer /*level*/,
const Handle(Standard_Transient)& start,
const Interface_Graph& G,
Interface_EntityIterator& explored) const
Standard_Boolean STEPSelections_SelectDerived::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
{
Standard_Integer CN;
Handle(StepData_ReadWriteModule) module;
STEPSelections_SelectFaces::STEPSelections_SelectFaces():IFSelect_SelectExplore (-1){ }
-Standard_Boolean STEPSelections_SelectFaces::Explore(const Standard_Integer level,
+Standard_Boolean STEPSelections_SelectFaces::Explore(const Standard_Integer /*level*/,
const Handle(Standard_Transient)& start,
const Interface_Graph& G,
Interface_EntityIterator& explored) const
STEPSelections_SelectGSCurves::STEPSelections_SelectGSCurves():IFSelect_SelectExplore (-1){ flag = 1;}
-Standard_Boolean STEPSelections_SelectGSCurves::Explore(const Standard_Integer level,
+Standard_Boolean STEPSelections_SelectGSCurves::Explore(const Standard_Integer /*level*/,
const Handle(Standard_Transient)& start,
const Interface_Graph& G,
Interface_EntityIterator& explored) const
}
-Standard_Boolean STEPSelections_SelectInstances::Explore(const Standard_Integer level,
- const Handle(Standard_Transient)& start,
- const Interface_Graph& G,
- Interface_EntityIterator& explored) const
+Standard_Boolean STEPSelections_SelectInstances::Explore(const Standard_Integer,
+ const Handle(Standard_Transient)&,
+ const Interface_Graph&,
+ Interface_EntityIterator&) const
{
return Standard_False;
}
//=======================================================================
Standard_Boolean Select3D_SensitiveBox::
-Matches (const TColgp_Array1OfPnt2d& aPoly,
+Matches (const TColgp_Array1OfPnt2d& /*aPoly*/,
const Bnd_Box2d& aBox,
- const Standard_Real aTol)
+ const Standard_Real /*aTol*/)
{
return(!aBox.IsOut(mybox2d));
}
Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real X,
const Standard_Real Y,
- const Standard_Real aTol,
- Standard_Real& DMin)
+ const Standard_Real /*aTol*/,
+ Standard_Real& /*DMin*/)
{
if (!mylastprj.IsNull())
{
//purpose :
//=======================================================================
-Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real XMin,
- const Standard_Real YMin,
- const Standard_Real XMax,
- const Standard_Real YMax,
- const Standard_Real aTol)
+Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real,
+ const Standard_Real,
+ const Standard_Real,
+ const Standard_Real,
+ const Standard_Real)
{
return Standard_False;
}
//purpose :
//=======================================================================
-Standard_Boolean Select3D_SensitiveEntity::Matches(const TColgp_Array1OfPnt2d& aPoly,
- const Bnd_Box2d& /*aBox*/,
- const Standard_Real aTol)
+Standard_Boolean Select3D_SensitiveEntity::Matches(const TColgp_Array1OfPnt2d&,
+ const Bnd_Box2d&,
+ const Standard_Real)
{
return Standard_False;
}
//purpose :
//=======================================================================
-void Select3D_SensitiveEntity::Dump(Standard_OStream& S,const Standard_Boolean FullDump) const
+void Select3D_SensitiveEntity::Dump(Standard_OStream& S, const Standard_Boolean) const
{
S<<"\tSensitive Entity 3D"<<endl;
}
//purpose :
//=======================================================================
-void Select3D_SensitivePoint::Dump(Standard_OStream& S,const Standard_Boolean FullDump) const
+void Select3D_SensitivePoint::Dump(Standard_OStream& S,const Standard_Boolean /*FullDump*/) const
{
S<<"\tSensitivePoint 3D :";
if(HasLocation())
//purpose :
//=======================================================================
-void Select3D_SensitiveSegment::Dump(Standard_OStream& S,const Standard_Boolean FullDump) const
+void Select3D_SensitiveSegment::Dump(Standard_OStream& S,const Standard_Boolean /*FullDump*/) const
{
S<<"\tSensitivePoint 3D :"<<endl;
if(HasLocation())
PM->Unhighlight(mySelectable,aMode);
}
-void SelectMgr_EntityOwner::Clear(const Handle(PrsMgr_PresentationManager)& PM,
- const Standard_Integer aMode)
+void SelectMgr_EntityOwner::Clear(const Handle(PrsMgr_PresentationManager)&,
+ const Standard_Integer)
{
// nothing done on the selectable here...
}
//purpose :
//=======================================================================
void SelectMgr_EntityOwner::SetZLayer
- (const Handle(PrsMgr_PresentationManager)& thePrsMgr,
- const Standard_Integer theLayerId)
+ (const Handle(PrsMgr_PresentationManager)&,
+ const Standard_Integer)
{
}
#include <SelectMgr_Filter.ixx>
-Standard_Boolean SelectMgr_Filter::ActsOn(const TopAbs_ShapeEnum aStandardMode) const
+Standard_Boolean SelectMgr_Filter::ActsOn(const TopAbs_ShapeEnum /*aStandardMode*/) const
{return Standard_False;}
//purpose : auxilary
//=======================================================================
static Standard_Boolean MergeEdges(const TopTools_SequenceOfShape& SeqEdges,
- const TopoDS_Face& aFace,
+ const TopoDS_Face& /*aFace*/,
const Standard_Real Tol,
const Standard_Boolean ConcatBSplines,
TopoDS_Edge& anEdge)
const Quantity_Length Z,
const Quantity_Length aDistance,
const Adaptor3d_Curve& aCurve,
- const Handle (Prs3d_Drawer)& aDrawer)
+ const Handle (Prs3d_Drawer)& /*aDrawer*/)
{
GeomAbs_CurveType CType = aCurve.GetType();
Standard_Integer i, Nb = 0;
const Quantity_Length Z,
const Quantity_Length aDistance,
const Adaptor3d_Curve& aCurve,
- const Handle(Prs3d_Drawer)& aDrawer)
+ const Handle(Prs3d_Drawer)& /*aDrawer*/)
{
Standard_Real x, y, z, DistMin = RealLast();
Standard_Integer num = 0, i, Nb = 0;
//purpose :
//=======================================================================
-void StdSelect::SetDrawerForBRepOwner(const Handle(SelectMgr_Selection)& Sel,
- const Handle(Prs3d_Drawer)& Drwr)
+void StdSelect::SetDrawerForBRepOwner(const Handle(SelectMgr_Selection)& /*Sel*/,
+ const Handle(Prs3d_Drawer)& /*Drwr*/)
{
// Handle(StdSelect_BRepOwner) BROWN;
::GetSensitiveForFace (const TopoDS_Face& theFace,
const Handle(StdSelect_BRepOwner)& theOwner,
Select3D_ListOfSensitive& theSensitiveList,
- const Standard_Boolean theAutoTriangulation,
+ const Standard_Boolean /*theAutoTriangulation*/,
const Standard_Integer NbPOnEdge,
const Standard_Real theMaxParam,
const Standard_Boolean theInteriorFlag)
mysh(sh)
{}
-void StdSelect_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& PM,
+void StdSelect_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& /*PM*/,
const Handle(Prs3d_Presentation)& P,
const Standard_Integer aMode)
{
Standard_CString StepBasic_SizeMember::Name () const
{ return "POSITIVE_LENGTH_MEASURE"; }
- Standard_Boolean StepBasic_SizeMember::SetName (const Standard_CString name)
+ Standard_Boolean StepBasic_SizeMember::SetName (const Standard_CString /*name*/)
{ return Standard_True; }
}
-void StepData_DefaultGeneral::CheckCase(const Standard_Integer casenum,
- const Handle(Standard_Transient)& ent,
- const Interface_ShareTool& shares,
- Handle(Interface_Check)& /*ach*/) const
+void StepData_DefaultGeneral::CheckCase(const Standard_Integer,
+ const Handle(Standard_Transient)&,
+ const Interface_ShareTool&,
+ Handle(Interface_Check)&) const
{
} // pas de Check sur une UndefinedEntity
void StepData_DescrGeneral::FillSharedCase
- (const Standard_Integer CN, const Handle(Standard_Transient)& ent,
+ (const Standard_Integer, const Handle(Standard_Transient)& ent,
Interface_EntityIterator& iter) const
{
Handle(StepData_Described) ds = Handle(StepData_Described)::DownCast(ent);
}
-void StepData_DescrGeneral::CheckCase(const Standard_Integer CN,
- const Handle(Standard_Transient)& ent,
- const Interface_ShareTool& shares,
- Handle(Interface_Check)& /*ach*/) const
+void StepData_DescrGeneral::CheckCase(const Standard_Integer ,
+ const Handle(Standard_Transient)&,
+ const Interface_ShareTool&,
+ Handle(Interface_Check)&) const
{
} // pour l instant
- void StepData_DescrGeneral::CopyCase
- (const Standard_Integer CN, const Handle(Standard_Transient)& entfrom,
- const Handle(Standard_Transient)& entto, Interface_CopyTool& TC) const
-{ } // pour l instant
+void StepData_DescrGeneral::CopyCase(const Standard_Integer,
+ const Handle(Standard_Transient)&,
+ const Handle(Standard_Transient)&,
+ Interface_CopyTool&) const
+{
+} // pour l instant
- Standard_Boolean StepData_DescrGeneral::NewVoid
+Standard_Boolean StepData_DescrGeneral::NewVoid
(const Standard_Integer CN, Handle(Standard_Transient)& ent) const
{
ent = theproto->Descr(CN)->NewEntity();
Standard_Integer StepData_FieldList::NbFields () const
{ return 0; }
-const StepData_Field& StepData_FieldList::Field (const Standard_Integer num) const
+const StepData_Field& StepData_FieldList::Field (const Standard_Integer) const
{
Standard_OutOfRange::Raise("StepData_FieldList : Field");
return nulfild;
}
-StepData_Field& StepData_FieldList::CField (const Standard_Integer num)
+StepData_Field& StepData_FieldList::CField (const Standard_Integer)
{
Standard_OutOfRange::Raise("StepData_FieldList : CField");
return nulfild;
Standard_Integer StepData_FileProtocol::TypeNumber
- (const Handle(Standard_Type)& atype) const
+ (const Handle(Standard_Type)& /*atype*/) const
{ return 0; }
{ return thefnum; }
-void StepData_PDescr::Check(const StepData_Field& afild,
+void StepData_PDescr::Check(const StepData_Field& /*afild*/,
Handle(Interface_Check)& /*ach*/) const
{
// pour l instant ...
return CaseStep (stepdat->RecordType(num));
}
- Standard_Integer StepData_ReadWriteModule::CaseStep
- (const TColStd_SequenceOfAsciiString& types) const
- { return 0; } // par defaut
+Standard_Integer StepData_ReadWriteModule::CaseStep (const TColStd_SequenceOfAsciiString&) const
+{
+ return 0;
+} // par defaut
- Standard_Boolean StepData_ReadWriteModule::IsComplex
- (const Standard_Integer CN) const
- { return Standard_False; } // par defaut
+Standard_Boolean StepData_ReadWriteModule::IsComplex (const Standard_Integer) const
+{
+ return Standard_False;
+} // par defaut
- TCollection_AsciiString StepData_ReadWriteModule::ShortType
- (const Standard_Integer ) const
- { return TCollection_AsciiString(""); } // par defaut vide
+TCollection_AsciiString StepData_ReadWriteModule::ShortType (const Standard_Integer ) const
+{
+ return TCollection_AsciiString("");
+} // par defaut vide
- Standard_Boolean StepData_ReadWriteModule::ComplexType
- (const Standard_Integer ,
- TColStd_SequenceOfAsciiString& ) const
- { return Standard_False; }
+Standard_Boolean StepData_ReadWriteModule::ComplexType (const Standard_Integer ,
+ TColStd_SequenceOfAsciiString& ) const
+{
+ return Standard_False;
+}
//=======================================================================
Standard_Boolean StepData_SelectMember::HasName () const { return Standard_False; }
Standard_CString StepData_SelectMember::Name () const { return ""; }
- Standard_Boolean StepData_SelectMember::SetName (const Standard_CString bid)
+ Standard_Boolean StepData_SelectMember::SetName (const Standard_CString /*bid*/)
{ return Standard_False; }
Standard_Boolean StepData_SelectMember::Matches (const Standard_CString name) const
Standard_Integer StepData_SelectMember::Enum () const { return Int(); }
Standard_CString StepData_SelectMember::EnumText () const { return String(); }
- void StepData_SelectMember::SetEnum
- (const Standard_Integer val, const Standard_CString text)
+void StepData_SelectMember::SetEnum (const Standard_Integer val,
+ const Standard_CString text)
{
SetKind(KindEnum);
SetInt(val);
if (text && text[0] != '\0') SetEnumText(val,text);
}
- void StepData_SelectMember::SetEnumText
- (const Standard_Integer val, const Standard_CString text)
- { SetString(text); }
+void StepData_SelectMember::SetEnumText (const Standard_Integer /*val*/,
+ const Standard_CString text)
+{
+ SetString(text);
+}
Handle(StepData_SelectMember) StepData_SelectType::NewMember () const
{ Handle(StepData_SelectMember) nulmem; return nulmem; }
- Standard_Integer StepData_SelectType::CaseMem (const Handle(StepData_SelectMember)& ent) const
+ Standard_Integer StepData_SelectType::CaseMem (const Handle(StepData_SelectMember)& /*ent*/) const
{ return 0; }
Standard_Integer StepData_SelectType::CaseMember () const
//purpose :
//=======================================================================
-void StepData_StepWriter::JoinLast (const Standard_Boolean newline)
+void StepData_StepWriter::JoinLast (const Standard_Boolean)
{
-/*
- Handle(TCollection_HAsciiString) lst = thefile->Last();
- Standard_Integer lng = lst->Length();
- if (thecurr.Length() == 0) return;
- if (lng + thecurr.Length() > StepLong) return;
- if (lst->Value(1) == '#' || lst->Search(";") > 0) return;
- lst->AssignCat(thecurr.Moved());
- if (!newline) {
- thecurr.Add (lst->ToCString(),lst->Length());
- thefile->Remove(thefile->Length());
- thecurr.SetInitial(0); .. inclus dans lst ...
- }
-*/
thecurr.SetKeep();
}
//=======================================================================
void StepData_StepWriter::SendSelect(const Handle(StepData_SelectMember)& sm,
- const Handle(StepData_PDescr)& descr)
+ const Handle(StepData_PDescr)& /*descr*/)
{
// Cas du SelectMember. Traiter le Select puis la valeur
// NB : traitement actuel non recursif (pas de SELNAME(SELNAME(..)) )
//purpose :
//=======================================================================
-Standard_Integer StepElement_CurveElementFreedom::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepElement_CurveElementFreedom::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen)
+static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
//purpose :
//=======================================================================
-Standard_Integer StepElement_CurveElementPurpose::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepElement_CurveElementPurpose::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen)
+static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
//purpose :
//=======================================================================
-Standard_Integer StepElement_ElementAspect::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepElement_ElementAspect::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-Standard_Integer StepElement_MeasureOrUnspecifiedValue::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepElement_MeasureOrUnspecifiedValue::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen)
+static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
//purpose :
//=======================================================================
-Standard_Integer StepElement_SurfaceElementPurpose::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepElement_SurfaceElementPurpose::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen)
+static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
//purpose :
//=======================================================================
-Standard_Integer StepElement_VolumeElementPurpose::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepElement_VolumeElementPurpose::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen)
+static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
//purpose :
//=======================================================================
-Standard_Integer StepFEA_DegreeOfFreedom::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepFEA_DegreeOfFreedom::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen)
+static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
//purpose :
//=======================================================================
-Standard_Integer StepFEA_SymmetricTensor23d::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepFEA_SymmetricTensor23d::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//purpose :
//=======================================================================
-void StepFEA_SymmetricTensor23d::SetOrthotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& val)
+void StepFEA_SymmetricTensor23d::SetOrthotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& /*val*/)
{
Handle(StepFEA_SymmetricTensor23dMember) SelMem = Handle(StepFEA_SymmetricTensor23dMember)::DownCast(Value());
if(SelMem.IsNull()) return;
//purpose :
//=======================================================================
-void StepFEA_SymmetricTensor23d::SetAnisotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& val)
+void StepFEA_SymmetricTensor23d::SetAnisotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& /*val*/)
{
Handle(StepFEA_SymmetricTensor23dMember) SelMem = Handle(StepFEA_SymmetricTensor23dMember)::DownCast(Value());
if(SelMem.IsNull()) return;
//purpose :
//=======================================================================
-Standard_Integer StepFEA_SymmetricTensor43d::CaseNum (const Handle(Standard_Transient)& ent) const
+Standard_Integer StepFEA_SymmetricTensor43d::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
Standard_CString StepGeom_TrimmingMember::Name () const
{ return "PARAMETER_VALUE"; }
- Standard_Boolean StepGeom_TrimmingMember::SetName (const Standard_CString name)
+ Standard_Boolean StepGeom_TrimmingMember::SetName (const Standard_CString /*name*/)
{ return Standard_True; }
void StepSelect_FloatFormat::Perform
- (IFSelect_ContextWrite& ctx,
+ (IFSelect_ContextWrite& /*ctx*/,
StepData_StepWriter& writer) const
{
writer.FloatWriter().SetFormat (themainform.ToCString());
Standard_CString StepSelect_StepType::Value
(const Handle(Standard_Transient)& ent,
- const Handle(Interface_InterfaceModel)& model) const
+ const Handle(Interface_InterfaceModel)& /*model*/) const
{
lastvalue.Clear();
Handle(StepData_ReadWriteModule) module;
return orientation;
}
-void StepShape_OrientedPath::SetEdgeList(const Handle(StepShape_HArray1OfOrientedEdge)& aEdgeList)
+void StepShape_OrientedPath::SetEdgeList(const Handle(StepShape_HArray1OfOrientedEdge)& /*aEdgeList*/)
{
// WARNING : the field is redefined.
// field set up forbidden.
Standard_CString StepVisual_MarkerMember::Name () const
{ return "MARKER_TYPE"; }
- Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString name)
+ Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString /*name*/)
{ return Standard_True; }
Standard_CString StepVisual_MarkerMember::EnumText () const
{ return tool.Text(Int()).ToCString(); }
- void StepVisual_MarkerMember::SetEnumText
- (const Standard_Integer val, const Standard_CString text)
+void StepVisual_MarkerMember::SetEnumText (const Standard_Integer /*val*/,
+ const Standard_CString text)
{
- Standard_Integer vl = tool.Value (text);
- if (vl >= 0) SetInt (vl);
+ Standard_Integer vl = tool.Value (text);
+ if (vl >= 0) SetInt (vl);
}
- void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val)
- { SetInt ( Standard_Integer (val) ); }
+void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val)
+{
+ SetInt ( Standard_Integer (val) );
+}
- StepVisual_MarkerType StepVisual_MarkerMember::Value () const
- { return StepVisual_MarkerType (Int()); }
+StepVisual_MarkerType StepVisual_MarkerMember::Value () const
+{
+ return StepVisual_MarkerType (Int());
+}
StepVisual_MarkerSelect::StepVisual_MarkerSelect () { }
-Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& ent) const
+Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//=======================================================================
Standard_Boolean TDF_Attribute::BeforeUndo
-(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+(const Handle(TDF_AttributeDelta)& /*anAttDelta*/,
+ const Standard_Boolean /*forceIt*/)
{ return Standard_True; }
//=======================================================================
Standard_Boolean TDF_Attribute::AfterUndo
-(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+(const Handle(TDF_AttributeDelta)& /*anAttDelta*/,
+ const Standard_Boolean /*forceIt*/)
{ return Standard_True; }
//=======================================================================
Standard_Boolean TDF_Attribute::AfterRetrieval
-(const Standard_Boolean forceIt)
+(const Standard_Boolean /*forceIt*/)
{ return Standard_True; }
#ifdef BUC60879
void TDF_Attribute::ExtendedDump
(Standard_OStream& anOS,
- const TDF_IDFilter& aFilter,
- TDF_AttributeIndexedMap& aMap) const
+ const TDF_IDFilter& /*aFilter*/,
+ TDF_AttributeIndexedMap& /*aMap*/) const
{ Dump(anOS); }
// the copy constructor.
//=======================================================================
-TDF_IDFilter::TDF_IDFilter(const TDF_IDFilter& aFilter)
+TDF_IDFilter::TDF_IDFilter(const TDF_IDFilter& /*aFilter*/)
{}
//purpose :
//=======================================================================
-void TDF_TagSource::Paste (
- const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDF_TagSource::Paste (const Handle(TDF_Attribute)& Into,
+ const Handle(TDF_RelocationTable)&) const
{
Handle(TDF_TagSource)::DownCast(Into)->Set (myTag);
}
//purpose : Private copy constructor.
//=======================================================================
-TDF_Transaction::TDF_Transaction(const TDF_Transaction& aTrans)
+TDF_Transaction::TDF_Transaction(const TDF_Transaction& /*aTrans*/)
{}
//purpose :
//=======================================================================
-void TDataStd_Directory::Restore(const Handle(TDF_Attribute)& with)
+void TDataStd_Directory::Restore(const Handle(TDF_Attribute)&)
{
}
//purpose :
//=======================================================================
-void TDataStd_Directory::Paste (const Handle(TDF_Attribute)& into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDataStd_Directory::Paste (const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)& ) const
{
}
//purpose :
//=======================================================================
-void TDataStd_Directory::References (const Handle(TDF_DataSet)& DS) const
+void TDataStd_Directory::References (const Handle(TDF_DataSet)&) const
{
}
//=======================================================================
void TDataStd_Integer::Paste (const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+ const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TDataStd_Integer)::DownCast(Into)->Set(myValue);
}
//=======================================================================
void TDataStd_Real::Paste (const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+ const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TDataStd_Real) R = Handle(TDataStd_Real)::DownCast (Into);
R->Set(myValue);
//purpose :
//=======================================================================
void TDataStd_ReferenceArray::SetInternalArray (const Handle(TDataStd_HLabelArray1)& values,
- const Standard_Boolean isCheckItem)
+ const Standard_Boolean /*isCheckItem*/)
{
// myArray = values;
Standard_Integer aLower = values->Lower();
//function : Restore
//purpose :
//=======================================================================
-void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& other)
+void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& )
{
// There are no fields in this attribute.
}
//function : Paste
//purpose :
//=======================================================================
-void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& ,
+ const Handle(TDF_RelocationTable)& ) const
{
// There are no fields in this attribute.
}
//=======================================================================
Standard_Boolean TDataStd_TreeNode::BeforeUndo(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+ const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) BeforeForget(); // Disconnect.
return Standard_True;
//=======================================================================
Standard_Boolean TDataStd_TreeNode::AfterUndo(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+ const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnRemoval))) AfterAddition(); // Reconnect.
return Standard_True;
//=======================================================================
void TDataStd_UAttribute::Paste (const Handle(TDF_Attribute)& into,
- const Handle(TDF_RelocationTable)& RT) const
+ const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TDataStd_UAttribute) A = Handle(TDataStd_UAttribute)::DownCast(into);
A->SetID( myID );
//purpose :
//=======================================================================
-void TDataStd_UAttribute::References (const Handle(TDF_DataSet)& DS) const
+void TDataStd_UAttribute::References (const Handle(TDF_DataSet)& /*DS*/) const
{
}
// purpose or non-infringement. Please see the License for the specific terms
// and conditions governing the rights and limitations under the License.
-
-
#include <TDataXtd_Axis.ixx>
#include <TDataStd.hxx>
#include <TDataXtd.hxx>
//purpose :
//=======================================================================
-void TDataXtd_Axis::Restore (const Handle(TDF_Attribute)& With) { }
+void TDataXtd_Axis::Restore (const Handle(TDF_Attribute)&) { }
//=======================================================================
//function : Paste
//purpose :
//=======================================================================
-void TDataXtd_Axis::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { }
+void TDataXtd_Axis::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const { }
//=======================================================================
//purpose :
//=======================================================================
-void TDataXtd_Geometry::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const {
+void TDataXtd_Geometry::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)&) const {
Handle(TDataXtd_Geometry)::DownCast(Into)->SetType(myType);
}
//purpose :
//=======================================================================
-void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)& other)
+void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)&)
{
}
//purpose :
//=======================================================================
-void TDataXtd_Placement::Paste(const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDataXtd_Placement::Paste(const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{
}
-
-
//=======================================================================
//function : Dump
//purpose :
//purpose :
//=======================================================================
-void TDataXtd_Plane::Restore(const Handle(TDF_Attribute)& With) {}
+void TDataXtd_Plane::Restore(const Handle(TDF_Attribute)&) {}
//=======================================================================
//function : Paste
//purpose :
//=======================================================================
-void TDataXtd_Plane::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { }
+void TDataXtd_Plane::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const { }
//=======================================================================
return new TDataXtd_Point();
}
-
//=======================================================================
//function : Restore
//purpose :
//=======================================================================
-void TDataXtd_Point::Restore(const Handle(TDF_Attribute)& With) { }
-
+void TDataXtd_Point::Restore(const Handle(TDF_Attribute)&)
+{
+}
//=======================================================================
//function : Paste
//purpose :
//=======================================================================
-void TDataXtd_Point::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { }
-
+void TDataXtd_Point::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const
+{
+}
//=======================================================================
//function : Dump
//purpose :
//=======================================================================
-void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& with)
+void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& )
{
}
//purpose :
//=======================================================================
-void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)& into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{
}
//purpose :
//=======================================================================
-void TDataXtd_Shape::References (const Handle(TDF_DataSet)& DS) const
+void TDataXtd_Shape::References (const Handle(TDF_DataSet)&) const
{
}
//purpose :
//=======================================================================
-void TDocStd_Modified::Paste (const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDocStd_Modified::Paste (const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{
}
//purpose :
//=======================================================================
-void TDocStd_Owner::Restore(const Handle(TDF_Attribute)& With)
+void TDocStd_Owner::Restore(const Handle(TDF_Attribute)&)
{
}
//purpose :
//=======================================================================
-void TDocStd_Owner::Paste (const Handle(TDF_Attribute)& Into,
- const Handle(TDF_RelocationTable)& RT) const
+void TDocStd_Owner::Paste (const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{
}
Standard_Boolean TDocStd_XLink::BeforeUndo
(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+ const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) {
anAttDelta->Attribute()->BeforeRemoval();
Standard_Boolean TDocStd_XLink::AfterUndo
(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+ const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnRemoval))) {
anAttDelta->Attribute()->AfterAddition();
void TDocStd_XLink::Paste
(const Handle(TDF_Attribute)& intoAttribute,
- const Handle(TDF_RelocationTable)& aRelocationTable) const
+ const Handle(TDF_RelocationTable)& /*aRelocationTable*/) const
{
const Handle(TDocStd_XLink)& xRef =
Handle(TDocStd_XLink)::DownCast(intoAttribute);
//purpose :
//=======================================================================
-void TDocStd_XLinkRoot::Restore(const Handle(TDF_Attribute)& anAttribute)
+void TDocStd_XLinkRoot::Restore(const Handle(TDF_Attribute)& /*anAttribute*/)
{} // Does nothing.
//=======================================================================
void TDocStd_XLinkRoot::Paste
-(const Handle(TDF_Attribute)& intoAttribute,
- const Handle(TDF_RelocationTable)& aRelocationTable) const
+(const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{} // Does nothing.
//=======================================================================
void TFunction_Function::Paste(const Handle(TDF_Attribute)& into,
- const Handle(TDF_RelocationTable)& RT) const
+ const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TFunction_Function) intof = Handle(TFunction_Function)::DownCast(into);
intof->SetFailure(myFailure);
Standard_Boolean TNaming_UsedShapes::AfterUndo
(const Handle(TDF_AttributeDelta)& anAttDelta,
- const Standard_Boolean forceIt)
+ const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) {
anAttDelta->Attribute()->BeforeRemoval();
//purpose :
//=======================================================================
-void TNaming_UsedShapes::Restore(const Handle(TDF_Attribute)& anAttribute)
+void TNaming_UsedShapes::Restore(const Handle(TDF_Attribute)& /*anAttribute*/)
{
}
//purpose :
//=======================================================================
-void TNaming_UsedShapes::Paste(const Handle(TDF_Attribute)& into,
- const Handle(TDF_RelocationTable)& Tab) const
+void TNaming_UsedShapes::Paste(const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{
}
//purpose :
//=======================================================================
-void TNaming_UsedShapes::References(const Handle(TDF_DataSet)& /*aDataSet*/) const
+void TNaming_UsedShapes::References(const Handle(TDF_DataSet)& ) const
{
}
//purpose :
//=======================================================================
-void TPrsStd_AISViewer::Restore(const Handle(TDF_Attribute)& with)
+void TPrsStd_AISViewer::Restore(const Handle(TDF_Attribute)&)
{
}
//purpose :
//=======================================================================
-void TPrsStd_AISViewer::Paste (const Handle(TDF_Attribute)& into,
- const Handle(TDF_RelocationTable)& RT) const
+void TPrsStd_AISViewer::Paste (const Handle(TDF_Attribute)&,
+ const Handle(TDF_RelocationTable)&) const
{
}
//=======================================================================
void TPrsStd_ConstraintTools::ComputeOthers
(const Handle(TDataXtd_Constraint)& /*aConst*/,
- Handle(AIS_InteractiveObject)& anAIS)
+ Handle(AIS_InteractiveObject)& /*anAIS*/)
{
}
return 0 ;
}
-Standard_Integer GETP3D(Draw_Interpretor& di, Standard_Integer narg, const char** a)
+Standard_Integer GETP3D(Draw_Interpretor& di, Standard_Integer /*narg*/, const char** a)
{
TopoDS_Shape V = DBRep::Get(a[1]);
if (V.IsNull()) {
//purpose :
//=======================================================================
-void TestTopOpeDraw_DrawableC2D::ChangePnt2d(const gp_Pnt2d& P)
+void TestTopOpeDraw_DrawableC2D::ChangePnt2d(const gp_Pnt2d&)
{
myText2D = new Draw_Text2D(Pnt2d(),myText,myTextColor);
}
//function : ChangePnt
//purpose :
//=======================================================================
-void TestTopOpeDraw_DrawableC3D::ChangePnt(const gp_Pnt& P)
+void TestTopOpeDraw_DrawableC3D::ChangePnt(const gp_Pnt&)
{
myText3D = new Draw_Text3D(Pnt(),myText,myTextColor);
}
const Standard_CString Text,const Draw_Color& TextColor,
const Standard_Integer Nu, const Standard_Integer Nv,
const Standard_Integer Disc, const Standard_Real Defl, const Standard_Integer DMode,
- const Standard_Boolean DispOrigin) :
+ const Standard_Boolean /*DispOrigin*/) :
DrawTrSurf_Surface(S,Nu,Nv,IsoColor,BoundColor,Disc,Defl,DMode)
{
myText = new Draw_Text3D(Pnt(),Text,TextColor);
di.EvalFile(filename);
}
-static Standard_Integer ttab(Draw_Interpretor& di, Standard_Integer narg, const char** /*a*/) {
+static Standard_Integer ttab(Draw_Interpretor& di, Standard_Integer /*narg*/, const char** /*a*/) {
char s[2000]; strcpy(s,"");
Sprintf(s,"%s%s",s,"proc addt {at args} {upvar $at x;set L \"\";addl L [join $args];");
Sprintf(s,"%s%s",s,"foreach l $L {set x([array size x]) $l}};");
//purpose :
//=======================================================================
-void TestTopOpeTools::OtherCommands(Draw_Interpretor& theCommands)
+void TestTopOpeTools::OtherCommands(Draw_Interpretor&)
{
}
//function : Checker
//purpose :
//=======================================================================
-void TopOpeBRep_DSFiller::Checker(const Handle(TopOpeBRepDS_HDataStructure)& HDS) const
+void TopOpeBRep_DSFiller::Checker(const Handle(TopOpeBRepDS_HDataStructure)& /*HDS*/) const
{
// TopOpeBRepDS_Checker C(HDS); // NYI
//#ifdef DEB
//function : ToRecompute
//purpose :
//=======================================================================
-Standard_Boolean TopOpeBRep_EdgesFiller::ToRecompute(const TopOpeBRep_Point2d& P2D,const Handle(TopOpeBRepDS_Interference)& I,const Standard_Integer IEmother)
+Standard_Boolean TopOpeBRep_EdgesFiller::ToRecompute(const TopOpeBRep_Point2d& P2D,const Handle(TopOpeBRepDS_Interference)& /*I*/,const Standard_Integer /*IEmother*/)
{
Standard_Boolean b = Standard_True;
Standard_Boolean pointofsegment = P2D.IsPointOfSegment();
cout<<"FacesFiller : "<<name_1<<","<<name_2<<endl;
BRepTools::Write(F1,name_1); BRepTools::Write(F2,name_2);
}
-
+#ifdef DRAW
static void FUN_traceRLine(const TopOpeBRep_LineInter& L)
{
-#ifdef DRAW
+
TCollection_AsciiString ee("Edofline"); ee.Cat(L.Index()); char* eee = ee.ToCString();
DBRep::Set(eee,L.Arc());
-#endif
+
}
+#else
+static void FUN_traceRLine(const TopOpeBRep_LineInter&)
+{
+ //
+}
+#endif
+#ifdef DRAW
static void FUN_traceGLine(const TopOpeBRep_LineInter& L)
+#else
+static void FUN_traceGLine(const TopOpeBRep_LineInter&)
+#endif
{
#ifdef DRAW
TCollection_AsciiString ll("Glineof"); ll.Cat(L.Index()); char* lll = ll.ToCString();
//purpose :
//=======================================================================
void TopOpeBRep_GeomTool::MakeCurves
-(const Standard_Real min,const Standard_Real max,
+(const Standard_Real min,
+ const Standard_Real max,
const TopOpeBRep_LineInter& L,
- const TopoDS_Shape& S1,const TopoDS_Shape& S2,
+ const TopoDS_Shape& /*S1*/,
+ const TopoDS_Shape& /*S2*/,
TopOpeBRepDS_Curve& C,
- Handle(Geom2d_Curve)& PC1,Handle(Geom2d_Curve)& PC2)
+ Handle(Geom2d_Curve)& PC1,
+ Handle(Geom2d_Curve)& PC2)
{
Standard_Boolean IsWalk = Standard_False;
Handle(Geom_Curve) C3D;
#ifdef DEB
//-------------------------------------------------------------------
void FUNBREP_topokpartDEB
-(const Handle(TopOpeBRepDS_Interference)& Ifound,const TopOpeBRepDS_ListOfInterference& DSCIL,const TopOpeBRep_LineInter& L,
- const TopOpeBRep_VPointInter& VP,const TopOpeBRepDS_Transition& lasttransLine,
- const TopOpeBRepDS_DataStructure& BDS,const TopoDS_Shape& E,const TopoDS_Shape& F,const Standard_Real toluv,
- const Standard_Boolean CPIfound,const Standard_Boolean samepar, const Standard_Boolean couture,
- const Standard_Real& parline,const TopOpeBRepDS_Transition& transLine)
+(const Handle(TopOpeBRepDS_Interference)& /*Ifound*/,
+ const TopOpeBRepDS_ListOfInterference& DSCIL,
+ const TopOpeBRep_LineInter& L,
+ const TopOpeBRep_VPointInter& VP,
+ const TopOpeBRepDS_Transition& lasttransLine,
+ const TopOpeBRepDS_DataStructure& /*BDS*/,
+ const TopoDS_Shape& /*E*/,
+ const TopoDS_Shape& /*F*/,
+ const Standard_Real /*toluv*/,
+ const Standard_Boolean CPIfound,
+ const Standard_Boolean samepar,
+ const Standard_Boolean couture,
+ const Standard_Real& parline,
+ const TopOpeBRepDS_Transition& transLine)
//-------------------------------------------------------------------
{
Standard_Integer iVP = VP.Index();
static Standard_Boolean TopOpeBRep_contextTOL0 = Standard_False;
Standard_EXPORT void TopOpeBRep_SetcontextTOL0(const Standard_Boolean b) { TopOpeBRep_contextTOL0 = b; }
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextTOL0(char* str) {
+Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextTOL0(char* /*str*/) {
if (TopOpeBRep_contextTOL0) {
}
return TopOpeBRep_contextTOL0;
//function : MakeNeighboursList
//purpose : // (Earg = Edge, Varg = Vertex) to find connected to Earg by Varg
//=======================================================================
-const TopTools_ListOfShape & TopOpeBRepBuild_ShapeSet::MakeNeighboursList(const TopoDS_Shape& Earg, const TopoDS_Shape& Varg)
+const TopTools_ListOfShape & TopOpeBRepBuild_ShapeSet::MakeNeighboursList(const TopoDS_Shape& /*Earg*/, const TopoDS_Shape& Varg)
{
const TopTools_ListOfShape& l = mySubShapeMap.FindFromKey(Varg);
return l;
//function : SName
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SName(const TopoDS_Shape& S,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+#ifdef DRAW
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SName(const TopoDS_Shape& /*S*/,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString& sa) const
{
TCollection_AsciiString str;
-#ifdef DRAW
+
str=sb;
TCollection_AsciiString WESi=myDEBName.SubString(1,1)+myDEBNumber;
str=str+WESi;
else if (iele) str=str+"ele"+iele;
if (isha) str=str+"sha"+isha;
str=str+sa;
-#endif
+
return str;
}
+#else
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SName(const TopoDS_Shape&,
+ const TCollection_AsciiString&,
+ const TCollection_AsciiString&) const
+{
+ TCollection_AsciiString str;
+ return str;
+}
+#endif
//=======================================================================
//function : SNameori
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SNameori(const TopoDS_Shape& S,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+#ifdef DRAW
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SNameori(const TopoDS_Shape& S,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString& sa) const
{
TCollection_AsciiString str;
-#ifdef DRAW
str=sb+SName(S);
TopAbs_Orientation o = S.Orientation();
TCollection_AsciiString sto;TestTopOpeDraw_TTOT::OrientationToString(o,sto);
str=str+sto.SubString(1,1);
str=str+sa;
-#endif
return str;
}
+#else
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SNameori(const TopoDS_Shape&,
+ const TCollection_AsciiString&,
+ const TCollection_AsciiString&) const
+{
+ TCollection_AsciiString str;
+ return str;
+}
+#endif
//=======================================================================
//function : SName
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SName(const TopTools_ListOfShape& L,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+#ifdef DRAW
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SName(const TopTools_ListOfShape& L,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString& /*sa*/) const
{
TCollection_AsciiString str;
-#ifdef DRAW
for (TopTools_ListIteratorOfListOfShape it(L);it.More();it.Next()) str=str+sb+SName(it.Value())+sa+" ";
-#endif
return str;
}
+#else
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SName(const TopTools_ListOfShape&,
+ const TCollection_AsciiString&,
+ const TCollection_AsciiString&) const
+{
+ TCollection_AsciiString str;
+ return str;
+}
+#endif
//=======================================================================
//function : SNameori
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SNameori(const TopTools_ListOfShape& L,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+TCollection_AsciiString TopOpeBRepBuild_ShapeSet::SNameori(const TopTools_ListOfShape& /*L*/,
+ const TCollection_AsciiString& /*sb*/,
+ const TCollection_AsciiString& /*sa*/) const
{
TCollection_AsciiString str;
#ifdef DRAW
//function : SName
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName(const TopoDS_Shape& S,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+#ifdef DRAW
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName(const TopoDS_Shape& S,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString& sa) const
{
TCollection_AsciiString str=sb;
-#ifdef DRAW
+
str=str+TopOpeBRepBuild_ShapeSet::SName(S);
str=str+sa;
DBRep::Set(str.ToCString(),S);
-#endif
+
return str;
}
+#else
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName(const TopoDS_Shape&,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString&) const
+{
+ TCollection_AsciiString str=sb;
+ return str;
+}
+#endif
//=======================================================================
//function : SNameori
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori(const TopoDS_Shape& S,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+#ifdef DRAW
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori(const TopoDS_Shape& S,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString& sa) const
+#else
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori(const TopoDS_Shape&,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString&) const
+#endif
{
TCollection_AsciiString str=sb;
#ifdef DRAW
//function : SName
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName(const TopTools_ListOfShape& L,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+#ifdef DRAW
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName(const TopTools_ListOfShape& L,
+ const TCollection_AsciiString& sb,
+ const TCollection_AsciiString& sa) const
{
TCollection_AsciiString str;
-#ifdef DRAW
+
for (TopTools_ListIteratorOfListOfShape it(L);it.More();it.Next()) str=str+sb+SName(it.Value())+sa+" ";
-#endif
+
return str;
}
+#else
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName(const TopTools_ListOfShape&,
+ const TCollection_AsciiString&,
+ const TCollection_AsciiString&) const
+{
+ TCollection_AsciiString str;
+ return str;
+}
+#endif
//=======================================================================
//function : SNameori
//purpose :
//=======================================================================
-TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori(const TopTools_ListOfShape& L,const TCollection_AsciiString& sb,const TCollection_AsciiString& sa) const
+TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori(const TopTools_ListOfShape& /*L*/,
+ const TCollection_AsciiString& /*sb*/,
+ const TCollection_AsciiString& /*sa*/) const
{
TCollection_AsciiString str;
#ifdef DRAW
if (trc) cout <<"*********failure in TopOpeBRepTool::PurgeClosingEdges***********\n";
#endif
}
-Standard_EXPORT Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f){
+Standard_EXPORT Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& /*f*/){
Standard_Integer ie = STATIC_PURGE_mapeds.Add(ed);
#ifdef DRAW
// TCollection_AsciiString aa = TCollection_AsciiString("pc_"); FUN_tool_draw(aa,TopoDS::Edge(ed),TopoDS::Face(f),ie);
Handle(Standard_Type) TransferBRep_ShapeInfo::Type
- (const TopoDS_Shape& ent)
+ (const TopoDS_Shape& /*ent*/)
{ return STANDARD_TYPE(TopoDS_TShape); }
Standard_CString TransferBRep_ShapeInfo::TypeName
#include <ViewerTest.hxx>
#include <Draw_Interpretor.hxx>
-static Standard_Integer avi_record(Draw_Interpretor& di,
+static Standard_Integer avi_record(Draw_Interpretor& /*di*/,
Standard_Integer argc, const char** argv)
{
if (argc < 2)
// [PlaneName] [PointName]
//==============================================================================
-static Standard_Integer VPlaneBuilder (Draw_Interpretor& di,
+static Standard_Integer VPlaneBuilder (Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char** argv)
{
return aFace;
}
-void FilledCircle::Compute(const Handle_PrsMgr_PresentationManager3d &thePresentationManager,
+void FilledCircle::Compute(const Handle_PrsMgr_PresentationManager3d &/*thePresentationManager*/,
const Handle_Prs3d_Presentation &thePresentation,
const Standard_Integer theMode)
{
}
void FilledCircle::ComputeSelection(const Handle_SelectMgr_Selection &theSelection,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
Handle(SelectMgr_EntityOwner) anEntityOwner = new SelectMgr_EntityOwner(this);
Handle(Select3D_SensitiveCircle) aSensitiveCircle = new Select3D_SensitiveCircle(anEntityOwner,
}
-static int VCircleBuilder(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
+static int VCircleBuilder(Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv)
{
Standard_Integer myCurrentIndex;
// Verification of the arguments
const Handle(Prs3d_Presentation)& aPresentation,
const Standard_Integer aMode);
- void ComputeSelection ( const Handle(SelectMgr_Selection)& aSelection,
- const Standard_Integer aMode){} ;
+ void ComputeSelection ( const Handle(SelectMgr_Selection)& /*aSelection*/,
+ const Standard_Integer /*aMode*/){} ;
protected:
TCollection_ExtendedString aText;
//////////////////////////////////////////////////////////////////////////////
-void MyTextClass::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
+void MyTextClass::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/,
const Handle(Prs3d_Presentation)& aPresentation,
- const Standard_Integer aMode)
+ const Standard_Integer /*aMode*/)
{
aPresentation->Clear();
//author : psn
//purpose : Create an AIS shape.
//===============================================================================================
-static int VDrawSphere (Draw_Interpretor& di, Standard_Integer argc, const char** argv)
+static int VDrawSphere (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv)
{
// check for errors
Handle(AIS_InteractiveContext) aContextAIS = ViewerTest::GetAISContext();
//function : VClipPlane
//purpose :
//===============================================================================================
-static int VClipPlane (Draw_Interpretor& di, Standard_Integer argc, const char** argv)
+static int VClipPlane (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv)
{
Handle(V3d_Viewer) aViewer = ViewerTest::GetViewerFromContext();
Handle(V3d_View) aView = ViewerTest::CurrentView();
const Handle(Prs3d_Presentation)& aPresentation,
const Standard_Integer aMode);
- void ComputeSelection (const Handle(SelectMgr_Selection)& aSelection,
- const Standard_Integer aMode) {};
+ void ComputeSelection (const Handle(SelectMgr_Selection)& /*aSelection*/,
+ const Standard_Integer /*aMode*/) {};
protected:
IMPLEMENT_STANDARD_HANDLE(MyPArrayObject, AIS_InteractiveObject)
IMPLEMENT_STANDARD_RTTIEXT(MyPArrayObject, AIS_InteractiveObject)
-void MyPArrayObject::Compute (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
+void MyPArrayObject::Compute (const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/,
const Handle(Prs3d_Presentation)& aPresentation,
- const Standard_Integer aMode)
+ const Standard_Integer /*aMode*/)
{
aPresentation->Clear();
Prs3d_Root::CurrentGroup (aPresentation)->AddPrimitiveArray (myArray);
//Draw arg : vconnect name Xo Yo Zo Xu Xv Xw Zu Zv Zw object1 object2 ... [color=NAME]
//===============================================================================================
-static Standard_Integer VConnect(Draw_Interpretor& di,
+static Standard_Integer VConnect(Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
//Draw arg : vconnectsh name Xo Yo Zo Xu Xv Xw Zu Zv Zw shape1 shape2 ... [color=NAME]
//===============================================================================================
-static Standard_Integer VConnectShape(Draw_Interpretor& di,
+static Standard_Integer VConnectShape(Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
return Standard_False;
}
-static Standard_Integer VSetSelectionMode(Draw_Interpretor& di,
+static Standard_Integer VSetSelectionMode(Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
myPoint3 = theP3;
}
-void Triangle::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
+void Triangle::Compute(const Handle(PrsMgr_PresentationManager3d)& /*thePresentationManager*/,
const Handle(Prs3d_Presentation)& thePresentation,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
thePresentation->Clear();
}
void Triangle::ComputeSelection(const Handle(SelectMgr_Selection)& theSelection,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
Handle(SelectMgr_EntityOwner) anEntityOwner = new SelectMgr_EntityOwner(this);
Handle(Select3D_SensitiveTriangle) aSensTriangle =
return Standard_False;
}
-static Standard_Integer VTriangle (Draw_Interpretor& di,
+static Standard_Integer VTriangle (Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
myPoint2 = thePnt2;
}
-void SegmentObject::Compute (const Handle_PrsMgr_PresentationManager3d &thePresentationManager,
+void SegmentObject::Compute (const Handle_PrsMgr_PresentationManager3d &/*thePresentationManager*/,
const Handle_Prs3d_Presentation &thePresentation,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
thePresentation->Clear();
BRepBuilderAPI_MakeEdge anEdgeMaker(myPoint1, myPoint2);
}
void SegmentObject::ComputeSelection (const Handle_SelectMgr_Selection &theSelection,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
Handle(SelectMgr_EntityOwner) anOwner = new SelectMgr_EntityOwner(this);
Handle(TColgp_HArray1OfPnt) anArray = new TColgp_HArray1OfPnt(1, 2);
//Draw args : vsegment Name PointName PointName
//purpose : creates and displays Segment
//=======================================================================
-static Standard_Integer VSegment (Draw_Interpretor& di,
+static Standard_Integer VSegment (Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
//function : VPolygonOffset
//purpose : Set or get polygon offset parameters
//=======================================================================
-static Standard_Integer VPolygonOffset(Draw_Interpretor& di,
+static Standard_Integer VPolygonOffset(Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
//function : VShowFaceBoundaries
//purpose : Set face boundaries drawing on/off for ais object
//=======================================================================
-static Standard_Integer VShowFaceBoundary (Draw_Interpretor& di,
+static Standard_Integer VShowFaceBoundary (Draw_Interpretor& /*di*/,
Standard_Integer argc,
const char ** argv)
{
myIObj->Render(theWorkspace);
}
- virtual void Release (const Handle(OpenGl_Context)& theGlCtx)
+ virtual void Release (const Handle(OpenGl_Context)&)
{
//
}
IMPLEMENT_STANDARD_HANDLE(VUserDrawObj, AIS_InteractiveObject)
IMPLEMENT_STANDARD_RTTIEXT(VUserDrawObj, AIS_InteractiveObject)
-void VUserDrawObj::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
+void VUserDrawObj::Compute(const Handle(PrsMgr_PresentationManager3d)& /*thePresentationManager*/,
const Handle(Prs3d_Presentation)& thePresentation,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
thePresentation->Clear();
}
void VUserDrawObj::ComputeSelection (const Handle(SelectMgr_Selection)& theSelection,
- const Standard_Integer theMode)
+ const Standard_Integer /*theMode*/)
{
Handle(SelectMgr_EntityOwner) anEntityOwner = new SelectMgr_EntityOwner(this);
Handle(TColgp_HArray1OfPnt) aPnts = new TColgp_HArray1OfPnt(1, 5);
//==============================================================================
static int VFeedback (Draw_Interpretor& theDI,
- Standard_Integer theArgNb,
- const char** theArgVec)
+ Standard_Integer /*theArgNb*/,
+ const char** /*theArgVec*/)
{
// get the active view
Handle(V3d_View) aView = ViewerTest::CurrentView();
//purpose :
//==============================================================================
-static int VImmediateFront (Draw_Interpretor& theDI,
+static int VImmediateFront (Draw_Interpretor& /*theDI*/,
Standard_Integer theArgNb,
const char** theArgVec)
{
//purpose :
//==============================================================================
-static int VGrid (Draw_Interpretor& theDI,
+static int VGrid (Draw_Interpretor& /*theDI*/,
Standard_Integer theArgNb,
const char** theArgVec)
{
//purpose :
//==============================================================================
-static int VVbo (Draw_Interpretor& theDI,
+static int VVbo (Draw_Interpretor& /*theDI*/,
Standard_Integer theArgNb,
const char** theArgVec)
{
myParams->SetRotation (theAngle);
}
-static int VTextureEnv (Draw_Interpretor& theDI, Standard_Integer theArgNb, const char** theArgVec)
+static int VTextureEnv (Draw_Interpretor& /*theDI*/, Standard_Integer theArgNb, const char** theArgVec)
{
// get the active view
Handle(V3d_View) aView = ViewerTest::CurrentView();
}
-void Visual3d_View::ChangeDisplayPriority (const Handle(Graphic3d_Structure)& AStructure, const Standard_Integer OldPriority, const Standard_Integer NewPriority) {
+void Visual3d_View::ChangeDisplayPriority (const Handle(Graphic3d_Structure)& AStructure, const Standard_Integer /*OldPriority*/, const Standard_Integer NewPriority) {
if (IsDeleted ()) return;
if (! IsDefined ()) return;
}
-Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Graphic3d_Vector& VPN, const Standard_Real Twist) {
+Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Graphic3d_Vector& VPN, const Standard_Real /*Twist*/) {
if (Graphic3d_Vector::NormeOf (VPN) == 0.0)
Visual3d_ViewOrientationDefinitionError::Raise
}
-Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Standard_Real Azim, const Standard_Real Inc, const Standard_Real Twist) {
+Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Standard_Real /*Azim*/, const Standard_Real /*Inc*/, const Standard_Real /*Twist*/) {
cout << "\nVisual3d_ViewOrientation : Not Yet Implemented\n\n" << flush;
}
Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner,
- const Standard_Integer ithread)
+ const Standard_Integer /*ithread*/)
{
Voxel_DS* ds = (Voxel_DS*) myVoxels;
Standard_Integer ix, iy, iz, nbx = ds->GetNbX(), nby = ds->GetNbY(), nbz = ds->GetNbZ();
return Standard_True;
}
-Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner, const TopoDS_Shape & shape, const Standard_Integer ithread)
+Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner, const TopoDS_Shape & shape, const Standard_Integer /*ithread*/)
{
Voxel_DS* ds = (Voxel_DS*) myVoxels;
Standard_Integer ix, iy, iz, nbx = ds->GetNbX(), nby = ds->GetNbY(), nbz = ds->GetNbZ();
Handle(VrmlData_Node) VrmlData_Scene::FindNode
(const char * theName,
- const Handle(Standard_Type)& theType) const
+ const Handle(Standard_Type)& /*theType*/) const
{
Handle(VrmlData_Node) aResult;
#ifdef USE_LIST_API
#ifdef OCC5415
void operator delete (void*, W32_Allocator*) {}
private: // to protect against possible accidental usage
- void operator delete (void* p) {}
+ void operator delete (void*) {}
#endif
};
///
} // end constructor
-void W32_PointNote :: Play ( BOOL fDummy ) {
+void W32_PointNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.SetPixel ( myX, myY, ALLOCATOR -> myPointColor );
} // end constructor
-void W32_MarkerPointNote :: Play ( BOOL fDummy ) {
+void W32_MarkerPointNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.SetPixel ( myX, myY, ALLOCATOR -> myMarkerPointColor );
} // end constructor
-void W32_LineNote :: Play ( BOOL fDummy ) {
+void W32_LineNote :: Play ( BOOL ) {
EHDC* pe = &ALLOCATOR -> myHDC;
} // end constructor
-void W32_PolyEllipseNote :: Play ( BOOL fDummy ) {
+void W32_PolyEllipseNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Polyarc ( myX, myY, myXr, myYr );
} // end constructor
-void W32_EllipseNote :: Play ( BOOL fDummy ) {
+void W32_EllipseNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr );
} // end constructor
-void W32_ArcNote :: Play ( BOOL fDummy ) {
+void W32_ArcNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr, mySa, myOa );
} // end constructor
-void W32_PolyChordNote :: Play ( BOOL fDummy ) {
+void W32_PolyChordNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Polyarc ( myX, myY, myXr, myYr, mySa, myOa );
} // end constructor
-void W32_ChordNote :: Play ( BOOL fDummy ) {
+void W32_ChordNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr, mySa, myOa );
} // end constructor
-void W32_PolySectorNote :: Play ( BOOL fDummy ) {
+void W32_PolySectorNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Polyarc ( myX, myY, myXr, myYr, mySa, myOa, FALSE );
} // end constructor
-void W32_SectorNote :: Play ( BOOL fDummy ) {
+void W32_SectorNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr, mySa, myOa, ARCF_PIE );
} // end constructor
-void W32_PolyMarker1Note :: Play ( BOOL fDummy ) {
+void W32_PolyMarker1Note :: Play ( BOOL ) {
if ( ALLOCATOR -> myFlags & W32F_MFILL )
} // end constructor
-void W32_PolyMarker2Note :: Play ( BOOL fDummy ) {
+void W32_PolyMarker2Note :: Play ( BOOL ) {
if ( ALLOCATOR -> myFlags & W32F_MFILL )
} // end constructor
-void W32_PolygonNote :: Play ( BOOL fDummy ) {
+void W32_PolygonNote :: Play ( BOOL ) {
ALLOCATOR -> myHDC.Polygon (
myPoints, mySetPoints,
} // end constructor
-void W32_PolylineNote :: Play ( BOOL fDummy ) {
+void W32_PolylineNote :: Play ( BOOL ) {
DWORD nPts;
BOOL fClose;
} // end W32_ImageNote :: ~W32_ImageNote
-void W32_ImageNote :: Play ( BOOL fDummy ) {
+void W32_ImageNote :: Play ( BOOL ) {
int xx, yy, w, h;
HDC hdc, hdcMem;
} // end constructor
-void W32_TextNote :: Play ( BOOL fDummy ) {
+void W32_TextNote :: Play ( BOOL ) {
if ( myFlags & W32F_TUNICODE )
} // end constructor
-void W32_PolyTextNote :: Play ( BOOL fDummy ) {
+void W32_PolyTextNote :: Play ( BOOL ) {
BOOL fNofill = ( ALLOCATOR -> myFlags & W32F_NOFIL ? TRUE : FALSE );
BOOL fNoframe = ( ALLOCATOR -> myFlags & W32F_POUTL ? FALSE : TRUE );
} // end constructor
-void W32_BeginMarkerNote :: Play ( BOOL fDummy ) {
+void W32_BeginMarkerNote :: Play ( BOOL ) {
XFORM xfm;
LOGBRUSH lb = { BS_SOLID, ALLOCATOR -> myMarkerPointColor, 0 };
////////////////////////////////////////////////////////////////////////////////
W32_EndMarkerNote :: W32_EndMarkerNote () {}
-void W32_EndMarkerNote :: Play ( BOOL fDummy ) {
+void W32_EndMarkerNote :: Play ( BOOL ) {
ALLOCATOR -> Xform ();
ALLOCATOR -> myHDC.SelectEPen ( 0xFFFFFFFF, NULL );
} // end constructor
-void W32_MarkerAttribNote :: Play ( BOOL fDummy ) {
+void W32_MarkerAttribNote :: Play ( BOOL ) {
ALLOCATOR -> myMarkerBrush.lbStyle = BS_SOLID;
ALLOCATOR -> myMarkerBrush.lbColor = ALLOCATOR -> myPolyBrush.lbColor;
} // end constructor
-void W32_FCallNote :: Play ( BOOL fDummy ) {
+void W32_FCallNote :: Play ( BOOL ) {
( *myFunc ) ( myParam );
{
} // end constructor
-void WNT_PointNote :: Play ( BOOL fDummy )
+void WNT_PointNote :: Play ( BOOL )
{
Xform ();
SetPixel ( ALLOCATOR -> myHDC, myTX, myTY, ALLOCATOR -> myPointColor );
{
} // end constructor
-void WNT_MarkerPointNote :: Play ( BOOL fDummy )
+void WNT_MarkerPointNote :: Play ( BOOL )
{
Xform ();
SetPixel ( ALLOCATOR -> myHDC, myTX, myTY, ALLOCATOR -> myMarkerPointColor );
myY2 = y1;
} // end constructor
-void WNT_LineNote :: Play ( BOOL fDummy )
+void WNT_LineNote :: Play ( BOOL )
{
Xform ();
MoveToEx ( ALLOCATOR -> myHDC, myTX , myTY, NULL );
myYr = yr;
} // end constructor
-void WNT_PolyEllipseNote :: Play ( BOOL fDummy )
+void WNT_PolyEllipseNote :: Play ( BOOL )
{
Xform ();
Ellipse ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr,
{
} // end constructor
-void WNT_EllipseNote :: Play ( BOOL fDummy )
+void WNT_EllipseNote :: Play ( BOOL )
{
Xform ();
HBRUSH hob = SelectBrush ( ALLOCATOR -> myHDC, GetStockObject (NULL_BRUSH) );
myEY = int ( eSinA * 2 * Radius + yc );
} // end constructor
-void WNT_ArcNote :: Play ( BOOL fDummy )
+void WNT_ArcNote :: Play ( BOOL )
{
Xform ();
SetArcDirection ( ALLOCATOR -> myHDC, myDirect );
{
} // end constructor
-void WNT_PolyChordNote :: Play ( BOOL fDummy )
+void WNT_PolyChordNote :: Play ( BOOL )
{
Xform ();
Chord ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr,
{
} // end constructor
-void WNT_ChordNote :: Play ( BOOL fDummy )
+void WNT_ChordNote :: Play ( BOOL )
{
Xform ();
HBRUSH hob = SelectBrush ( ALLOCATOR -> myHDC, GetStockObject (NULL_BRUSH) );
{
} // end constructor
-void WNT_PolySectorNote :: Play ( BOOL fDummy )
+void WNT_PolySectorNote :: Play ( BOOL )
{
Xform ();
Pie ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr,
{
} // end constructor
-void WNT_SectorNote :: Play ( BOOL fDummy )
+void WNT_SectorNote :: Play ( BOOL )
{
Xform ();
HBRUSH hob = SelectBrush ( ALLOCATOR -> myHDC, GetStockObject (NULL_BRUSH) );
{
} // end constructor
-void WNT_PolyMarker1Note :: Play ( BOOL fDummy )
+void WNT_PolyMarker1Note :: Play ( BOOL )
{
if ( ALLOCATOR -> myFlags & W32F_MFILL )
DrawPolygon ( ALLOCATOR -> myHDC, myPoints, mySetPoints, POLYF_NOCLOSEDGE );
{
} // end constructor
-void WNT_PolyMarker2Note :: Play ( BOOL fDummy )
+void WNT_PolyMarker2Note :: Play ( BOOL )
{
if ( ALLOCATOR -> myFlags & W32F_MFILL )
DrawPolygon ( ALLOCATOR -> myHDC, myPoints, mySetPoints - 1, 0 );
myTPoints = ( LPPOINT ) ALLOCATOR -> NewData (myMaxPoints * sizeof ( POINT ));
} // end constructor
-void WNT_PolygonNote :: Play ( BOOL fDummy )
+void WNT_PolygonNote :: Play ( BOOL )
{
Xform ();
DrawPolygon (
{
} // end constructor
-void WNT_PolylineNote :: Play ( BOOL fDummy )
+void WNT_PolylineNote :: Play ( BOOL )
{
Xform ();
DWORD nPts;
} // end if
} // end WNT_ImageNote :: ~WNT_ImageNote
-void WNT_ImageNote :: Play ( BOOL fDummy )
+void WNT_ImageNote :: Play ( BOOL )
{
Xform ();
int xx, yy, w, h;
PaintText ();
} // end WNT_TextNote :: FillText
-void WNT_TextNote :: Play ( BOOL fDummy )
+void WNT_TextNote :: Play ( BOOL )
{
Xform ();
SIZE size;
{
} // end constructor
-void WNT_PolyTextNote :: Play ( BOOL fDummy )
+void WNT_PolyTextNote :: Play ( BOOL )
{
Xform ();
SIZE size;
ALLOCATOR -> RecalcMatrix (myMatrix, myAngle - myPrevAngle, myX, myY);
} // end constructor
-void WNT_BeginMarkerNote :: Play ( BOOL fDummy )
+void WNT_BeginMarkerNote :: Play ( BOOL )
{
ALLOCATOR -> myPO = SelectPen (ALLOCATOR -> myHDC, ALLOCATOR -> myMarkerPen);
#ifdef PRO19042
{
}
-void WNT_EndMarkerNote :: Play ( BOOL fDummy )
+void WNT_EndMarkerNote :: Play ( BOOL )
{
ALLOCATOR -> Xform ();
SelectPen ( ALLOCATOR -> myHDC, ALLOCATOR -> myPO );
// W N T _ P o l y A t t r i b N o t e //
////////////////////////////////////////////////////////////////////////////////
WNT_PolyAttribNote :: WNT_PolyAttribNote (
- PLOGBRUSH plb, BOOL fDrawEdge, int aFillMode
+ PLOGBRUSH plb, BOOL fDrawEdge, int /*aFillMode*/
)
{
myfEdge = fDrawEdge;
#endif
} // enf WNT_MarkerAttribNote :: ~WNT_MarkerAttribNote
-void WNT_MarkerAttribNote :: Play ( BOOL fRealize )
+void WNT_MarkerAttribNote :: Play ( BOOL )
{
if (myFill) ALLOCATOR -> myFlags |= W32F_MFILL;
else ALLOCATOR -> myFlags &= ~W32F_MFILL;
Standard_Boolean XSDRAWSTLVRML_DataSource::GetNodesByElement
( const Standard_Integer ID,
TColStd_Array1OfInteger& theNodeIDs,
- Standard_Integer& theNbNodes ) const
+ Standard_Integer& /*theNbNodes*/ ) const
{
if( myMesh.IsNull() )
return Standard_False;
// Function :
// Purpose :
//================================================================
-void XSDRAWSTLVRML_DrawableMesh::DrawOn(Draw_Display& d) const
+void XSDRAWSTLVRML_DrawableMesh::DrawOn(Draw_Display& /*d*/) const
{
}
math_Function &theFunction,
const Standard_Real theLower,
const Standard_Real theUpper,
- const math_Vector& theGaussP,
+ const math_Vector& /*theGaussP*/,
const math_Vector& theGaussW,
const math_Vector& theKronrodP,
const math_Vector& theKronrodW,