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

0025169: STEP Reader - allow opened shells to be an outer for ManifoldSolidBrep

Allow opened shells to be an outer for ManifoldSolidBrep
This commit is contained in:
drazmyslovich
2014-08-19 15:31:06 +02:00
committed by bugmaster
parent bedd79c434
commit eab2c8518e
5 changed files with 31 additions and 17 deletions

View 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;
}