blob: 040fcdb1c0907a4f7f6be7e14af150ae7526f190 (
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
|
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.ixx>
//=======================================================================
//function : StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol
//purpose :
//=======================================================================
StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
(const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
{
SetName(aName);
SetDescription(aDescription);
SetMagnitude(aMagnitude);
SetTolerancedShapeAspect(aTolerancedShapeAspect);
myGeometricToleranceWithDatumReference = aGTWDR;
myModifiedGeometricTolerance = aMGT;
}
//=======================================================================
//function : SetGeometricToleranceWithDatumReference
//purpose :
//=======================================================================
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetGeometricToleranceWithDatumReference
(const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR)
{
myGeometricToleranceWithDatumReference = aGTWDR;
}
//=======================================================================
//function : GetGeometricToleranceWithDatumReference
//purpose :
//=======================================================================
Handle(StepDimTol_GeometricToleranceWithDatumReference) StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::GetGeometricToleranceWithDatumReference() const
{
return myGeometricToleranceWithDatumReference;
}
//=======================================================================
//function : SetModifiedGeometricTolerance
//purpose :
//=======================================================================
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetModifiedGeometricTolerance
(const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
{
myModifiedGeometricTolerance = aMGT;
}
//=======================================================================
//function : GetModifiedGeometricTolerance
//purpose :
//=======================================================================
Handle(StepDimTol_ModifiedGeometricTolerance) StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::GetModifiedGeometricTolerance() const
{
return myModifiedGeometricTolerance;
}
//=======================================================================
//function : SetPositionTolerance
//purpose :
//=======================================================================
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetPositionTolerance
(const Handle(StepDimTol_PositionTolerance)& aPT)
{
myPositionTolerance = aPT;
}
//=======================================================================
//function : GetPositionTolerance
//purpose :
//=======================================================================
Handle(StepDimTol_PositionTolerance) StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::GetPositionTolerance() const
{
return myPositionTolerance;
}
|