blob: 11bf89cc3cfb50db3b0e2158eebecea5c94ba4cf (
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
|
-- File: XCAFDoc_DimTol.cdl
-- Created: Fri Jan 9 14:24:20 2004
-- Author: Sergey KUUL
-- <skl@petrox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2004
class DimTol from XCAFDoc inherits Attribute from TDF
---Purpose:
uses
Label from TDF,
RelocationTable from TDF,
HArray1OfReal from TColStd,
HAsciiString from TCollection
is
Create returns DimTol from XCAFDoc;
---Category: class methods
-- =============
GetID (myclass)
---C++: return const &
returns GUID from Standard;
Set (myclass; label : Label from TDF; kind : Integer from Standard;
aVal : HArray1OfReal from TColStd;
aName : HAsciiString from TCollection;
aDescription : HAsciiString from TCollection)
returns DimTol from XCAFDoc;
Set (me : mutable; kind : Integer from Standard;
aVal : HArray1OfReal from TColStd;
aName : HAsciiString from TCollection;
aDescription : HAsciiString from TCollection);
GetKind (me) returns Integer from Standard;
GetVal (me) returns HArray1OfReal from TColStd;
GetName (me) returns HAsciiString from TCollection;
GetDescription (me) returns HAsciiString from TCollection;
ID (me)
---C++: return const &
returns GUID from Standard;
Restore (me: mutable; With : Attribute from TDF);
NewEmpty (me)
returns mutable Attribute from TDF;
Paste (me; Into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
fields
myKind : Integer from Standard;
myVal : HArray1OfReal from TColStd;
myName : HAsciiString from TCollection;
myDescription : HAsciiString from TCollection;
-- Table of kinds:
-- dimensions:
-- 1 - diameter
--
-- tolerances with datum references:
-- 21 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->MaximumMaterialCondition)
-- 22 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->LeastMaterialCondition)
-- 23 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->RegardlessOfFeatureSize)
-- 24 - AngularityTolerance
-- 25 - CircularRunoutTolerance
-- 26 - CoaxialityTolerance
-- 27 - ConcentricityTolerance
-- 28 - ParallelismTolerance
-- 29 - PerpendicularityTolerance
-- 30 - SymmetryTolerance
-- 31 - TotalRunoutTolerance
-- tolerances without datum references:
-- 35 - ModifiedGeometricTolerance (MaximumMaterialCondition)
-- 36 - ModifiedGeometricTolerance (LeastMaterialCondition)
-- 37 - ModifiedGeometricTolerance (RegardlessOfFeatureSize)
-- 38 - CylindricityTolerance
-- 39 - FlatnessTolerance
-- 40 - LineProfileTolerance
-- 41 - PositionTolerance
-- 42 - RoundnessTolerance
-- 43 - StraightnessTolerance
-- 44 - SurfaceProfileTolerance
end DimTol;
|