blob: 44ca0b29bd4026a716eaddeb9605e2cac27e74a2 (
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
// File: StepDimTol_GeometricTolerance.cxx
// Created: Wed Jun 4 13:34:35 2003
// Author: Galina KULIKOVA
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright: Open CASCADE 2002
#include <StepDimTol_GeometricTolerance.ixx>
//=======================================================================
//function : StepDimTol_GeometricTolerance
//purpose :
//=======================================================================
StepDimTol_GeometricTolerance::StepDimTol_GeometricTolerance ()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aName,
const Handle(TCollection_HAsciiString) &aDescription,
const Handle(StepBasic_MeasureWithUnit) &aMagnitude,
const Handle(StepRepr_ShapeAspect) &aTolerancedShapeAspect)
{
theName = aName;
theDescription = aDescription;
theMagnitude = aMagnitude;
theTolerancedShapeAspect = aTolerancedShapeAspect;
}
//=======================================================================
//function : Name
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Name () const
{
return theName;
}
//=======================================================================
//function : SetName
//purpose :
//=======================================================================
void StepDimTol_GeometricTolerance::SetName (const Handle(TCollection_HAsciiString) &aName)
{
theName = aName;
}
//=======================================================================
//function : Description
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Description () const
{
return theDescription;
}
//=======================================================================
//function : SetDescription
//purpose :
//=======================================================================
void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
{
theDescription = aDescription;
}
//=======================================================================
//function : Magnitude
//purpose :
//=======================================================================
Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () const
{
return theMagnitude;
}
//=======================================================================
//function : SetMagnitude
//purpose :
//=======================================================================
void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &aMagnitude)
{
theMagnitude = aMagnitude;
}
//=======================================================================
//function : TolerancedShapeAspect
//purpose :
//=======================================================================
Handle(StepRepr_ShapeAspect) StepDimTol_GeometricTolerance::TolerancedShapeAspect () const
{
return theTolerancedShapeAspect;
}
//=======================================================================
//function : SetTolerancedShapeAspect
//purpose :
//=======================================================================
void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const Handle(StepRepr_ShapeAspect) &aTolerancedShapeAspect)
{
theTolerancedShapeAspect = aTolerancedShapeAspect;
}
|