mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-22 04:37:23 +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:
@@ -21,15 +21,6 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PlanarBox,StepVisual_PlanarExtent)
|
||||
|
||||
StepVisual_PlanarBox::StepVisual_PlanarBox () {}
|
||||
|
||||
void StepVisual_PlanarBox::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Standard_Real aSizeInX,
|
||||
const Standard_Real aSizeInY)
|
||||
{
|
||||
|
||||
StepVisual_PlanarExtent::Init(aName, aSizeInX, aSizeInY);
|
||||
}
|
||||
|
||||
void StepVisual_PlanarBox::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Standard_Real aSizeInX,
|
||||
|
||||
Reference in New Issue
Block a user