0022627: Change OCCT memory management defaults
[occt.git] / src / DrawTrSurf / DrawTrSurf_Point.cdl
CommitLineData
7fd59977 1-- File: DrawTrSurf_Point.cdl
2-- Created: Mon Mar 28 15:49:05 1994
3-- Author: Remi LEQUETTE
4-- <rle@zerox>
5---Copyright: Matra Datavision 1994
6
7
8
9class Point from DrawTrSurf inherits Drawable3D from Draw
10
11 ---Purpose: A drawable point.
12
13uses
14 Pnt from gp,
15 Pnt2d from gp,
16 MarkerShape from Draw,
17 Color from Draw,
18 Display from Draw,
19 Drawable3D from Draw,
20 Interpretor from Draw
21
22is
23
24 Create( P : Pnt from gp;
25 Shape : MarkerShape from Draw;
26 Col : Color from Draw)
27 returns mutable Point from DrawTrSurf;
28
29 Create( P : Pnt2d from gp;
30 Shape : MarkerShape from Draw;
31 Col : Color from Draw)
32 returns mutable Point from DrawTrSurf;
33
34 DrawOn (me; dis : in out Display from Draw);
35
36 Is3D(me) returns Boolean
37 ---Purpose: Is a 3D object. (Default True).
38 is redefined;
39
40 Point(me) returns Pnt from gp
41 is static;
42
43 Point(me : mutable; P : Pnt from gp)
44 is static;
45
46 Point2d(me) returns Pnt2d from gp
47 is static;
48
49 Point2d(me : mutable; P : Pnt2d from gp)
50 is static;
51
52 Color(me : mutable; aColor : Color from Draw)
53 is static;
54
55 Color (me) returns Color from Draw
56 is static;
57
58 Shape(me : mutable; S : MarkerShape from Draw)
59 is static;
60
61 Shape(me) returns MarkerShape from Draw
62 is static;
63
64 Copy(me) returns mutable Drawable3D from Draw
65 ---Purpose: For variable copy.
66 is redefined;
67
68 Dump(me; S : in out OStream)
69 ---Purpose: For variable dump.
70 is redefined;
71
72 Whatis(me; I : in out Interpretor from Draw)
73 ---Purpose: For variable whatis command.
74 is redefined;
75
76fields
77
78 myPoint : Pnt from gp;
79 is3D : Boolean;
80 myShape : MarkerShape from Draw;
81 myColor : Color from Draw;
82
83end Point;
84
85