0024157: Parallelization of assembly part of BO
[occt.git] / src / DrawTrSurf / DrawTrSurf_Point.cdl
CommitLineData
b311480e 1-- Created on: 1994-03-28
2-- Created by: Remi LEQUETTE
3-- Copyright (c) 1994-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23
24class Point from DrawTrSurf inherits Drawable3D from Draw
25
26 ---Purpose: A drawable point.
27
28uses
29 Pnt from gp,
30 Pnt2d from gp,
31 MarkerShape from Draw,
32 Color from Draw,
33 Display from Draw,
34 Drawable3D from Draw,
35 Interpretor from Draw
36
37is
38
39 Create( P : Pnt from gp;
40 Shape : MarkerShape from Draw;
41 Col : Color from Draw)
42 returns mutable Point from DrawTrSurf;
43
44 Create( P : Pnt2d from gp;
45 Shape : MarkerShape from Draw;
46 Col : Color from Draw)
47 returns mutable Point from DrawTrSurf;
48
49 DrawOn (me; dis : in out Display from Draw);
50
51 Is3D(me) returns Boolean
52 ---Purpose: Is a 3D object. (Default True).
53 is redefined;
54
55 Point(me) returns Pnt from gp
56 is static;
57
58 Point(me : mutable; P : Pnt from gp)
59 is static;
60
61 Point2d(me) returns Pnt2d from gp
62 is static;
63
64 Point2d(me : mutable; P : Pnt2d from gp)
65 is static;
66
67 Color(me : mutable; aColor : Color from Draw)
68 is static;
69
70 Color (me) returns Color from Draw
71 is static;
72
73 Shape(me : mutable; S : MarkerShape from Draw)
74 is static;
75
76 Shape(me) returns MarkerShape from Draw
77 is static;
78
79 Copy(me) returns mutable Drawable3D from Draw
80 ---Purpose: For variable copy.
81 is redefined;
82
83 Dump(me; S : in out OStream)
84 ---Purpose: For variable dump.
85 is redefined;
86
87 Whatis(me; I : in out Interpretor from Draw)
88 ---Purpose: For variable whatis command.
89 is redefined;
90
91fields
92
93 myPoint : Pnt from gp;
94 is3D : Boolean;
95 myShape : MarkerShape from Draw;
96 myColor : Color from Draw;
97
98end Point;
99
100