1 #include <StepShape_OrientedClosedShell.ixx>
4 StepShape_OrientedClosedShell::StepShape_OrientedClosedShell () {}
6 void StepShape_OrientedClosedShell::Init(
7 const Handle(TCollection_HAsciiString)& aName,
8 const Handle(StepShape_HArray1OfFace)& aCfsFaces)
11 StepShape_ConnectedFaceSet::Init(aName, aCfsFaces);
14 void StepShape_OrientedClosedShell::Init(
15 const Handle(TCollection_HAsciiString)& aName,
16 const Handle(StepShape_ClosedShell)& aClosedShellElement,
17 const Standard_Boolean aOrientation)
19 // --- classe own fields ---
20 closedShellElement = aClosedShellElement;
21 orientation = aOrientation;
22 // --- classe inherited fields ---
23 Handle(StepShape_HArray1OfFace) aCfsFaces;
25 StepShape_ConnectedFaceSet::Init(aName, aCfsFaces);
29 void StepShape_OrientedClosedShell::SetClosedShellElement(const Handle(StepShape_ClosedShell)& aClosedShellElement)
31 closedShellElement = aClosedShellElement;
34 Handle(StepShape_ClosedShell) StepShape_OrientedClosedShell::ClosedShellElement() const
36 return closedShellElement;
39 void StepShape_OrientedClosedShell::SetOrientation(const Standard_Boolean aOrientation)
41 orientation = aOrientation;
44 Standard_Boolean StepShape_OrientedClosedShell::Orientation() const
49 void StepShape_OrientedClosedShell::SetCfsFaces(const Handle(StepShape_HArray1OfFace)& aCfsFaces)
51 // WARNING : the field is redefined.
52 // field set up forbidden.
53 cout << "Field is redefined, SetUp Forbidden" << endl;
56 Handle(StepShape_HArray1OfFace) StepShape_OrientedClosedShell::CfsFaces() const
58 // WARNING : the field is redefined.
59 // method body is not yet automaticly wrote
60 // Attention, cette modif. est juste pour la compilation
61 return closedShellElement->CfsFaces();
64 Handle(StepShape_Face) StepShape_OrientedClosedShell::CfsFacesValue(const Standard_Integer num) const
66 // WARNING : the field is redefined.
67 // method body is not yet automaticly wrote
68 // Attention, cette modif. est juste pour la compilation
69 return closedShellElement->CfsFacesValue(num);
72 Standard_Integer StepShape_OrientedClosedShell::NbCfsFaces () const
74 // WARNING : the field is redefined.
75 // method body is not yet automaticly wrote
76 // Attention, cette modif. est juste pour la compilation
77 return closedShellElement->NbCfsFaces();