1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0027047: STEP -- eliminate useless polymorhic methods Init()

Methods Init() in STEP data classes are made non-virtual, redundant variants just calling the same method of the base class are removed.
A few places where removed method have been called are corrected.
This commit is contained in:
abv
2015-12-29 07:00:18 +03:00
parent 17470159fd
commit 18f7c9a5c2
398 changed files with 260 additions and 1893 deletions

View File

@@ -39,9 +39,7 @@ public:
//! Returns a RightCircularCone
Standard_EXPORT StepShape_RightCircularCone();
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Axis1Placement)& aPosition, const Standard_Real aHeight, const Standard_Real aRadius, const Standard_Real aSemiAngle);
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Axis1Placement)& aPosition, const Standard_Real aHeight, const Standard_Real aRadius, const Standard_Real aSemiAngle);
Standard_EXPORT void SetPosition (const Handle(StepGeom_Axis1Placement)& aPosition);