1 #include <StepShape_OrientedFace.ixx>
4 StepShape_OrientedFace::StepShape_OrientedFace () {}
6 void StepShape_OrientedFace::Init(
7 const Handle(TCollection_HAsciiString)& aName,
8 const Handle(StepShape_HArray1OfFaceBound)& aBounds)
11 StepShape_Face::Init(aName, aBounds);
14 void StepShape_OrientedFace::Init(
15 const Handle(TCollection_HAsciiString)& aName,
16 const Handle(StepShape_Face)& aFaceElement,
17 const Standard_Boolean aOrientation)
19 // --- classe own fields ---
20 faceElement = aFaceElement;
21 orientation = aOrientation;
22 // --- classe inherited fields ---
23 Handle(StepShape_HArray1OfFaceBound) aBounds;
25 StepShape_Face::Init(aName, aBounds);
29 void StepShape_OrientedFace::SetFaceElement(const Handle(StepShape_Face)& aFaceElement)
31 faceElement = aFaceElement;
34 Handle(StepShape_Face) StepShape_OrientedFace::FaceElement() const
39 void StepShape_OrientedFace::SetOrientation(const Standard_Boolean aOrientation)
41 orientation = aOrientation;
44 Standard_Boolean StepShape_OrientedFace::Orientation() const
49 void StepShape_OrientedFace::SetBounds(const Handle(StepShape_HArray1OfFaceBound)& aBounds)
51 // WARNING : the field is redefined.
52 // field set up forbidden.
53 cout << "Field is redefined, SetUp Forbidden" << endl;
56 Handle(StepShape_HArray1OfFaceBound) StepShape_OrientedFace::Bounds() 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 faceElement->Bounds();
65 Handle(StepShape_FaceBound) StepShape_OrientedFace::BoundsValue(const Standard_Integer num) const
67 // WARNING : the field is redefined.
68 // method body is not yet automaticly wrote
69 // Attention, cette modif. est juste pour la compilation
70 return faceElement->BoundsValue(num);
73 Standard_Integer StepShape_OrientedFace::NbBounds () const
75 // WARNING : the field is redefined.
76 // method body is not yet automaticly wrote
77 // Attention, cette modif. est juste pour la compilation
78 return faceElement->NbBounds();