b311480e |
1 | -- Created on: 2003-06-04 |
2 | -- Created by: Galina KULIKOVA |
973c2be1 |
3 | -- Copyright (c) 2003-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | -- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
7fd59977 |
17 | |
18 | class ShapeToleranceSelect from StepDimTol |
19 | inherits SelectType from StepData |
20 | |
21 | ---Purpose: Representation of STEP SELECT type ShapeToleranceSelect |
22 | |
23 | uses |
24 | GeometricTolerance from StepDimTol, |
25 | PlusMinusTolerance from StepShape |
26 | |
27 | is |
28 | Create returns ShapeToleranceSelect from StepDimTol; |
29 | ---Purpose: Empty constructor |
30 | |
31 | CaseNum (me; ent: Transient) returns Integer; |
32 | ---Purpose: Recognizes a kind of ShapeToleranceSelect select type |
33 | -- 1 -> GeometricTolerance from StepDimTol |
34 | -- 2 -> PlusMinusTolerance from StepShape |
35 | -- 0 else |
36 | |
37 | GeometricTolerance (me) returns GeometricTolerance from StepDimTol; |
38 | ---Purpose: Returns Value as GeometricTolerance (or Null if another type) |
39 | |
40 | PlusMinusTolerance (me) returns PlusMinusTolerance from StepShape; |
41 | ---Purpose: Returns Value as PlusMinusTolerance (or Null if another type) |
42 | |
43 | end ShapeToleranceSelect; |