blob: 014c93248bd30c6c68fffbd9270068001b69f762 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include <StepShape_Face.ixx>
StepShape_Face::StepShape_Face () {}
void StepShape_Face::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepShape_Face::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepShape_HArray1OfFaceBound)& aBounds)
{
// --- classe own fields ---
bounds = aBounds;
// --- classe inherited fields ---
StepRepr_RepresentationItem::Init(aName);
}
void StepShape_Face::SetBounds(const Handle(StepShape_HArray1OfFaceBound)& aBounds)
{
bounds = aBounds;
}
Handle(StepShape_HArray1OfFaceBound) StepShape_Face::Bounds() const
{
return bounds;
}
Handle(StepShape_FaceBound) StepShape_Face::BoundsValue(const Standard_Integer num) const
{
return bounds->Value(num);
}
Standard_Integer StepShape_Face::NbBounds () const
{
if (bounds.IsNull()) return 0;
return bounds->Length();
}
|