7fd59977 |
1 | -- File: XCAFDoc_DimTol.cdl |
2 | -- Created: Fri Jan 9 14:24:20 2004 |
3 | -- Author: Sergey KUUL |
4 | -- <skl@petrox.nnov.matra-dtv.fr> |
5 | ---Copyright: Matra Datavision 2004 |
6 | |
7 | class DimTol from XCAFDoc inherits Attribute from TDF |
8 | |
9 | ---Purpose: |
10 | |
11 | uses |
12 | Label from TDF, |
13 | RelocationTable from TDF, |
14 | HArray1OfReal from TColStd, |
15 | HAsciiString from TCollection |
16 | |
17 | is |
18 | Create returns DimTol from XCAFDoc; |
19 | |
20 | ---Category: class methods |
21 | -- ============= |
22 | |
23 | GetID (myclass) |
24 | ---C++: return const & |
25 | returns GUID from Standard; |
26 | |
27 | Set (myclass; label : Label from TDF; kind : Integer from Standard; |
28 | aVal : HArray1OfReal from TColStd; |
29 | aName : HAsciiString from TCollection; |
30 | aDescription : HAsciiString from TCollection) |
31 | returns DimTol from XCAFDoc; |
32 | |
33 | Set (me : mutable; kind : Integer from Standard; |
34 | aVal : HArray1OfReal from TColStd; |
35 | aName : HAsciiString from TCollection; |
36 | aDescription : HAsciiString from TCollection); |
37 | |
38 | GetKind (me) returns Integer from Standard; |
39 | |
40 | GetVal (me) returns HArray1OfReal from TColStd; |
41 | |
42 | GetName (me) returns HAsciiString from TCollection; |
43 | |
44 | GetDescription (me) returns HAsciiString from TCollection; |
45 | |
46 | ID (me) |
47 | ---C++: return const & |
48 | returns GUID from Standard; |
49 | |
50 | Restore (me: mutable; With : Attribute from TDF); |
51 | |
52 | NewEmpty (me) |
53 | returns mutable Attribute from TDF; |
54 | |
55 | Paste (me; Into : mutable Attribute from TDF; |
56 | RT : mutable RelocationTable from TDF); |
57 | |
58 | fields |
59 | myKind : Integer from Standard; |
60 | myVal : HArray1OfReal from TColStd; |
61 | myName : HAsciiString from TCollection; |
62 | myDescription : HAsciiString from TCollection; |
63 | -- Table of kinds: |
64 | -- dimensions: |
65 | -- 1 - diameter |
66 | -- |
67 | -- tolerances with datum references: |
68 | -- 21 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->MaximumMaterialCondition) |
69 | -- 22 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->LeastMaterialCondition) |
70 | -- 23 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->RegardlessOfFeatureSize) |
71 | -- 24 - AngularityTolerance |
72 | -- 25 - CircularRunoutTolerance |
73 | -- 26 - CoaxialityTolerance |
74 | -- 27 - ConcentricityTolerance |
75 | -- 28 - ParallelismTolerance |
76 | -- 29 - PerpendicularityTolerance |
77 | -- 30 - SymmetryTolerance |
78 | -- 31 - TotalRunoutTolerance |
79 | -- tolerances without datum references: |
80 | -- 35 - ModifiedGeometricTolerance (MaximumMaterialCondition) |
81 | -- 36 - ModifiedGeometricTolerance (LeastMaterialCondition) |
82 | -- 37 - ModifiedGeometricTolerance (RegardlessOfFeatureSize) |
83 | -- 38 - CylindricityTolerance |
84 | -- 39 - FlatnessTolerance |
85 | -- 40 - LineProfileTolerance |
86 | -- 41 - PositionTolerance |
87 | -- 42 - RoundnessTolerance |
88 | -- 43 - StraightnessTolerance |
89 | -- 44 - SurfaceProfileTolerance |
90 | |
91 | end DimTol; |