7fd59977 |
1 | -- File: CurveOnSurface.cdl |
2 | -- Created: Fri Dec 1 11:11:10 1995 |
3 | -- Author: EXPRESS->CDL V0.2 Translator |
4 | -- Copyright: Matra-Datavision 1993 |
5 | |
6 | |
7 | |
8 | class CurveOnSurface from StepGeom inherits SelectType from StepData |
9 | |
10 | -- <CurveOnSurface> is an EXPRESS Select Type construct translation. |
11 | -- it gathers : Pcurve, SurfaceCurve, CompositeCurveOnSurface |
12 | |
13 | uses |
14 | |
15 | Pcurve, |
16 | SurfaceCurve, |
17 | CompositeCurveOnSurface |
18 | is |
19 | |
20 | Create returns CurveOnSurface; |
21 | ---Purpose : Returns a CurveOnSurface SelectType |
22 | |
23 | CaseNum (me; ent : Transient) returns Integer; |
24 | ---Purpose: Recognizes a CurveOnSurface Kind Entity that is : |
25 | -- 1 -> Pcurve |
26 | -- 2 -> SurfaceCurve |
27 | -- 3 -> CompositeCurveOnSurface |
28 | -- 0 else |
29 | |
30 | Pcurve (me) returns any Pcurve; |
31 | ---Purpose : returns Value as a Pcurve (Null if another type) |
32 | |
33 | SurfaceCurve (me) returns any SurfaceCurve; |
34 | ---Purpose : returns Value as a SurfaceCurve (Null if another type) |
35 | |
36 | CompositeCurveOnSurface (me) returns any CompositeCurveOnSurface; |
37 | ---Purpose : returns Value as a CompositeCurveOnSurface (Null if another type) |
38 | |
39 | |
40 | end CurveOnSurface; |
41 | |