blob: 67f9ac7682f31cc83d7641748e697498fbbf1e36 (
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
|
#include <StepShape_GeometricSet.ixx>
StepShape_GeometricSet::StepShape_GeometricSet () {}
void StepShape_GeometricSet::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepShape_GeometricSet::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepShape_HArray1OfGeometricSetSelect)& aElements)
{
// --- classe own fields ---
elements = aElements;
// --- classe inherited fields ---
StepRepr_RepresentationItem::Init(aName);
}
void StepShape_GeometricSet::SetElements(const Handle(StepShape_HArray1OfGeometricSetSelect)& aElements)
{
elements = aElements;
}
Handle(StepShape_HArray1OfGeometricSetSelect) StepShape_GeometricSet::Elements() const
{
return elements;
}
StepShape_GeometricSetSelect StepShape_GeometricSet::ElementsValue(const Standard_Integer num) const
{
return elements->Value(num);
}
Standard_Integer StepShape_GeometricSet::NbElements () const
{
return elements->Length();
}
|