summaryrefslogtreecommitdiff
path: root/src/StepElement/StepElement_Surface3dElementDescriptor.cxx
blob: 7eb6a879db9768bfc86273d476584e2f6b7fcc0c (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// File:	StepElement_Surface3dElementDescriptor.cxx
// Created:	Thu Dec 12 17:29:04 2002 
// Author:	data exchange team
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepElement_Surface3dElementDescriptor.ixx>

//=======================================================================
//function : StepElement_Surface3dElementDescriptor
//purpose  : 
//=======================================================================

StepElement_Surface3dElementDescriptor::StepElement_Surface3dElementDescriptor ()
{
}

//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

void StepElement_Surface3dElementDescriptor::Init (const StepElement_ElementOrder aElementDescriptor_TopologyOrder,
                                                   const Handle(TCollection_HAsciiString) &aElementDescriptor_Description,
                                                   const Handle(StepElement_HArray1OfHSequenceOfSurfaceElementPurposeMember) &aPurpose,
                                                   const StepElement_Element2dShape aShape)
{
  StepElement_ElementDescriptor::Init(aElementDescriptor_TopologyOrder,
                                      aElementDescriptor_Description);

  thePurpose = aPurpose;

  theShape = aShape;
}

//=======================================================================
//function : Purpose
//purpose  : 
//=======================================================================

Handle(StepElement_HArray1OfHSequenceOfSurfaceElementPurposeMember) StepElement_Surface3dElementDescriptor::Purpose () const
{
  return thePurpose;
}

//=======================================================================
//function : SetPurpose
//purpose  : 
//=======================================================================

void StepElement_Surface3dElementDescriptor::SetPurpose (const Handle(StepElement_HArray1OfHSequenceOfSurfaceElementPurposeMember) &aPurpose)
{
  thePurpose = aPurpose;
}

//=======================================================================
//function : Shape
//purpose  : 
//=======================================================================

StepElement_Element2dShape StepElement_Surface3dElementDescriptor::Shape () const
{
  return theShape;
}

//=======================================================================
//function : SetShape
//purpose  : 
//=======================================================================

void StepElement_Surface3dElementDescriptor::SetShape (const StepElement_Element2dShape aShape)
{
  theShape = aShape;
}