0025169: STEP Reader - allow opened shells to be an outer for ManifoldSolidBrep
[occt.git] / src / StepShape / StepShape_ManifoldSolidBrep.cxx
index ab6e04d..46f491f 100644 (file)
@@ -23,9 +23,19 @@ void StepShape_ManifoldSolidBrep::Init(
        StepRepr_RepresentationItem::Init(aName);
 }
 
+void StepShape_ManifoldSolidBrep::Init(
+  const Handle(TCollection_HAsciiString)& aName,
+  const Handle(StepShape_ClosedShell)& aOuter)
+{
+  // --- classe own fields ---
+  outer = aOuter;
+  // --- classe inherited fields ---
+  StepRepr_RepresentationItem::Init(aName);
+}
+
 void StepShape_ManifoldSolidBrep::Init(
        const Handle(TCollection_HAsciiString)& aName,
-       const Handle(StepShape_ClosedShell)& aOuter)
+       const Handle(StepShape_ConnectedFaceSet)& aOuter)
 {
        // --- classe own fields ---
        outer = aOuter;
@@ -33,13 +43,12 @@ void StepShape_ManifoldSolidBrep::Init(
        StepRepr_RepresentationItem::Init(aName);
 }
 
-
-void StepShape_ManifoldSolidBrep::SetOuter(const Handle(StepShape_ClosedShell)& aOuter)
+void StepShape_ManifoldSolidBrep::SetOuter(const Handle(StepShape_ConnectedFaceSet)& aOuter)
 {
        outer = aOuter;
 }
 
-Handle(StepShape_ClosedShell) StepShape_ManifoldSolidBrep::Outer() const
+Handle(StepShape_ConnectedFaceSet) StepShape_ManifoldSolidBrep::Outer() const
 {
        return outer;
 }