Test for 0022778: Bug in BRepMesh
[occt.git] / src / StepDimTol / StepDimTol_GeometricTolerance.cdl
1 -- Created on: 2003-06-04
2 -- Created by: Galina KULIKOVA
3 -- Copyright (c) 2003-2012 OPEN CASCADE SAS
4 --
5 -- The content of this file is subject to the Open CASCADE Technology Public
6 -- License Version 6.5 (the "License"). You may not use the content of this file
7 -- except in compliance with the License. Please obtain a copy of the License
8 -- at http://www.opencascade.org and read it completely before using this file.
9 --
10 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12 --
13 -- The Original Code and all software distributed under the License is
14 -- distributed on an "AS IS" basis, without warranty of any kind, and the
15 -- Initial Developer hereby disclaims all such warranties, including without
16 -- limitation, any warranties of merchantability, fitness for a particular
17 -- purpose or non-infringement. Please see the License for the specific terms
18 -- and conditions governing the rights and limitations under the License.
19
20 -- Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
21
22 class GeometricTolerance from StepDimTol
23 inherits TShared from MMgt
24
25     ---Purpose: Representation of STEP entity GeometricTolerance
26
27 uses
28     HAsciiString from TCollection,
29     MeasureWithUnit from StepBasic,
30     ShapeAspect from StepRepr
31
32 is
33     Create returns GeometricTolerance from StepDimTol;
34         ---Purpose: Empty constructor
35
36     Init (me: mutable; aName: HAsciiString from TCollection;
37                        aDescription: HAsciiString from TCollection;
38                        aMagnitude: MeasureWithUnit from StepBasic;
39                        aTolerancedShapeAspect: ShapeAspect from StepRepr);
40         ---Purpose: Initialize all fields (own and inherited)
41
42     Name (me) returns HAsciiString from TCollection;
43         ---Purpose: Returns field Name
44     SetName (me: mutable; Name: HAsciiString from TCollection);
45         ---Purpose: Set field Name
46
47     Description (me) returns HAsciiString from TCollection;
48         ---Purpose: Returns field Description
49     SetDescription (me: mutable; Description: HAsciiString from TCollection);
50         ---Purpose: Set field Description
51
52     Magnitude (me) returns MeasureWithUnit from StepBasic;
53         ---Purpose: Returns field Magnitude
54     SetMagnitude (me: mutable; Magnitude: MeasureWithUnit from StepBasic);
55         ---Purpose: Set field Magnitude
56
57     TolerancedShapeAspect (me) returns ShapeAspect from StepRepr;
58         ---Purpose: Returns field TolerancedShapeAspect
59     SetTolerancedShapeAspect (me: mutable; TolerancedShapeAspect: ShapeAspect from StepRepr);
60         ---Purpose: Set field TolerancedShapeAspect
61
62 fields
63     theName: HAsciiString from TCollection;
64     theDescription: HAsciiString from TCollection;
65     theMagnitude: MeasureWithUnit from StepBasic;
66     theTolerancedShapeAspect: ShapeAspect from StepRepr;
67
68 end GeometricTolerance;