blob: 8c1bb35d526268fb36c04035791863a7b21a15f9 (
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
|
-- File: Shell.cdl
-- Created: Fri Dec 1 11:11:11 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class Shell from StepShape inherits SelectType from StepData
-- <Shell> is an EXPRESS Select Type construct translation.
-- it gathers : OpenShell, ClosedShell
uses
OpenShell,
ClosedShell
is
Create returns Shell;
---Purpose : Returns a Shell SelectType
CaseNum (me; ent : Transient) returns Integer;
---Purpose: Recognizes a Shell Kind Entity that is :
-- 1 -> OpenShell
-- 2 -> ClosedShell
-- 0 else
OpenShell (me) returns any OpenShell;
---Purpose : returns Value as a OpenShell (Null if another type)
ClosedShell (me) returns any ClosedShell;
---Purpose : returns Value as a ClosedShell (Null if another type)
end Shell;
|