0023024: Update headers of OCCT files
[occt.git] / src / BOPTest / BOPTest_DrawableShape.cdl
CommitLineData
b311480e 1-- Created on: 2000-05-25
2-- Created by: Peter KURNEV
3-- Copyright (c) 2000-2012 OPEN CASCADE SAS
4--
5-- The content of this file is subject to the Open CASCADE Technology Public
6-- License Version 6.5 (the "License"). You may not use the content of this file
7-- except in compliance with the License. Please obtain a copy of the License
8-- at http://www.opencascade.org and read it completely before using this file.
9--
10-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12--
13-- The Original Code and all software distributed under the License is
14-- distributed on an "AS IS" basis, without warranty of any kind, and the
15-- Initial Developer hereby disclaims all such warranties, including without
16-- limitation, any warranties of merchantability, fitness for a particular
17-- purpose or non-infringement. Please see the License for the specific terms
18-- and conditions governing the rights and limitations under the License.
19
7fd59977 20
21
22class DrawableShape from BOPTest inherits DrawableShape from DBRep
23
24 ---Purpose:
25
26uses
27
28 Shape from TopoDS,
29 Color from Draw,
30 Display from Draw,
31 Text3D from Draw,
32 Marker3D from Draw,
33 CString from Standard,
34 Pnt from gp
35
36is
37
38 Create (S : Shape from TopoDS;
39 FreeCol : Color from Draw; -- color for free edges
40 ConnCol : Color from Draw; -- color for shared edges
41 EdgeCol : Color from Draw; -- color for other edges
42 IsosCol : Color from Draw; -- color for Isos
43 size : Real; -- size for infinite isos
44 nbisos : Integer; -- # of isos on each face
45 discret : Integer; -- # of points on curves
46 Text : CString from Standard;
47 TextColor : Color from Draw
48 )
49 returns mutable DrawableShape from BOPTest;
50
51 Create (S : Shape from TopoDS;
52 Text : CString from Standard;
53 TextColor : Color from Draw
54 )
55 returns mutable DrawableShape from BOPTest;
56
57 Pnt(me) returns Pnt from gp is private;
58
59 DrawOn(me; dis : in out Display from Draw)
60 is redefined;
61
62fields
63
64 myText : Text3D from Draw;
65 myTextColor : Color from Draw;
66
67end DrawableShape;