mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Eliminate compiler warnings on VC++ 14 and CLang.
Remove unused stuff from OSD_WNT.cxx.
This commit is contained in:
@@ -1425,10 +1425,10 @@ void IntPatch_ImpPrmIntersection::Perform (const Handle(Adaptor3d_HSurface)& Sur
|
||||
|
||||
if(!aRL2.IsNull())
|
||||
{
|
||||
const Handle(Adaptor2d_HCurve2d)& anArc = aRL2->IsArcOnS1() ?
|
||||
aRL2->ArcOnS1() :
|
||||
aRL2->ArcOnS2();
|
||||
if(anArc->Curve2d().GetType() != GeomAbs_Line)
|
||||
const Handle(Adaptor2d_HCurve2d)& anArc2 = aRL2->IsArcOnS1() ?
|
||||
aRL2->ArcOnS1() :
|
||||
aRL2->ArcOnS2();
|
||||
if(anArc2->Curve2d().GetType() != GeomAbs_Line)
|
||||
{
|
||||
//Restriction line must be isoline.
|
||||
//Other cases are not supported by
|
||||
|
@@ -59,7 +59,7 @@ public:
|
||||
Standard_EXPORT IntPatch_RLine(const Standard_Boolean Tang);
|
||||
|
||||
//! To add a vertex in the list.
|
||||
virtual void AddVertex (const IntPatch_Point& Pnt);
|
||||
virtual void AddVertex (const IntPatch_Point& Pnt) Standard_OVERRIDE;
|
||||
|
||||
//! Replaces the element of range Index in the list
|
||||
//! of points.
|
||||
@@ -118,10 +118,10 @@ public:
|
||||
const IntPatch_Point& LastPoint() const;
|
||||
|
||||
//! Returns number of vertices (IntPatch_Point) of the line
|
||||
virtual Standard_Integer NbVertex() const;
|
||||
virtual Standard_Integer NbVertex() const Standard_OVERRIDE;
|
||||
|
||||
//! Returns the vertex of range Index on the line.
|
||||
virtual const IntPatch_Point& Vertex (const Standard_Integer Index) const;
|
||||
virtual const IntPatch_Point& Vertex (const Standard_Integer Index) const Standard_OVERRIDE;
|
||||
|
||||
Standard_Boolean HasPolygon() const;
|
||||
|
||||
@@ -141,10 +141,10 @@ public:
|
||||
Standard_EXPORT void ComputeVertexParameters (const Standard_Real Tol);
|
||||
|
||||
//! Returns set of intersection points
|
||||
Standard_EXPORT virtual Handle(IntSurf_LineOn2S) Curve() const;
|
||||
Standard_EXPORT virtual Handle(IntSurf_LineOn2S) Curve() const Standard_OVERRIDE;
|
||||
|
||||
//! Removes vertices from the line (i.e. cleans svtx member)
|
||||
virtual void ClearVertexes()
|
||||
virtual void ClearVertexes() Standard_OVERRIDE
|
||||
{
|
||||
svtx.Clear();
|
||||
}
|
||||
|
@@ -63,7 +63,7 @@ public:
|
||||
Standard_EXPORT IntPatch_WLine(const Handle(IntSurf_LineOn2S)& Line, const Standard_Boolean Tang);
|
||||
|
||||
//! Adds a vertex in the list.
|
||||
virtual void AddVertex (const IntPatch_Point& Pnt);
|
||||
virtual void AddVertex (const IntPatch_Point& Pnt) Standard_OVERRIDE;
|
||||
|
||||
//! Set the Point of index <Index> in the LineOn2S
|
||||
Standard_EXPORT void SetPoint (const Standard_Integer Index, const IntPatch_Point& Pnt);
|
||||
@@ -109,10 +109,10 @@ public:
|
||||
const IntPatch_Point& LastPoint (Standard_Integer& Indlast) const;
|
||||
|
||||
//! Returns number of vertices (IntPatch_Point) of the line
|
||||
virtual Standard_Integer NbVertex() const;
|
||||
virtual Standard_Integer NbVertex() const Standard_OVERRIDE;
|
||||
|
||||
//! Returns the vertex of range Index on the line.
|
||||
virtual const IntPatch_Point& Vertex (const Standard_Integer Index) const;
|
||||
virtual const IntPatch_Point& Vertex (const Standard_Integer Index) const Standard_OVERRIDE;
|
||||
|
||||
//! Set the parameters of all the vertex on the line.
|
||||
//! if a vertex is already in the line,
|
||||
@@ -121,7 +121,7 @@ public:
|
||||
Standard_EXPORT void ComputeVertexParameters (const Standard_Real Tol, const Standard_Boolean hasBeenAdded = Standard_False);
|
||||
|
||||
//! Returns set of intersection points
|
||||
Standard_EXPORT virtual Handle(IntSurf_LineOn2S) Curve() const;
|
||||
Standard_EXPORT virtual Handle(IntSurf_LineOn2S) Curve() const Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT Standard_Boolean IsOutSurf1Box (const gp_Pnt2d& P1);
|
||||
|
||||
@@ -152,7 +152,7 @@ public:
|
||||
Standard_EXPORT const Handle(Adaptor2d_HCurve2d)& GetArcOnS2() const;
|
||||
|
||||
//! Removes vertices from the line (i.e. cleans svtx member)
|
||||
virtual void ClearVertexes();
|
||||
virtual void ClearVertexes() Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT void RemoveVertex (const Standard_Integer theIndex);
|
||||
|
||||
|
Reference in New Issue
Block a user