Test for 0022778: Bug in BRepMesh
[occt.git] / src / TopOpeBRepBuild / TopOpeBRepBuild_GTopo.cdl
1 -- Created on: 1996-02-13
2 -- Created by: Jean Yves LEBEY
3 -- Copyright (c) 1996-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
21
22 class GTopo from TopOpeBRepBuild
23
24 uses
25
26     ShapeEnum from TopAbs,
27     State from TopAbs,
28     Config from TopOpeBRepDS
29
30 is
31
32   Create returns GTopo;
33
34   Create(II,IN,IO,NI,NN,NO,OI,ON,OO : Integer;
35          t1,t2 : ShapeEnum from TopAbs;
36          C1,C2 : Config from TopOpeBRepDS) returns GTopo;
37
38   Reset(me : in out) is static;
39   Set(me : in out; II,IN,IO,NI,NN,NO,OI,ON,OO : Boolean) is static;
40   
41   Type(me; t1,t2 : out ShapeEnum from TopAbs) is static;
42   ChangeType(me : in out; t1,t2 : ShapeEnum from TopAbs) is static;
43
44   Config1(me) returns Config from TopOpeBRepDS is static;
45   Config2(me) returns Config from TopOpeBRepDS is static;
46   ChangeConfig(me : in out; C1,C2 : Config from TopOpeBRepDS) is static;
47
48   Value(me; s1,s2 : State from TopAbs) returns Boolean is static;
49   Value(me; I1,I2 : Integer) returns Boolean is static;
50   Value(me; II : Integer) returns Boolean is static;
51   ChangeValue(me : in out; i1,i2 : Integer; b : Boolean) is static;
52   ChangeValue(me : in out; s1,s2 : State from TopAbs; b : Boolean) is static;
53   GIndex(me; S : State from TopAbs) returns Integer is static;
54   GState(me; I : Integer) returns State from TopAbs is static;
55   Index(me; II : Integer; i1,i2 : in out Integer) is static;
56
57   DumpVal(me; OS : in out OStream; s1,s2 : State from TopAbs) is static;
58   DumpType(me; OS : in out OStream) is static;
59   DumpSSB(myclass; OS : in out OStream; s1,s2:State from TopAbs; b : Boolean);
60   Dump(me; OS : in out OStream; s : Address = NULL) is virtual;
61                 
62   StatesON(me; s1,s2 : out State from TopAbs) is static;
63   IsToReverse1(me) returns Boolean is static;
64   IsToReverse2(me) returns Boolean is static;
65
66   SetReverse(me : in out; rev : Boolean) is static;
67   Reverse(me) returns Boolean is static;
68
69   CopyPermuted(me) returns GTopo is static;
70   
71 fields
72   
73   mycases : Boolean from Standard[3,3]; 
74   --     IN ON OUT
75   -- IN  ii in io
76   -- ON  ni nn no
77   -- OUT oi on oo
78   myt1,myt2 : ShapeEnum from TopAbs;
79   myConfig1,myConfig2 : Config from TopOpeBRepDS;
80   myReverseForce : Boolean;
81   myReverseValue : Boolean;
82   
83 end GTopo;
84