0025765: Coding rules - clean up code from obsolete macro checks
[occt.git] / src / V3d / V3d_RectangularGrid.cdl
CommitLineData
b311480e 1-- Created on: 1998-07-16
2-- Created by: CAL
3-- Copyright (c) 1998-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
7fd59977 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
7fd59977 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
b311480e 16
7fd59977 17private class RectangularGrid from V3d inherits RectangularGrid from Aspect
18
19uses
20 Ax3 from gp,
21 Color from Quantity,
22 Group from Graphic3d,
23 Structure from Graphic3d,
24 GridDrawMode from Aspect,
25 ViewerPointer from V3d
26
27is
28 Create ( aViewer : ViewerPointer from V3d;
29 aColor : Color from Quantity;
30 aTenthColor : Color from Quantity )
6e33d3ce 31 returns RectangularGrid from V3d;
7fd59977 32
33 SetColors ( me : mutable;
34 aColor : Color from Quantity;
35 aTenthColor : Color from Quantity )
36 is redefined static;
37
38 Display ( me : mutable )
39 is redefined static;
40
41 Erase ( me )
42 is redefined static;
43
44 IsDisplayed ( me )
45 returns Boolean from Standard
46 is redefined static;
47
48 GraphicValues ( me;
49 XSize, YSize : out Real from Standard;
50 OffSet : out Real from Standard )
51 is static;
52
53 SetGraphicValues ( me : mutable;
54 XSize, YSize : Real from Standard;
55 OffSet : Real from Standard )
56 is static;
57
58 DefineLines ( me : mutable )
59 is static private;
60
61 DefinePoints ( me : mutable )
62 is static private;
63
64 UpdateDisplay ( me : mutable )
65 is redefined static protected;
66
67fields
68 myStructure : Structure from Graphic3d;
b8ddfc2f 69 myGroup : Group from Graphic3d;
70 myCurViewPlane : Ax3 from gp;
7fd59977 71 myViewer : ViewerPointer from V3d;
b8ddfc2f 72 myCurAreDefined : Boolean from Standard;
73 myCurDrawMode : GridDrawMode from Aspect;
7fd59977 74 myCurXo, myCurYo : Real from Standard;
75 myCurAngle : Real from Standard;
76 myCurXStep, myCurYStep : Real from Standard;
77 myXSize, myYSize : Real from Standard;
78 myOffSet : Real from Standard;
79
7fd59977 80end RectangularGrid from V3d;