mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 04:17:44 +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:
@@ -22,14 +22,6 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_RevolvedAreaSolid,StepShape_SweptAreaSolid)
|
||||
|
||||
StepShape_RevolvedAreaSolid::StepShape_RevolvedAreaSolid () {}
|
||||
|
||||
void StepShape_RevolvedAreaSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_CurveBoundedSurface)& aSweptArea)
|
||||
{
|
||||
|
||||
StepShape_SweptAreaSolid::Init(aName, aSweptArea);
|
||||
}
|
||||
|
||||
void StepShape_RevolvedAreaSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_CurveBoundedSurface)& aSweptArea,
|
||||
|
||||
Reference in New Issue
Block a user