1 -- File: DrawTrSurf_Polygon3D.cdl
2 -- Created: Thu Mar 9 17:00:59 1995
3 -- Author: Laurent PAINNOT
5 ---Copyright: Matra Datavision 1995
8 class Polygon3D from DrawTrSurf inherits Drawable3D from Draw
10 ---Purpose: Used to display a 3d polygon.
12 -- Optional display of nodes.
15 uses Polygon3D from Poly,
17 Interpretor from Draw,
22 Create(P: Polygon3D from Poly)
23 returns mutable Polygon3D from DrawTrSurf;
25 Polygon3D(me) returns Polygon3D from Poly;
27 ShowNodes(me: mutable; B: Boolean);
29 ShowNodes(me) returns Boolean;
31 DrawOn(me; dis: in out Display);
33 Copy(me) returns mutable Drawable3D from Draw
35 ---Purpose: For variable copy.
38 Dump(me; S : in out OStream)
40 ---Purpose: For variable dump.
42 Whatis(me; I : in out Interpretor from Draw)
44 ---Purpose: For variable whatis command. Set as a result the
45 -- type of the variable.
50 myPolygon3D: Polygon3D from Poly;