mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-09 23:46:52 +08: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:
@@ -42,9 +42,7 @@ public:
|
||||
//! Returns a OrientedOpenShell
|
||||
Standard_EXPORT StepShape_OrientedOpenShell();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_HArray1OfFace)& aCfsFaces) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_OpenShell)& aOpenShellElement, const Standard_Boolean aOrientation);
|
||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_OpenShell)& aOpenShellElement, const Standard_Boolean aOrientation);
|
||||
|
||||
Standard_EXPORT void SetOpenShellElement (const Handle(StepShape_OpenShell)& aOpenShellElement);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user